Class VocabularyTerm
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.VocabularyTerm
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ControlledVocabularyPropertyType.VocabularyTerm
@JsonObject("VocabularyTermGeneric") public class VocabularyTerm extends java.lang.Object implements java.io.Serializable
- Since:
IGeneralInformationService
version 1.13- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VocabularyTerm()
VocabularyTerm(java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Long ordinal, java.lang.Boolean isOfficial, EntityRegistrationDetails registrationDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCode()
java.lang.String
getDescription()
java.lang.String
getLabel()
java.lang.Long
getOrdinal()
EntityRegistrationDetails
getRegistrationDetails()
Return the vocabulary term registration details.int
hashCode()
java.lang.Boolean
isOfficial()
java.lang.String
toString()
-
-
-
Constructor Detail
-
VocabularyTerm
public VocabularyTerm(java.lang.String code, java.lang.String label, java.lang.String description, java.lang.Long ordinal, java.lang.Boolean isOfficial, EntityRegistrationDetails registrationDetails)
-
VocabularyTerm
protected VocabularyTerm()
-
-
Method Detail
-
getCode
public java.lang.String getCode()
-
getLabel
public java.lang.String getLabel()
-
getDescription
public java.lang.String getDescription()
-
getOrdinal
public java.lang.Long getOrdinal()
-
isOfficial
public java.lang.Boolean isOfficial()
-
getRegistrationDetails
public EntityRegistrationDetails getRegistrationDetails()
Return the vocabulary term registration details.- Since:
- 1.11
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-