Class CashBound

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

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class CashBound extends org.apache.thrift.TUnion<CashBound,CashBound._Fields>
See Also:
  • Field Details

    • metaDataMap

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

  • Method Details

    • deepCopy

      public CashBound deepCopy()
    • inclusive

      public static CashBound inclusive(Cash value)
    • exclusive

      public static CashBound exclusive(Cash value)
    • checkType

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

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

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

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

      public CashBound._Fields[] getFields()
    • getFieldMetaData

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

      public CashBound._Fields fieldForId(int fieldId)
    • getInclusive

      public Cash getInclusive()
    • setInclusive

      public void setInclusive(Cash value)
    • getExclusive

      public Cash getExclusive()
    • setExclusive

      public void setExclusive(Cash value)
    • isSetInclusive

      public boolean isSetInclusive()
    • isSetExclusive

      public boolean isSetExclusive()
    • equals

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

      public boolean equals(CashBound other)
    • compareTo

      public int compareTo(CashBound other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object