public interface IDefinedTerm<T extends IDefinedTerm> extends ISimpleTerm<T>, ILoadableTerm<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdInVocabulary()
Returns the label of this term used (and unique) in the term's vocabulary.
|
java.util.Set<T> |
getIncludes()
Returns all defined terms this term includes.
|
java.util.Set<Media> |
getMedia()
Returns the media attached to this
term |
T |
getPartOf()
Returns the defined term this term is a part of.
|
void |
setIdInVocabulary(java.lang.String idInVocabulary)
Sets the label of this term used (and unique) in the term's vocabulary.
|
getGeneralizationOf, getGeneralizationOf, getKindOf, getUuid, isKindOf
readCsvLine, writeCsvLine
T getPartOf()
this
term
Discuss: move to ISimpleTerm
?getIncludes()
java.util.Set<T> getIncludes()
this
term
Discuss: move to ISimpleTerm
?
FIXME getIncludes(): Hibernate returns this as a collection of CGLibProxy$$DefinedTermBase objects
which can't be cast to instances of T - can we explicitly initialize these terms using
Hibernate.initialize() or ( ( PersistentCollection ) proxy ).forceInitialization(),
does this imply a distinct load, and find methods in the dao?getPartOf()
java.lang.String getIdInVocabulary()
setIdInVocabulary(String)
void setIdInVocabulary(java.lang.String idInVocabulary)
idInVocabulary
- getIdInVocabulary()
Copyright © 2007-2019 EDIT. All Rights Reserved.