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
public class Vocabulary extends VocabularyImmutable implements IVocabulary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addTerm(IVocabularyTerm term)
adds a vocabulary term to the dictionary.void
setChosenFromList(boolean isChosenFromList)
void
setDescription(java.lang.String description)
Sets the vocabulary description.void
setInternalNamespace(boolean isInternalNamespace)
Deprecated.void
setManagedInternally(boolean isManagedInternally)
Set totrue
if the vocabulary is managed internally in openBIS.void
setUrlTemplate(java.lang.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, isManagedInternally
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.server.jython.api.v1.IVocabularyImmutable
getCode, getDescription, getTerms, getUrlTemplate, isChosenFromList, isInternalNamespace, isManagedInternally
-
-
-
-
Method Detail
-
setDescription
public void setDescription(java.lang.String description)
Description copied from interface:IVocabulary
Sets the vocabulary description.- Specified by:
setDescription
in interfaceIVocabulary
-
setManagedInternally
public void setManagedInternally(boolean isManagedInternally)
Description copied from interface:IVocabulary
Set totrue
if the vocabulary is managed internally in openBIS.- Specified by:
setManagedInternally
in interfaceIVocabulary
-
setInternalNamespace
@Deprecated public void setInternalNamespace(boolean isInternalNamespace)
Deprecated.Description copied from interface:IVocabulary
Set totrue
if the vocabulary is in the internal openBIS namespace.- Specified by:
setInternalNamespace
in interfaceIVocabulary
-
setChosenFromList
public void setChosenFromList(boolean isChosenFromList)
- Specified by:
setChosenFromList
in interfaceIVocabulary
-
setUrlTemplate
public void setUrlTemplate(java.lang.String urlTemplate)
Description copied from interface:IVocabulary
Sets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.- Specified by:
setUrlTemplate
in interfaceIVocabulary
-
addTerm
public void addTerm(IVocabularyTerm term)
Description copied from interface:IVocabulary
adds a vocabulary term to the dictionary.- Specified by:
addTerm
in interfaceIVocabulary
-
-