Class Representative

java.lang.Object
dev.vality.damsel.domain.Representative
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Representative>, org.apache.thrift.TBase<Representative,Representative._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class Representative extends Object implements org.apache.thrift.TBase<Representative,Representative._Fields>, Serializable, Cloneable, Comparable<Representative>
See Also:
  • Field Details

  • Constructor Details

    • Representative

      public Representative()
    • Representative

      public Representative(String position, String full_name, RepresentativeDocument document)
    • Representative

      public Representative(Representative other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public Representative deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • getPosition

      public String getPosition()
    • setPosition

      public Representative setPosition(String position)
    • unsetPosition

      public void unsetPosition()
    • isSetPosition

      public boolean isSetPosition()
      Returns true if field position is set (has been assigned a value) and false otherwise
    • setPositionIsSet

      public void setPositionIsSet(boolean value)
    • getFullName

      public String getFullName()
    • setFullName

      public Representative setFullName(String full_name)
    • unsetFullName

      public void unsetFullName()
    • isSetFullName

      public boolean isSetFullName()
      Returns true if field full_name is set (has been assigned a value) and false otherwise
    • setFullNameIsSet

      public void setFullNameIsSet(boolean value)
    • getDocument

      public RepresentativeDocument getDocument()
    • setDocument

      public Representative setDocument(RepresentativeDocument document)
    • unsetDocument

      public void unsetDocument()
    • isSetDocument

      public boolean isSetDocument()
      Returns true if field document is set (has been assigned a value) and false otherwise
    • setDocumentIsSet

      public void setDocumentIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(Representative._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • getFieldValue

      public Object getFieldValue(Representative._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • isSet

      public boolean isSet(Representative._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(Representative that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(Representative other)
      Specified by:
      compareTo in interface Comparable<Representative>
    • fieldForId

      public Representative._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • getFields

      public Representative._Fields[] getFields()
      Specified by:
      getFields in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • getFieldMetaData

      public Map<Representative._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
      Specified by:
      getFieldMetaData in interface org.apache.thrift.TBase<Representative,Representative._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException