Class VocabularyImmutable
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl.VocabularyImmutable
-
- All Implemented Interfaces:
IVocabularyImmutable
- Direct Known Subclasses:
Vocabulary
public class VocabularyImmutable extends java.lang.Object implements IVocabularyImmutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCode()Returns the vocabulary code.java.lang.StringgetDescription()Returns the vocabulary description.java.util.List<IVocabularyTermImmutable>getTerms()Return a list with all terms within the vocabulary.java.lang.StringgetUrlTemplate()Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.booleanisChosenFromList()booleanisInternalNamespace()Deprecated.booleanisManagedInternally()Returntrueif the vocabulary is managed internally in openBIS.
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Description copied from interface:IVocabularyImmutableReturns the vocabulary code.- Specified by:
getCodein interfaceIVocabularyImmutable
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IVocabularyImmutableReturns the vocabulary description.- Specified by:
getDescriptionin interfaceIVocabularyImmutable
-
isManagedInternally
public boolean isManagedInternally()
Description copied from interface:IVocabularyImmutableReturntrueif the vocabulary is managed internally in openBIS.- Specified by:
isManagedInternallyin interfaceIVocabularyImmutable
-
isInternalNamespace
@Deprecated public boolean isInternalNamespace()
Deprecated.Description copied from interface:IVocabularyImmutableReturntrueif the vocabulary is in the internal openBIS namespace.- Specified by:
isInternalNamespacein interfaceIVocabularyImmutable
-
isChosenFromList
public boolean isChosenFromList()
- Specified by:
isChosenFromListin interfaceIVocabularyImmutable
-
getUrlTemplate
public java.lang.String getUrlTemplate()
Description copied from interface:IVocabularyImmutableReturns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms. Can return null.- Specified by:
getUrlTemplatein interfaceIVocabularyImmutable
-
getTerms
public java.util.List<IVocabularyTermImmutable> getTerms()
Description copied from interface:IVocabularyImmutableReturn a list with all terms within the vocabulary.- Specified by:
getTermsin interfaceIVocabularyImmutable
-
-