Revision 58e2f57e
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/term/IDefinedTerm.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
import eu.etaxonomy.cdm.model.media.Media; |
15 | 15 |
|
16 |
public interface IDefinedTerm<T extends IDefinedTerm> extends ISimpleTerm<T>, ILoadableTerm<T> { |
|
17 |
|
|
18 |
|
|
19 |
// public void setKindOf(T kindOf); |
|
20 |
|
|
21 |
|
|
22 |
// public void setGeneralizationOf(Set<T> generalizationOf); |
|
23 |
// |
|
24 |
// public void addGeneralizationOf(T generalization); |
|
25 |
// |
|
26 |
// public void removeGeneralization(T generalization); |
|
16 |
public interface IDefinedTerm<T extends IDefinedTerm> |
|
17 |
extends ISimpleTerm<T>, ILoadableTerm<T> { |
|
27 | 18 |
|
28 | 19 |
/** |
29 | 20 |
* Returns the defined term this term is a part of. |
... | ... | |
34 | 25 |
//Discuss: move to ISimpleTerm |
35 | 26 |
public T getPartOf(); |
36 | 27 |
|
37 |
// public void setPartOf(T partOf); |
|
38 | 28 |
|
39 | 29 |
/** |
40 | 30 |
* Returns all defined terms this term includes. |
... | ... | |
50 | 40 |
*/ |
51 | 41 |
public Set<T> getIncludes(); |
52 | 42 |
|
53 |
// public void setIncludes(Set<T> includes); |
|
54 |
// |
|
55 |
// public void addIncludes(T includes); |
|
56 |
// |
|
57 |
// public void removeIncludes(T includes); |
|
58 |
|
|
59 | 43 |
/** |
60 | 44 |
* Returns the media attached to this {@link IDefinedTerm term} |
61 | 45 |
* @return |
62 | 46 |
*/ |
63 | 47 |
public Set<Media> getMedia(); |
64 | 48 |
|
65 |
// public void setMedia(Set<Media> media); |
|
66 |
// |
|
67 |
// public void addMedia(Media media); |
|
68 |
// |
|
69 |
// public void removeMedia(Media media); |
|
70 |
|
|
71 |
/* (non-Javadoc) |
|
72 |
* @see eu.etaxonomy.cdm.model.common.IDefTerm#getVocabulary() |
|
73 |
*/ |
|
74 |
// public TermVocabulary<T> getVocabulary(); |
|
75 |
|
|
76 |
/* (non-Javadoc) |
|
77 |
* @see eu.etaxonomy.cdm.model.common.IDefTerm#setVocabulary(eu.etaxonomy.cdm.model.common.TermVocabulary) |
|
78 |
*/ |
|
79 |
// public void setVocabulary(TermVocabulary<T> newVocabulary); |
|
80 |
|
|
81 | 49 |
/** |
82 | 50 |
* Returns the label of this term used (and unique) in the term's vocabulary. |
83 | 51 |
* @see #setIdInVocabulary(String) |
Also available in: Unified diff
ref #8162 updates to test data in further metadata