Package com.mindee.product.fr.idcard
Class IdCardV2Page
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.fr.idcard.IdCardV2Document
-
- com.mindee.product.fr.idcard.IdCardV2Page
-
public class IdCardV2Page extends IdCardV2Document
Carte Nationale d'Identité API version 2.0 page data.
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassificationField
documentSide
The sides of the document which are visible.protected ClassificationField
documentType
The document type or format.-
Fields inherited from class com.mindee.product.fr.idcard.IdCardV2Document
alternateName, authority, birthDate, birthPlace, cardAccessNumber, documentNumber, expiryDate, gender, givenNames, issueDate, mrz1, mrz2, mrz3, nationality, surname
-
-
Constructor Summary
Constructors Constructor Description IdCardV2Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
ClassificationField
getDocumentSide()
The sides of the document which are visible.ClassificationField
getDocumentType()
The document type or format.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
Methods inherited from class com.mindee.product.fr.idcard.IdCardV2Document
getAlternateName, getAuthority, getBirthDate, getBirthPlace, getCardAccessNumber, getDocumentNumber, getExpiryDate, getGender, getGivenNames, getIssueDate, getMrz1, getMrz2, getMrz3, getNationality, getSurname
-
-
-
-
Field Detail
-
documentSide
protected ClassificationField documentSide
The sides of the document which are visible.
-
documentType
protected ClassificationField documentType
The document type or format.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Overrides:
isEmpty
in classIdCardV2Document
-
toString
public String toString()
- Overrides:
toString
in classIdCardV2Document
-
getDocumentSide
public ClassificationField getDocumentSide()
The sides of the document which are visible.
-
getDocumentType
public ClassificationField getDocumentType()
The document type or format.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIdCardV2Document
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classIdCardV2Document
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIdCardV2Document
-
-