Class NewVocabularyTerm
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.NewVocabularyTerm
-
- All Implemented Interfaces:
java.io.Serializable
@JsonObject("NewVocabularyTerm") public class NewVocabularyTerm extends java.lang.Object implements java.io.Serializable
A value object representing a new vocabulary term to be created by the openBIS backend.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewVocabularyTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
Return the term's code.java.lang.String
getDescription()
Return the term's description.java.lang.String
getLabel()
Return the term's label.java.lang.Long
getPreviousTermOrdinal()
Return the position of predecessor term in the vocabulary.void
setCode(java.lang.String code)
Set the term's code.void
setDescription(java.lang.String description)
Set the term's description.void
setLabel(java.lang.String label)
Set the term's label.void
setPreviousTermOrdinal(java.lang.Long previousTermOrdinal)
Set the position of predecessor term in the vocabulary.java.lang.String
toString()
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Return the term's code.
-
setCode
public void setCode(java.lang.String code)
Set the term's code.
-
getLabel
public java.lang.String getLabel()
Return the term's label.
-
setLabel
public void setLabel(java.lang.String label)
Set the term's label.
-
getDescription
public java.lang.String getDescription()
Return the term's description.
-
setDescription
public void setDescription(java.lang.String description)
Set the term's description.
-
getPreviousTermOrdinal
public java.lang.Long getPreviousTermOrdinal()
Return the position of predecessor term in the vocabulary.
-
setPreviousTermOrdinal
public void setPreviousTermOrdinal(java.lang.Long previousTermOrdinal)
Set the position of predecessor term in the vocabulary.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-