Class LegalEntity

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

@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
           date="2022-10-25")
public class LegalEntity
extends org.apache.thrift.TUnion<LegalEntity,​LegalEntity._Fields>
See Also:
Serialized Form
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public LegalEntity deepCopy()
    • checkType

      protected void checkType​(LegalEntity._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<LegalEntity,​LegalEntity._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<LegalEntity,​LegalEntity._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<LegalEntity,​LegalEntity._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<LegalEntity,​LegalEntity._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<LegalEntity,​LegalEntity._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

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

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

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

      public LegalEntity._Fields[] getFields()
    • getFieldMetaData

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

      public LegalEntity._Fields fieldForId​(int fieldId)
    • getRussianLegalEntity

      public RussianLegalEntity getRussianLegalEntity()
    • setRussianLegalEntity

      public void setRussianLegalEntity​(RussianLegalEntity value)
    • getInternationalLegalEntity

      public InternationalLegalEntity getInternationalLegalEntity()
    • setInternationalLegalEntity

      public void setInternationalLegalEntity​(InternationalLegalEntity value)
    • isSetRussianLegalEntity

      public boolean isSetRussianLegalEntity()
    • isSetInternationalLegalEntity

      public boolean isSetInternationalLegalEntity()
    • equals

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

      public boolean equals​(LegalEntity other)
    • compareTo

      public int compareTo​(LegalEntity other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object