Class BusinessCardV1Document


  • public class BusinessCardV1Document
    extends Prediction
    Business Card API version 1.0 document data.
    • 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.
    • Constructor Detail

      • BusinessCardV1Document

        public BusinessCardV1Document()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from class: Prediction
        Returns true if there are no predictions values. Accessing prediction values when this is true may result in a NullPointerException
        Specified by:
        isEmpty in class Prediction
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object