Class DriverLicenseV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.us.driverlicense.DriverLicenseV1Document
-
- Direct Known Subclasses:
DriverLicenseV1Page
public class DriverLicenseV1Document extends Prediction
Driver License API version 1.1 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringField
address
US driver license holders addressprotected DateField
dateOfBirth
US driver license holders date of birthprotected StringField
ddNumber
Document Discriminator Number of the US Driver Licenseprotected StringField
dlClass
US driver license holders classprotected StringField
driverLicenseId
ID number of the US Driver License.protected StringField
endorsements
US driver license holders endorsementsprotected DateField
expiryDate
Date on which the documents expires.protected StringField
eyeColor
US driver license holders eye colourprotected StringField
firstName
US driver license holders first name(s)protected StringField
hairColor
US driver license holders hair colourprotected StringField
height
US driver license holders hightprotected DateField
issuedDate
Date on which the documents was issued.protected StringField
lastName
US driver license holders last nameprotected StringField
restrictions
US driver license holders restrictionsprotected StringField
sex
US driver license holders genderprotected StringField
state
US Stateprotected StringField
weight
US driver license holders weight
-
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()
US driver license holders addressDateField
getDateOfBirth()
US driver license holders date of birthStringField
getDdNumber()
Document Discriminator Number of the US Driver LicenseStringField
getDlClass()
US driver license holders classStringField
getDriverLicenseId()
ID number of the US Driver License.StringField
getEndorsements()
US driver license holders endorsementsDateField
getExpiryDate()
Date on which the documents expires.StringField
getEyeColor()
US driver license holders eye colourStringField
getFirstName()
US driver license holders first name(s)StringField
getHairColor()
US driver license holders hair colourStringField
getHeight()
US driver license holders hightDateField
getIssuedDate()
Date on which the documents was issued.StringField
getLastName()
US driver license holders last nameStringField
getRestrictions()
US driver license holders restrictionsStringField
getSex()
US driver license holders genderStringField
getState()
US StateStringField
getWeight()
US driver license holders weightint
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
address
protected StringField address
US driver license holders address
-
dateOfBirth
protected DateField dateOfBirth
US driver license holders date of birth
-
ddNumber
protected StringField ddNumber
Document Discriminator Number of the US Driver License
-
dlClass
protected StringField dlClass
US driver license holders class
-
driverLicenseId
protected StringField driverLicenseId
ID number of the US Driver License.
-
endorsements
protected StringField endorsements
US driver license holders endorsements
-
expiryDate
protected DateField expiryDate
Date on which the documents expires.
-
eyeColor
protected StringField eyeColor
US driver license holders eye colour
-
firstName
protected StringField firstName
US driver license holders first name(s)
-
hairColor
protected StringField hairColor
US driver license holders hair colour
-
height
protected StringField height
US driver license holders hight
-
issuedDate
protected DateField issuedDate
Date on which the documents was issued.
-
lastName
protected StringField lastName
US driver license holders last name
-
restrictions
protected StringField restrictions
US driver license holders restrictions
-
sex
protected StringField sex
US driver license holders gender
-
state
protected StringField state
US State
-
weight
protected StringField weight
US driver license holders weight
-
-
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()
US driver license holders address
-
getDateOfBirth
public DateField getDateOfBirth()
US driver license holders date of birth
-
getDdNumber
public StringField getDdNumber()
Document Discriminator Number of the US Driver License
-
getDlClass
public StringField getDlClass()
US driver license holders class
-
getDriverLicenseId
public StringField getDriverLicenseId()
ID number of the US Driver License.
-
getEndorsements
public StringField getEndorsements()
US driver license holders endorsements
-
getExpiryDate
public DateField getExpiryDate()
Date on which the documents expires.
-
getEyeColor
public StringField getEyeColor()
US driver license holders eye colour
-
getFirstName
public StringField getFirstName()
US driver license holders first name(s)
-
getHairColor
public StringField getHairColor()
US driver license holders hair colour
-
getHeight
public StringField getHeight()
US driver license holders hight
-
getIssuedDate
public DateField getIssuedDate()
Date on which the documents was issued.
-
getLastName
public StringField getLastName()
US driver license holders last name
-
getRestrictions
public StringField getRestrictions()
US driver license holders restrictions
-
getSex
public StringField getSex()
US driver license holders gender
-
getState
public StringField getState()
US State
-
getWeight
public StringField getWeight()
US driver license holders weight
-
canEqual
protected boolean canEqual(Object other)
-
-