Interface IVocabularyImmutable
public interface IVocabularyImmutable
Read-only interface to a vocabulary.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTerm(String code) Check if there is a term with given code in this vocabulary.getCode()Returns the vocabulary code.Returns the vocabulary description.getTerms()Return a list with all terms within the vocabulary.Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.booleanbooleanDeprecated.booleanReturntrueif the vocabulary is managed internally in openBIS.
-
Method Details
-
getCode
String getCode()Returns the vocabulary code. -
getDescription
String getDescription()Returns the vocabulary description. -
isManagedInternally
boolean isManagedInternally()Returntrueif the vocabulary is managed internally in openBIS. -
isInternalNamespace
Deprecated.Returntrueif the vocabulary is in the internal openBIS namespace. -
isChosenFromList
boolean isChosenFromList() -
getUrlTemplate
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
List<IVocabularyTermImmutable> getTerms()Return a list with all terms within the vocabulary. -
containsTerm
Check if there is a term with given code in this vocabulary.
-
isManagedInternally()