Interface IVocabularyImmutable
- All Known Subinterfaces:
IVocabulary
- All Known Implementing Classes:
Vocabulary,VocabularyImmutable
public interface IVocabularyImmutable
Read-only interface to a vocabulary.
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()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.booleanbooleanReturntrueif the vocabulary is in the internal openBIS namespace.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
boolean isInternalNamespace()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.
-