Class 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
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NewVocabularyTerm

        public NewVocabularyTerm()
    • 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 class java.lang.Object