Package dev.vality.fistful.base
Class CashRange
java.lang.Object
dev.vality.fistful.base.CashRange
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CashRange>,org.apache.thrift.TBase<CashRange,CashRange._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class CashRange
extends Object
implements org.apache.thrift.TBase<CashRange,CashRange._Fields>, Serializable, Cloneable, Comparable<CashRange>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCashRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashBoundlowerstatic Map<CashRange._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCashBoundupper -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CashRange other)CashRangedeepCopy()booleanequals(CashRange that)booleanequals(Object that)CashRange._FieldsfieldForId(int fieldId)Map<CashRange._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CashRange._Fields[]getFields()ObjectgetFieldValue(CashRange._Fields field)CashBoundgetLower()CashBoundgetUpper()inthashCode()booleanisSet(CashRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetLower()Returns true if field lower is set (has been assigned a value) and false otherwisebooleanisSetUpper()Returns true if field upper is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(CashRange._Fields field, Object value)CashRangesetLower(CashBound lower)voidsetLowerIsSet(boolean value)CashRangesetUpper(CashBound upper)voidsetUpperIsSet(boolean value)StringtoString()voidunsetLower()voidunsetUpper()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
upper
-
lower
-
metaDataMap
-
-
Constructor Details
-
CashRange
public CashRange() -
CashRange
-
CashRange
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
getUpper
-
setUpper
-
unsetUpper
public void unsetUpper() -
isSetUpper
public boolean isSetUpper()Returns true if field upper is set (has been assigned a value) and false otherwise -
setUpperIsSet
public void setUpperIsSet(boolean value) -
getLower
-
setLower
-
unsetLower
public void unsetLower() -
isSetLower
public boolean isSetLower()Returns true if field lower is set (has been assigned a value) and false otherwise -
setLowerIsSet
public void setLowerIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CashRange>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CashRange,CashRange._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-