Interface IVocabularyImmutable
-
- All Known Subinterfaces:
IVocabulary
- All Known Implementing Classes:
Vocabulary
,VocabularyImmutable
public interface IVocabularyImmutable
Read-only interface to a vocabulary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsTerm(java.lang.String code)
Check if there is a term with given code in this vocabulary.java.lang.String
getCode()
Returns the vocabulary code.java.lang.String
getDescription()
Returns the vocabulary description.java.util.List<IVocabularyTermImmutable>
getTerms()
Return a list with all terms within the vocabulary.java.lang.String
getUrlTemplate()
Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.boolean
isChosenFromList()
boolean
isInternalNamespace()
Deprecated.boolean
isManagedInternally()
Returntrue
if the vocabulary is managed internally in openBIS.
-
-
-
Method Detail
-
getCode
java.lang.String getCode()
Returns the vocabulary code.
-
getDescription
java.lang.String getDescription()
Returns the vocabulary description.
-
isManagedInternally
boolean isManagedInternally()
Returntrue
if the vocabulary is managed internally in openBIS.
-
isInternalNamespace
@Deprecated boolean isInternalNamespace()
Deprecated.Returntrue
if the vocabulary is in the internal openBIS namespace.
-
isChosenFromList
boolean isChosenFromList()
-
getUrlTemplate
java.lang.String getUrlTemplate()
Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms. Can return null.
-
getTerms
java.util.List<IVocabularyTermImmutable> getTerms()
Return a list with all terms within the vocabulary.
-
containsTerm
boolean containsTerm(java.lang.String code)
Check if there is a term with given code in this vocabulary.
-
-