Package dev.vality.damsel.domain
Class TransactionInfo
java.lang.Object
dev.vality.damsel.domain.TransactionInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TransactionInfo>,org.apache.thrift.TBase<TransactionInfo,,TransactionInfo._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class TransactionInfo
extends Object
implements org.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>, Serializable, Cloneable, Comparable<TransactionInfo>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TransactionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionTransactionInfo(TransactionInfo other) Performs a deep copy on other.TransactionInfo(String id, Map<String, String> extra) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TransactionInfo other) deepCopy()booleanequals(TransactionInfo that) booleanfieldForId(int fieldId) getExtra()intMap<TransactionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()inthashCode()booleanisSet(TransactionInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field additional_info is set (has been assigned a value) and false otherwisebooleanReturns true if field extra is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field timestamp is set (has been assigned a value) and false otherwisevoidputToExtra(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setAdditionalInfo(AdditionalTransactionInfo additional_info) voidsetAdditionalInfoIsSet(boolean value) voidsetExtraIsSet(boolean value) voidsetFieldValue(TransactionInfo._Fields field, Object value) voidsetIdIsSet(boolean value) setTimestamp(String timestamp) voidsetTimestampIsSet(boolean value) toString()voidvoidvoidunsetId()voidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
timestamp
-
extra
-
additional_info
-
metaDataMap
public static final Map<TransactionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TransactionInfo
public TransactionInfo() -
TransactionInfo
-
TransactionInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getTimestamp
-
setTimestamp
-
unsetTimestamp
public void unsetTimestamp() -
isSetTimestamp
public boolean isSetTimestamp()Returns true if field timestamp is set (has been assigned a value) and false otherwise -
setTimestampIsSet
public void setTimestampIsSet(boolean value) -
getExtraSize
public int getExtraSize() -
putToExtra
-
getExtra
-
setExtra
-
unsetExtra
public void unsetExtra() -
isSetExtra
public boolean isSetExtra()Returns true if field extra is set (has been assigned a value) and false otherwise -
setExtraIsSet
public void setExtraIsSet(boolean value) -
getAdditionalInfo
-
setAdditionalInfo
-
unsetAdditionalInfo
public void unsetAdditionalInfo() -
isSetAdditionalInfo
public boolean isSetAdditionalInfo()Returns true if field additional_info is set (has been assigned a value) and false otherwise -
setAdditionalInfoIsSet
public void setAdditionalInfoIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._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<TransactionInfo,TransactionInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TransactionInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<TransactionInfo,TransactionInfo._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
-