Class PartyManagementSrv.ComputeContractTerms_args
java.lang.Object
dev.vality.damsel.payment_processing.PartyManagementSrv.ComputeContractTerms_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PartyManagementSrv.ComputeContractTerms_args>,org.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,,PartyManagementSrv.ComputeContractTerms_args._Fields> org.apache.thrift.TSerializable
- Enclosing class:
- PartyManagementSrv
public static class PartyManagementSrv.ComputeContractTerms_args
extends Object
implements org.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>, Serializable, Cloneable, Comparable<PartyManagementSrv.ComputeContractTerms_args>
- 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 TypeFieldDescriptionlongstatic final Map<PartyManagementSrv.ComputeContractTerms_args._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.ComputeContractTerms_args(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) longMap<PartyManagementSrv.ComputeContractTerms_args._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field contract_id is set (has been assigned a value) and false otherwisebooleanReturns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field party_id is set (has been assigned a value) and false otherwisebooleanReturns true if field party_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field timestamp is set (has been assigned a value) and false otherwisebooleanReturns true if field varset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setContractId(String contract_id) voidsetContractIdIsSet(boolean value) setDomainRevision(long domain_revision) voidsetDomainRevisionIsSet(boolean value) voidsetPartyId(String party_id) voidsetPartyIdIsSet(boolean value) setPartyRevision(PartyRevisionParam party_revision) voidsetPartyRevisionIsSet(boolean value) setTimestamp(String timestamp) voidsetTimestampIsSet(boolean value) setVarset(ComputeContractTermsVarset varset) voidsetVarsetIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
party_id
-
contract_id
-
timestamp
-
party_revision
-
domain_revision
public long domain_revision -
varset
-
metaDataMap
public static final Map<PartyManagementSrv.ComputeContractTerms_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ComputeContractTerms_args
public ComputeContractTerms_args() -
ComputeContractTerms_args
public ComputeContractTerms_args(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset) -
ComputeContractTerms_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
getPartyId
-
setPartyId
-
unsetPartyId
public void unsetPartyId() -
isSetPartyId
public boolean isSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwise -
setPartyIdIsSet
public void setPartyIdIsSet(boolean value) -
getContractId
-
setContractId
-
unsetContractId
public void unsetContractId() -
isSetContractId
public boolean isSetContractId()Returns true if field contract_id is set (has been assigned a value) and false otherwise -
setContractIdIsSet
public void setContractIdIsSet(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) -
getPartyRevision
-
setPartyRevision
public PartyManagementSrv.ComputeContractTerms_args setPartyRevision(PartyRevisionParam party_revision) -
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(boolean value) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getVarset
-
setVarset
-
unsetVarset
public void unsetVarset() -
isSetVarset
public boolean isSetVarset()Returns true if field varset is set (has been assigned a value) and false otherwise -
setVarsetIsSet
public void setVarsetIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._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<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PartyManagementSrv.ComputeContractTerms_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._Fields>
-
getFieldMetaData
public Map<PartyManagementSrv.ComputeContractTerms_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PartyManagementSrv.ComputeContractTerms_args,PartyManagementSrv.ComputeContractTerms_args._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
-