Interface IVocabulary
- All Superinterfaces:
ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
- All Known Implementing Classes:
Vocabulary
public interface IVocabulary
extends ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTerm(IVocabularyTerm term) adds a vocabulary term to the dictionary.voidsetChosenFromList(boolean isChosenFromList) voidsetDescription(String description) Sets the vocabulary description.voidsetInternalNamespace(boolean isInternalNamespace) Deprecated.voidsetManagedInternally(boolean isManagedInternally) Set totrueif the vocabulary is managed internally in openBIS.voidsetUrlTemplate(String urlTemplate) Sets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.Methods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
containsTerm, getCode, getDescription, getTerms, getUrlTemplate, isChosenFromList, isInternalNamespace, isManagedInternally
-
Method Details
-
setDescription
Sets the vocabulary description. -
setManagedInternally
void setManagedInternally(boolean isManagedInternally) Set totrueif the vocabulary is managed internally in openBIS. -
setInternalNamespace
Deprecated.Set totrueif the vocabulary is in the internal openBIS namespace. -
setChosenFromList
void setChosenFromList(boolean isChosenFromList) -
setUrlTemplate
Sets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms. -
addTerm
adds a vocabulary term to the dictionary.
-
setManagedInternally(boolean)