Package dev.vality.damsel.domain
Class CurrencyDecision
java.lang.Object
dev.vality.damsel.domain.CurrencyDecision
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CurrencyDecision>,org.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class CurrencyDecision
extends Object
implements org.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>, Serializable, Cloneable, Comparable<CurrencyDecision>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCurrencyDecision._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Predicateif_static Map<CurrencyDecision._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCurrencySelectorthen_ -
Constructor Summary
Constructors Constructor Description CurrencyDecision()CurrencyDecision(CurrencyDecision other)Performs a deep copy on other.CurrencyDecision(Predicate if_, CurrencySelector then_) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(CurrencyDecision other)CurrencyDecisiondeepCopy()booleanequals(CurrencyDecision that)booleanequals(Object that)CurrencyDecision._FieldsfieldForId(int fieldId)Map<CurrencyDecision._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()CurrencyDecision._Fields[]getFields()ObjectgetFieldValue(CurrencyDecision._Fields field)PredicategetIf()CurrencySelectorgetThen()inthashCode()booleanisSet(CurrencyDecision._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetIf()Returns true if field if_ is set (has been assigned a value) and false otherwisebooleanisSetThen()Returns true if field then_ is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(CurrencyDecision._Fields field, Object value)CurrencyDecisionsetIf(Predicate if_)voidsetIfIsSet(boolean value)CurrencyDecisionsetThen(CurrencySelector then_)voidsetThenIsSet(boolean value)StringtoString()voidunsetIf()voidunsetThen()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
if_
-
then_
-
metaDataMap
public static final Map<CurrencyDecision._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
CurrencyDecision
public CurrencyDecision() -
CurrencyDecision
-
CurrencyDecision
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>
-
getIf
-
setIf
-
unsetIf
public void unsetIf() -
isSetIf
public boolean isSetIf()Returns true if field if_ is set (has been assigned a value) and false otherwise -
setIfIsSet
public void setIfIsSet(boolean value) -
getThen
-
setThen
-
unsetThen
public void unsetThen() -
isSetThen
public boolean isSetThen()Returns true if field then_ is set (has been assigned a value) and false otherwise -
setThenIsSet
public void setThenIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._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<CurrencyDecision,CurrencyDecision._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<CurrencyDecision>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<CurrencyDecision,CurrencyDecision._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
-