Class RussianDomesticPassport
java.lang.Object
dev.vality.damsel.identity_document_storage.RussianDomesticPassport
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RussianDomesticPassport>,org.apache.thrift.TBase<RussianDomesticPassport,,RussianDomesticPassport._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class RussianDomesticPassport
extends Object
implements org.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>, Serializable, Cloneable, Comparable<RussianDomesticPassport>
- 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<RussianDomesticPassport._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(RussianDomesticPassport other) deepCopy()booleanbooleanfieldForId(int fieldId) Map<RussianDomesticPassport._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 birth_date is set (has been assigned a value) and false otherwisebooleanReturns true if field birth_place is set (has been assigned a value) and false otherwisebooleanReturns true if field family_name is set (has been assigned a value) and false otherwisebooleanReturns true if field first_name is set (has been assigned a value) and false otherwisebooleanReturns true if field issued_at is set (has been assigned a value) and false otherwisebooleanReturns true if field issuer is set (has been assigned a value) and false otherwisebooleanReturns true if field issuer_code is set (has been assigned a value) and false otherwisebooleanReturns true if field number is set (has been assigned a value) and false otherwisebooleanReturns true if field patronymic is set (has been assigned a value) and false otherwisebooleanReturns true if field series is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setBirthDate(String birth_date) voidsetBirthDateIsSet(boolean value) setBirthPlace(String birth_place) voidsetBirthPlaceIsSet(boolean value) setFamilyName(String family_name) voidsetFamilyNameIsSet(boolean value) voidsetFieldValue(RussianDomesticPassport._Fields field, Object value) setFirstName(String first_name) voidsetFirstNameIsSet(boolean value) setIssuedAt(String issued_at) voidsetIssuedAtIsSet(boolean value) setIssuerCode(String issuer_code) voidsetIssuerCodeIsSet(boolean value) voidsetIssuerIsSet(boolean value) voidsetNumberIsSet(boolean value) setPatronymic(String patronymic) voidsetPatronymicIsSet(boolean value) voidsetSeriesIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
series
-
number
-
issuer
-
issuer_code
-
issued_at
-
family_name
-
first_name
-
patronymic
-
birth_date
-
birth_place
-
metaDataMap
public static final Map<RussianDomesticPassport._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RussianDomesticPassport
public RussianDomesticPassport() -
RussianDomesticPassport
-
RussianDomesticPassport
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
getSeries
-
setSeries
-
unsetSeries
public void unsetSeries() -
isSetSeries
public boolean isSetSeries()Returns true if field series is set (has been assigned a value) and false otherwise -
setSeriesIsSet
public void setSeriesIsSet(boolean value) -
getNumber
-
setNumber
-
unsetNumber
public void unsetNumber() -
isSetNumber
public boolean isSetNumber()Returns true if field number is set (has been assigned a value) and false otherwise -
setNumberIsSet
public void setNumberIsSet(boolean value) -
getIssuer
-
setIssuer
-
unsetIssuer
public void unsetIssuer() -
isSetIssuer
public boolean isSetIssuer()Returns true if field issuer is set (has been assigned a value) and false otherwise -
setIssuerIsSet
public void setIssuerIsSet(boolean value) -
getIssuerCode
-
setIssuerCode
-
unsetIssuerCode
public void unsetIssuerCode() -
isSetIssuerCode
public boolean isSetIssuerCode()Returns true if field issuer_code is set (has been assigned a value) and false otherwise -
setIssuerCodeIsSet
public void setIssuerCodeIsSet(boolean value) -
getIssuedAt
-
setIssuedAt
-
unsetIssuedAt
public void unsetIssuedAt() -
isSetIssuedAt
public boolean isSetIssuedAt()Returns true if field issued_at is set (has been assigned a value) and false otherwise -
setIssuedAtIsSet
public void setIssuedAtIsSet(boolean value) -
getFamilyName
-
setFamilyName
-
unsetFamilyName
public void unsetFamilyName() -
isSetFamilyName
public boolean isSetFamilyName()Returns true if field family_name is set (has been assigned a value) and false otherwise -
setFamilyNameIsSet
public void setFamilyNameIsSet(boolean value) -
getFirstName
-
setFirstName
-
unsetFirstName
public void unsetFirstName() -
isSetFirstName
public boolean isSetFirstName()Returns true if field first_name is set (has been assigned a value) and false otherwise -
setFirstNameIsSet
public void setFirstNameIsSet(boolean value) -
getPatronymic
-
setPatronymic
-
unsetPatronymic
public void unsetPatronymic() -
isSetPatronymic
public boolean isSetPatronymic()Returns true if field patronymic is set (has been assigned a value) and false otherwise -
setPatronymicIsSet
public void setPatronymicIsSet(boolean value) -
getBirthDate
-
setBirthDate
-
unsetBirthDate
public void unsetBirthDate() -
isSetBirthDate
public boolean isSetBirthDate()Returns true if field birth_date is set (has been assigned a value) and false otherwise -
setBirthDateIsSet
public void setBirthDateIsSet(boolean value) -
getBirthPlace
-
setBirthPlace
-
unsetBirthPlace
public void unsetBirthPlace() -
isSetBirthPlace
public boolean isSetBirthPlace()Returns true if field birth_place is set (has been assigned a value) and false otherwise -
setBirthPlaceIsSet
public void setBirthPlaceIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._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<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RussianDomesticPassport>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._Fields>
-
getFieldMetaData
public Map<RussianDomesticPassport._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RussianDomesticPassport,RussianDomesticPassport._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
-