Class Vocabulary
java.lang.Object
ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.VocabularyImmutable
ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.Vocabulary
- All Implemented Interfaces:
IVocabulary,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 class ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.VocabularyImmutable
getCode, getDescription, getTerms, getUrlTemplate, isChosenFromList, isInternalNamespace, isManagedInternallyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.systemsx.cisd.openbis.generic.server.jython.api.v1.IVocabularyImmutable
getCode, getDescription, getTerms, getUrlTemplate, isChosenFromList, isInternalNamespace, isManagedInternally
-
Method Details
-
setDescription
Description copied from interface:IVocabularySets the vocabulary description.- Specified by:
setDescriptionin interfaceIVocabulary
-
setManagedInternally
public void setManagedInternally(boolean isManagedInternally) Description copied from interface:IVocabularySet totrueif the vocabulary is managed internally in openBIS.- Specified by:
setManagedInternallyin interfaceIVocabulary
-
setInternalNamespace
Deprecated.Description copied from interface:IVocabularySet totrueif the vocabulary is in the internal openBIS namespace.- Specified by:
setInternalNamespacein interfaceIVocabulary
-
setChosenFromList
public void setChosenFromList(boolean isChosenFromList) - Specified by:
setChosenFromListin interfaceIVocabulary
-
setUrlTemplate
Description copied from interface:IVocabularySets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.- Specified by:
setUrlTemplatein interfaceIVocabulary
-
addTerm
Description copied from interface:IVocabularyadds a vocabulary term to the dictionary.- Specified by:
addTermin interfaceIVocabulary
-
setManagedInternally(boolean)