Package com.mindee.product.fr.idcard
Class IdCardV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.fr.idcard.IdCardV1Document
-
- Direct Known Subclasses:
IdCardV1Page
public class IdCardV1Document extends Prediction
Carte Nationale d'Identité API version 1.1 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringFieldauthorityThe name of the issuing authority.protected DateFieldbirthDateThe date of birth of the card holder.protected StringFieldbirthPlaceThe place of birth of the card holder.protected DateFieldexpiryDateThe expiry date of the identification card.protected StringFieldgenderThe gender of the card holder.protected List<StringField>givenNamesThe given name(s) of the card holder.protected StringFieldidNumberThe identification card number.protected StringFieldmrz1Machine Readable Zone, first lineprotected StringFieldmrz2Machine Readable Zone, second lineprotected StringFieldsurnameThe surname of the card holder.
-
Constructor Summary
Constructors Constructor Description IdCardV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetAuthority()The name of the issuing authority.DateFieldgetBirthDate()The date of birth of the card holder.StringFieldgetBirthPlace()The place of birth of the card holder.DateFieldgetExpiryDate()The expiry date of the identification card.StringFieldgetGender()The gender of the card holder.List<StringField>getGivenNames()The given name(s) of the card holder.StringFieldgetIdNumber()The identification card number.StringFieldgetMrz1()Machine Readable Zone, first lineStringFieldgetMrz2()Machine Readable Zone, second lineStringFieldgetSurname()The surname of the card holder.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
Field Detail
-
authority
protected StringField authority
The name of the issuing authority.
-
birthDate
protected DateField birthDate
The date of birth of the card holder.
-
birthPlace
protected StringField birthPlace
The place of birth of the card holder.
-
expiryDate
protected DateField expiryDate
The expiry date of the identification card.
-
gender
protected StringField gender
The gender of the card holder.
-
givenNames
protected List<StringField> givenNames
The given name(s) of the card holder.
-
idNumber
protected StringField idNumber
The identification card number.
-
mrz1
protected StringField mrz1
Machine Readable Zone, first line
-
mrz2
protected StringField mrz2
Machine Readable Zone, second line
-
surname
protected StringField surname
The surname of the card holder.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin classPrediction
-
getAuthority
public StringField getAuthority()
The name of the issuing authority.
-
getBirthDate
public DateField getBirthDate()
The date of birth of the card holder.
-
getBirthPlace
public StringField getBirthPlace()
The place of birth of the card holder.
-
getExpiryDate
public DateField getExpiryDate()
The expiry date of the identification card.
-
getGender
public StringField getGender()
The gender of the card holder.
-
getGivenNames
public List<StringField> getGivenNames()
The given name(s) of the card holder.
-
getIdNumber
public StringField getIdNumber()
The identification card number.
-
getMrz1
public StringField getMrz1()
Machine Readable Zone, first line
-
getMrz2
public StringField getMrz2()
Machine Readable Zone, second line
-
getSurname
public StringField getSurname()
The surname of the card holder.
-
canEqual
protected boolean canEqual(Object other)
-
-