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 void
addTerm(IVocabularyTerm term)
adds a vocabulary term to the dictionary.java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyTermImmutable>
getTerms()
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.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: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
-
getTerms
public java.util.List<ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyTermImmutable> getTerms()
- Specified by:
getTerms
in interfacech.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
- Overrides:
getTerms
in classVocabularyImmutable
-
-