|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Vocabulary
@JsonObject(value="VocabularyGeneric") public class Vocabulary
Immutable value object representing an openBIS vocabulary.
Nested Class Summary | |
---|---|
static class |
Vocabulary.VocabularyInitializer
|
Constructor Summary | |
---|---|
Vocabulary(Vocabulary.VocabularyInitializer initializer)
Creates a new instance with the provided initializer |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCode()
Returns the vocabulary code. |
java.lang.String |
getDescription()
Returns the vocabulary description. |
java.lang.Long |
getId()
Returns the vocabulary id. |
java.util.List<VocabularyTerm> |
getTerms()
Returns the vocabulary terms. |
java.lang.String |
getUrlTemplate()
Returns a URL template (e.g a search query) that can display additional information for concrete vocabulary terms. |
int |
hashCode()
|
boolean |
isChosenFromList()
Return true if the vocabulary was chosen from a list. |
boolean |
isInternalNamespace()
Returns true if the vocabulary is in the internal openBIS namespace. |
boolean |
isManagedInternally()
Returns true if the vocabulary is managed internally. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Vocabulary(Vocabulary.VocabularyInitializer initializer)
java.lang.IllegalArgumentException
- if some of the required information is not provided.Method Detail |
---|
public java.lang.Long getId()
public java.lang.String getCode()
public java.lang.String getDescription()
public boolean isManagedInternally()
true
if the vocabulary is managed internally.
public boolean isInternalNamespace()
true
if the vocabulary is in the internal openBIS namespace.
public boolean isChosenFromList()
true
if the vocabulary was chosen from a list.
public java.lang.String getUrlTemplate()
public java.util.List<VocabularyTerm> getTerms()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |