Package dev.vality.damsel.domain
Class PartyContractor
java.lang.Object
dev.vality.damsel.domain.PartyContractor
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PartyContractor>,org.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PartyContractor
extends Object
implements org.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>, Serializable, Cloneable, Comparable<PartyContractor>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartyContractor._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ContractorcontractorStringidList<ByteBuffer>identity_documentsstatic Map<PartyContractor._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapContractorIdentificationLevelstatus -
Constructor Summary
Constructors Constructor Description PartyContractor()PartyContractor(PartyContractor other)Performs a deep copy on other.PartyContractor(String id, Contractor contractor, ContractorIdentificationLevel status, List<ByteBuffer> identity_documents) -
Method Summary
Modifier and Type Method Description voidaddToIdentityDocuments(ByteBuffer elem)voidclear()intcompareTo(PartyContractor other)PartyContractordeepCopy()booleanequals(PartyContractor that)booleanequals(Object that)PartyContractor._FieldsfieldForId(int fieldId)ContractorgetContractor()Map<PartyContractor._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PartyContractor._Fields[]getFields()ObjectgetFieldValue(PartyContractor._Fields field)StringgetId()List<ByteBuffer>getIdentityDocuments()Iterator<ByteBuffer>getIdentityDocumentsIterator()intgetIdentityDocumentsSize()ContractorIdentificationLevelgetStatus()inthashCode()booleanisSet(PartyContractor._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetContractor()Returns true if field contractor is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetIdentityDocuments()Returns true if field identity_documents is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PartyContractorsetContractor(Contractor contractor)voidsetContractorIsSet(boolean value)voidsetFieldValue(PartyContractor._Fields field, Object value)PartyContractorsetId(String id)PartyContractorsetIdentityDocuments(List<ByteBuffer> identity_documents)voidsetIdentityDocumentsIsSet(boolean value)voidsetIdIsSet(boolean value)PartyContractorsetStatus(ContractorIdentificationLevel status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetContractor()voidunsetId()voidunsetIdentityDocuments()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
contractor
-
status
-
identity_documents
-
metaDataMap
public static final Map<PartyContractor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PartyContractor
public PartyContractor() -
PartyContractor
public PartyContractor(String id, Contractor contractor, ContractorIdentificationLevel status, List<ByteBuffer> identity_documents) -
PartyContractor
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._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) -
getContractor
-
setContractor
-
unsetContractor
public void unsetContractor() -
isSetContractor
public boolean isSetContractor()Returns true if field contractor is set (has been assigned a value) and false otherwise -
setContractorIsSet
public void setContractorIsSet(boolean value) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getIdentityDocumentsSize
public int getIdentityDocumentsSize() -
getIdentityDocumentsIterator
-
addToIdentityDocuments
-
getIdentityDocuments
-
setIdentityDocuments
-
unsetIdentityDocuments
public void unsetIdentityDocuments() -
isSetIdentityDocuments
public boolean isSetIdentityDocuments()Returns true if field identity_documents is set (has been assigned a value) and false otherwise -
setIdentityDocumentsIsSet
public void setIdentityDocumentsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._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<PartyContractor,PartyContractor._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PartyContractor>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PartyContractor,PartyContractor._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
-