Package dev.vality.damsel.domain
Class LifetimeDecision
java.lang.Object
dev.vality.damsel.domain.LifetimeDecision
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LifetimeDecision>,org.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class LifetimeDecision
extends Object
implements org.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._Fields>, Serializable, Cloneable, Comparable<LifetimeDecision>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifetimeDecision._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<LifetimeDecision._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapLifetimeSelectorthen_ -
Constructor Summary
Constructors Constructor Description LifetimeDecision()LifetimeDecision(LifetimeDecision other)Performs a deep copy on other.LifetimeDecision(Predicate if_, LifetimeSelector then_) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(LifetimeDecision other)LifetimeDecisiondeepCopy()booleanequals(LifetimeDecision that)booleanequals(Object that)LifetimeDecision._FieldsfieldForId(int fieldId)Map<LifetimeDecision._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()LifetimeDecision._Fields[]getFields()ObjectgetFieldValue(LifetimeDecision._Fields field)PredicategetIf()LifetimeSelectorgetThen()inthashCode()booleanisSet(LifetimeDecision._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(LifetimeDecision._Fields field, Object value)LifetimeDecisionsetIf(Predicate if_)voidsetIfIsSet(boolean value)LifetimeDecisionsetThen(LifetimeSelector then_)voidsetThenIsSet(boolean value)StringtoString()voidunsetIf()voidunsetThen()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
if_
-
then_
-
metaDataMap
public static final Map<LifetimeDecision._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
LifetimeDecision
public LifetimeDecision() -
LifetimeDecision
-
LifetimeDecision
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._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<LifetimeDecision,LifetimeDecision._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._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<LifetimeDecision,LifetimeDecision._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<LifetimeDecision>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<LifetimeDecision,LifetimeDecision._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
-