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.14.2)",
date="2022-10-25")
public class Party
extends Object
implements org.apache.thrift.TBase<Party,Party._Fields>, Serializable, Cloneable, Comparable<Party>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParty._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description BlockingblockingPartyContactInfocontact_infoMap<String,PartyContractor>contractorsMap<String,Contract>contractsStringcreated_atStringidstatic Map<Party._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongrevisionMap<String,Shop>shopsSuspensionsuspensionMap<String,Wallet>wallets -
Constructor Summary
Constructors Constructor Description Party()Party(Party other)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 Type Method Description voidclear()intcompareTo(Party other)PartydeepCopy()booleanequals(Party that)booleanequals(Object that)Party._FieldsfieldForId(int fieldId)BlockinggetBlocking()PartyContactInfogetContactInfo()Map<String,PartyContractor>getContractors()intgetContractorsSize()Map<String,Contract>getContracts()intgetContractsSize()StringgetCreatedAt()Map<Party._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Party._Fields[]getFields()ObjectgetFieldValue(Party._Fields field)StringgetId()longgetRevision()Map<String,Shop>getShops()intgetShopsSize()SuspensiongetSuspension()Map<String,Wallet>getWallets()intgetWalletsSize()inthashCode()booleanisSet(Party._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBlocking()Returns true if field blocking is set (has been assigned a value) and false otherwisebooleanisSetContactInfo()Returns true if field contact_info is set (has been assigned a value) and false otherwisebooleanisSetContractors()Returns true if field contractors is set (has been assigned a value) and false otherwisebooleanisSetContracts()Returns true if field contracts is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns 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 otherwisebooleanisSetRevision()Returns true if field revision is set (has been assigned a value) and false otherwisebooleanisSetShops()Returns true if field shops is set (has been assigned a value) and false otherwisebooleanisSetSuspension()Returns true if field suspension is set (has been assigned a value) and false otherwisebooleanisSetWallets()Returns 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)PartysetBlocking(Blocking blocking)voidsetBlockingIsSet(boolean value)PartysetContactInfo(PartyContactInfo contact_info)voidsetContactInfoIsSet(boolean value)PartysetContractors(Map<String,PartyContractor> contractors)voidsetContractorsIsSet(boolean value)PartysetContracts(Map<String,Contract> contracts)voidsetContractsIsSet(boolean value)PartysetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(Party._Fields field, Object value)PartysetId(String id)voidsetIdIsSet(boolean value)PartysetRevision(long revision)voidsetRevisionIsSet(boolean value)PartysetShops(Map<String,Shop> shops)voidsetShopsIsSet(boolean value)PartysetSuspension(Suspension suspension)voidsetSuspensionIsSet(boolean value)PartysetWallets(Map<String,Wallet> wallets)voidsetWalletsIsSet(boolean value)StringtoString()voidunsetBlocking()voidunsetContactInfo()voidunsetContractors()voidunsetContracts()voidunsetCreatedAt()voidunsetId()voidunsetRevision()voidunsetShops()voidunsetSuspension()voidunsetWallets()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
contact_info
-
created_at
-
blocking
-
suspension
-
contractors
-
contracts
-
shops
-
wallets
-
revision
public long revision -
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) -
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
-