Class DriverLicenseV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.eu.driverlicense.DriverLicenseV1Document
-
- Direct Known Subclasses:
DriverLicenseV1Page
public class DriverLicenseV1Document extends Prediction
Driver License API version 1.0 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringField
address
EU driver license holders addressprotected StringField
category
EU driver license holders categoriesprotected StringField
countryCode
Country code extracted as a string.protected DateField
dateOfBirth
The date of birth of the document holderprotected StringField
documentId
ID number of the Document.protected DateField
expiryDate
Date the document expiresprotected StringField
firstName
First name(s) of the driver license holderprotected StringField
issueAuthority
Authority that issued the documentprotected DateField
issueDate
Date the document was issuedprotected StringField
lastName
Last name of the driver license holder.protected StringField
mrz
Machine-readable license numberprotected StringField
placeOfBirth
Place where the driver license holder was born
-
Constructor Summary
Constructors Constructor Description DriverLicenseV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
StringField
getAddress()
EU driver license holders addressStringField
getCategory()
EU driver license holders categoriesStringField
getCountryCode()
Country code extracted as a string.DateField
getDateOfBirth()
The date of birth of the document holderStringField
getDocumentId()
ID number of the Document.DateField
getExpiryDate()
Date the document expiresStringField
getFirstName()
First name(s) of the driver license holderStringField
getIssueAuthority()
Authority that issued the documentDateField
getIssueDate()
Date the document was issuedStringField
getLastName()
Last name of the driver license holder.StringField
getMrz()
Machine-readable license numberStringField
getPlaceOfBirth()
Place where the driver license holder was bornint
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
address
protected StringField address
EU driver license holders address
-
category
protected StringField category
EU driver license holders categories
-
countryCode
protected StringField countryCode
Country code extracted as a string.
-
dateOfBirth
protected DateField dateOfBirth
The date of birth of the document holder
-
documentId
protected StringField documentId
ID number of the Document.
-
expiryDate
protected DateField expiryDate
Date the document expires
-
firstName
protected StringField firstName
First name(s) of the driver license holder
-
issueAuthority
protected StringField issueAuthority
Authority that issued the document
-
issueDate
protected DateField issueDate
Date the document was issued
-
lastName
protected StringField lastName
Last name of the driver license holder.
-
mrz
protected StringField mrz
Machine-readable license number
-
placeOfBirth
protected StringField placeOfBirth
Place where the driver license holder was born
-
-
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
- Specified by:
isEmpty
in classPrediction
-
getAddress
public StringField getAddress()
EU driver license holders address
-
getCategory
public StringField getCategory()
EU driver license holders categories
-
getCountryCode
public StringField getCountryCode()
Country code extracted as a string.
-
getDateOfBirth
public DateField getDateOfBirth()
The date of birth of the document holder
-
getDocumentId
public StringField getDocumentId()
ID number of the Document.
-
getExpiryDate
public DateField getExpiryDate()
Date the document expires
-
getFirstName
public StringField getFirstName()
First name(s) of the driver license holder
-
getIssueAuthority
public StringField getIssueAuthority()
Authority that issued the document
-
getIssueDate
public DateField getIssueDate()
Date the document was issued
-
getLastName
public StringField getLastName()
Last name of the driver license holder.
-
getMrz
public StringField getMrz()
Machine-readable license number
-
getPlaceOfBirth
public StringField getPlaceOfBirth()
Place where the driver license holder was born
-
canEqual
protected boolean canEqual(Object other)
-
-