Package dev.vality.damsel.domain
Class Party
java.lang.Object
dev.vality.damsel.domain.Party
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Party>,org.apache.thrift.TBase<Party,,Party._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class Party
extends Object
implements org.apache.thrift.TBase<Party,Party._Fields>, Serializable, Cloneable, Comparable<Party>
Участник.
- 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<Party._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionParty()Performs a deep copy on other.Party(String id, PartyContactInfo contact_info, String created_at, Blocking blocking, Suspension suspension, Map<String, PartyContractor> contractors, Map<String, Contract> contracts, Map<String, Shop> shops, Map<String, Wallet> wallets, long revision) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intintMap<Party._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Party._Fields field) getId()longgetShops()intintinthashCode()booleanisSet(Party._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field blocking is set (has been assigned a value) and false otherwisebooleanReturns true if field comment is set (has been assigned a value) and false otherwisebooleanReturns true if field contact_info is set (has been assigned a value) and false otherwisebooleanReturns true if field contractors is set (has been assigned a value) and false otherwisebooleanReturns true if field contracts is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at 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 party_name is set (has been assigned a value) and false otherwisebooleanReturns true if field revision is set (has been assigned a value) and false otherwisebooleanReturns true if field shops is set (has been assigned a value) and false otherwisebooleanReturns true if field suspension is set (has been assigned a value) and false otherwisebooleanReturns true if field wallets is set (has been assigned a value) and false otherwisevoidputToContractors(String key, PartyContractor val) voidputToContracts(String key, Contract val) voidputToShops(String key, Shop val) voidputToWallets(String key, Wallet val) voidread(org.apache.thrift.protocol.TProtocol iprot) setBlocking(Blocking blocking) voidsetBlockingIsSet(boolean value) setComment(String comment) voidsetCommentIsSet(boolean value) setContactInfo(PartyContactInfo contact_info) voidsetContactInfoIsSet(boolean value) setContractors(Map<String, PartyContractor> contractors) voidsetContractorsIsSet(boolean value) setContracts(Map<String, Contract> contracts) voidsetContractsIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) voidsetFieldValue(Party._Fields field, Object value) voidsetIdIsSet(boolean value) setPartyName(String party_name) voidsetPartyNameIsSet(boolean value) setRevision(long revision) voidsetRevisionIsSet(boolean value) voidsetShopsIsSet(boolean value) setSuspension(Suspension suspension) voidsetSuspensionIsSet(boolean value) setWallets(Map<String, Wallet> wallets) voidsetWalletsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
contact_info
-
created_at
-
blocking
-
suspension
-
contractors
-
contracts
-
shops
-
wallets
-
revision
public long revision -
party_name
-
comment
-
metaDataMap
-
-
Constructor Details
-
Party
public Party() -
Party
-
Party
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Party,Party._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Party,Party._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) -
getContactInfo
-
setContactInfo
-
unsetContactInfo
public void unsetContactInfo() -
isSetContactInfo
public boolean isSetContactInfo()Returns true if field contact_info is set (has been assigned a value) and false otherwise -
setContactInfoIsSet
public void setContactInfoIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getBlocking
-
setBlocking
-
unsetBlocking
public void unsetBlocking() -
isSetBlocking
public boolean isSetBlocking()Returns true if field blocking is set (has been assigned a value) and false otherwise -
setBlockingIsSet
public void setBlockingIsSet(boolean value) -
getSuspension
-
setSuspension
-
unsetSuspension
public void unsetSuspension() -
isSetSuspension
public boolean isSetSuspension()Returns true if field suspension is set (has been assigned a value) and false otherwise -
setSuspensionIsSet
public void setSuspensionIsSet(boolean value) -
getContractorsSize
public int getContractorsSize() -
putToContractors
-
getContractors
-
setContractors
-
unsetContractors
public void unsetContractors() -
isSetContractors
public boolean isSetContractors()Returns true if field contractors is set (has been assigned a value) and false otherwise -
setContractorsIsSet
public void setContractorsIsSet(boolean value) -
getContractsSize
public int getContractsSize() -
putToContracts
-
getContracts
-
setContracts
-
unsetContracts
public void unsetContracts() -
isSetContracts
public boolean isSetContracts()Returns true if field contracts is set (has been assigned a value) and false otherwise -
setContractsIsSet
public void setContractsIsSet(boolean value) -
getShopsSize
public int getShopsSize() -
putToShops
-
getShops
-
setShops
-
unsetShops
public void unsetShops() -
isSetShops
public boolean isSetShops()Returns true if field shops is set (has been assigned a value) and false otherwise -
setShopsIsSet
public void setShopsIsSet(boolean value) -
getWalletsSize
public int getWalletsSize() -
putToWallets
-
getWallets
-
setWallets
-
unsetWallets
public void unsetWallets() -
isSetWallets
public boolean isSetWallets()Returns true if field wallets is set (has been assigned a value) and false otherwise -
setWalletsIsSet
public void setWalletsIsSet(boolean value) -
getRevision
public long getRevision() -
setRevision
-
unsetRevision
public void unsetRevision() -
isSetRevision
public boolean isSetRevision()Returns true if field revision is set (has been assigned a value) and false otherwise -
setRevisionIsSet
public void setRevisionIsSet(boolean value) -
getPartyName
-
setPartyName
-
unsetPartyName
public void unsetPartyName() -
isSetPartyName
public boolean isSetPartyName()Returns true if field party_name is set (has been assigned a value) and false otherwise -
setPartyNameIsSet
public void setPartyNameIsSet(boolean value) -
getComment
-
setComment
-
unsetComment
public void unsetComment() -
isSetComment
public boolean isSetComment()Returns true if field comment is set (has been assigned a value) and false otherwise -
setCommentIsSet
public void setCommentIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Party,Party._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Party,Party._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<Party,Party._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Party>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Party,Party._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Party,Party._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Party,Party._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
-