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.String
getCode()
Returns the vocabulary code.java.lang.String
getDescription()
Returns the vocabulary description.java.util.List<IVocabularyTermImmutable>
getTerms()
Return a list with all terms within the vocabulary.java.lang.String
getUrlTemplate()
Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.boolean
isChosenFromList()
boolean
isInternalNamespace()
Deprecated.boolean
isManagedInternally()
Returntrue
if the vocabulary is managed internally in openBIS.
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Description copied from interface:IVocabularyImmutable
Returns the vocabulary code.- Specified by:
getCode
in interfaceIVocabularyImmutable
-
getDescription
public java.lang.String getDescription()
Description copied from interface:IVocabularyImmutable
Returns the vocabulary description.- Specified by:
getDescription
in interfaceIVocabularyImmutable
-
isManagedInternally
public boolean isManagedInternally()
Description copied from interface:IVocabularyImmutable
Returntrue
if the vocabulary is managed internally in openBIS.- Specified by:
isManagedInternally
in interfaceIVocabularyImmutable
-
isInternalNamespace
@Deprecated public boolean isInternalNamespace()
Deprecated.Description copied from interface:IVocabularyImmutable
Returntrue
if the vocabulary is in the internal openBIS namespace.- Specified by:
isInternalNamespace
in interfaceIVocabularyImmutable
-
isChosenFromList
public boolean isChosenFromList()
- Specified by:
isChosenFromList
in interfaceIVocabularyImmutable
-
getUrlTemplate
public java.lang.String getUrlTemplate()
Description copied from interface:IVocabularyImmutable
Returns a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms. Can return null.- Specified by:
getUrlTemplate
in interfaceIVocabularyImmutable
-
getTerms
public java.util.List<IVocabularyTermImmutable> getTerms()
Description copied from interface:IVocabularyImmutable
Return a list with all terms within the vocabulary.- Specified by:
getTerms
in interfaceIVocabularyImmutable
-
-