Project

General

Profile

Revision def33852

IDdef33852007ee96b52b8e15af3b1a0e00b5db216
Parent b72678a6
Child 5ed46cc2

Added by Andreas Müller 12 months ago

ref #6794 add TermCollection and subclasses including TermTree

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/term/TermCollection.java
50 50

  
51 51
    private static final long serialVersionUID = 6102175902060054329L;
52 52

  
53

  
54 53
    @XmlElementWrapper(name = "TermRelations")
55 54
    @XmlElement(name = "TermRelation")
56 55
    @XmlIDREF
......
119 118
        this.termRelations = termRelations;
120 119
    }
121 120

  
122

  
123

  
124 121
}
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/term/TermGraphBase.java
24 24
 */
25 25
@XmlAccessorType(XmlAccessType.FIELD)
26 26
@XmlType(name = "TermGraph", propOrder = {
27

  
28 27
})
29 28
@Entity
30 29
@Audited
......
38 37
    private static final Logger logger = Logger.getLogger(TermGraphBase.class);
39 38

  
40 39

  
41

  
42 40
 // ******************** CONSTRUCTOR *************************************/
43 41

  
44 42
    @Deprecated
......
48 46
        super(termType);
49 47
    }
50 48

  
51

  
52 49
    @Override
53 50
    public Set<REL> getTermRelations() {
54 51
        return super.termRelations();
52

  
55 53
    }
56 54
    /**
57 55
     * For now protected to avoid type checking etc. Might become
......
63 61
        super.termRelations(termRelations);
64 62
    }
65 63

  
66

  
67 64
    public abstract Set<TERM> getDistinctTerms();
68 65
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)