Package com.mindee.product.businesscard
Class BusinessCardV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.businesscard.BusinessCardV1Document
-
public class BusinessCardV1Document extends Prediction
Business Card API version 1.0 document data.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringFieldaddressThe address of the person.protected StringFieldcompanyThe company the person works for.protected StringFieldemailThe email address of the person.protected StringFieldfaxNumberThe Fax number of the person.protected StringFieldfirstnameThe given name of the person.protected StringFieldjobTitleThe job title of the person.protected StringFieldlastnameThe lastname of the person.protected StringFieldmobileNumberThe mobile number of the person.protected StringFieldphoneNumberThe phone number of the person.protected List<StringField>socialMediaThe social media profiles of the person or company.protected StringFieldwebsiteThe website of the person or company.
-
Constructor Summary
Constructors Constructor Description BusinessCardV1Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringFieldgetAddress()The address of the person.StringFieldgetCompany()The company the person works for.StringFieldgetEmail()The email address of the person.StringFieldgetFaxNumber()The Fax number of the person.StringFieldgetFirstname()The given name of the person.StringFieldgetJobTitle()The job title of the person.StringFieldgetLastname()The lastname of the person.StringFieldgetMobileNumber()The mobile number of the person.StringFieldgetPhoneNumber()The phone number of the person.List<StringField>getSocialMedia()The social media profiles of the person or company.StringFieldgetWebsite()The website of the person or company.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
Field Detail
-
address
protected StringField address
The address of the person.
-
company
protected StringField company
The company the person works for.
-
email
protected StringField email
The email address of the person.
-
faxNumber
protected StringField faxNumber
The Fax number of the person.
-
firstname
protected StringField firstname
The given name of the person.
-
jobTitle
protected StringField jobTitle
The job title of the person.
-
lastname
protected StringField lastname
The lastname of the person.
-
mobileNumber
protected StringField mobileNumber
The mobile number of the person.
-
phoneNumber
protected StringField phoneNumber
The phone number of the person.
-
socialMedia
protected List<StringField> socialMedia
The social media profiles of the person or company.
-
website
protected StringField website
The website of the person or company.
-
-
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
-
getAddress
public StringField getAddress()
The address of the person.
-
getCompany
public StringField getCompany()
The company the person works for.
-
getEmail
public StringField getEmail()
The email address of the person.
-
getFaxNumber
public StringField getFaxNumber()
The Fax number of the person.
-
getFirstname
public StringField getFirstname()
The given name of the person.
-
getJobTitle
public StringField getJobTitle()
The job title of the person.
-
getLastname
public StringField getLastname()
The lastname of the person.
-
getMobileNumber
public StringField getMobileNumber()
The mobile number of the person.
-
getPhoneNumber
public StringField getPhoneNumber()
The phone number of the person.
-
getSocialMedia
public List<StringField> getSocialMedia()
The social media profiles of the person or company.
-
getWebsite
public StringField getWebsite()
The website of the person or company.
-
canEqual
protected boolean canEqual(Object other)
-
-