Class Contractor

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class Contractor extends org.apache.thrift.TUnion<Contractor,Contractor._Fields>
Лицо, выступающее стороной договора.
See Also:
  • Field Details

    • metaDataMap

      public static final Map<Contractor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

  • Method Details

    • deepCopy

      public Contractor deepCopy()
    • registered_user

      public static Contractor registered_user(RegisteredUser value)
    • private_entity

      public static Contractor private_entity(PrivateEntity value)
    • checkType

      protected void checkType(Contractor._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc(Contractor._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
    • enumForId

      protected Contractor._Fields enumForId(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<Contractor,Contractor._Fields>
    • getFields

      public Contractor._Fields[] getFields()
    • getFieldMetaData

      public Map<Contractor._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public Contractor._Fields fieldForId(int fieldId)
    • getRegisteredUser

      public RegisteredUser getRegisteredUser()
    • setRegisteredUser

      public void setRegisteredUser(RegisteredUser value)
    • getLegalEntity

      public LegalEntity getLegalEntity()
    • setLegalEntity

      public void setLegalEntity(LegalEntity value)
    • getPrivateEntity

      public PrivateEntity getPrivateEntity()
    • setPrivateEntity

      public void setPrivateEntity(PrivateEntity value)
    • isSetRegisteredUser

      public boolean isSetRegisteredUser()
    • isSetLegalEntity

      public boolean isSetLegalEntity()
    • isSetPrivateEntity

      public boolean isSetPrivateEntity()
    • equals

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

      public boolean equals(Contractor other)
    • compareTo

      public int compareTo(Contractor other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object