Class Vocabulary
- java.lang.Object
-
- ch.systemsx.cisd.etlserver.registrator.api.v2.impl.VocabularyImmutable
-
- ch.systemsx.cisd.etlserver.registrator.api.v2.impl.Vocabulary
-
- All Implemented Interfaces:
IVocabulary,ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
public class Vocabulary extends VocabularyImmutable implements IVocabulary
-
-
Constructor Summary
Constructors Constructor Description Vocabulary(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Vocabulary vocabulary)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddTerm(IVocabularyTerm term)adds a vocabulary term to the dictionary.java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyTermImmutable>getTerms()voidsetChosenFromList(boolean isChosenFromList)voidsetDescription(java.lang.String description)Sets the vocabulary description.voidsetInternalNamespace(boolean isInternalNamespace)Deprecated.voidsetManagedInternally(boolean isManagedInternally)Set totrueif the vocabulary is managed internally in openBIS.voidsetUrlTemplate(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.etlserver.registrator.api.v2.impl.VocabularyImmutable
containsTerm, getCode, getDescription, getUrlTemplate, getVocabulary, isChosenFromList, isInternalNamespace, isManagedInternally
-
-
-
-
Method Detail
-
setDescription
public void setDescription(java.lang.String description)
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 public void setInternalNamespace(boolean isInternalNamespace)
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
public void setUrlTemplate(java.lang.String urlTemplate)
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
public void addTerm(IVocabularyTerm term)
Description copied from interface:IVocabularyadds a vocabulary term to the dictionary.- Specified by:
addTermin interfaceIVocabulary
-
getTerms
public java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyTermImmutable> getTerms()
- Specified by:
getTermsin interfacech.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable- Overrides:
getTermsin classVocabularyImmutable
-
-