Class MyPerson

    • Constructor Detail

      • MyPerson

        public MyPerson()
        Default constructor for MyPerson is necessary for PojoInstantiator of HIBERNATE.
    • Method Detail

      • getAddressLine

        @Field(index=YES,
               store=YES)
        public java.lang.String getAddressLine()
        Getter for the field addressLine.
        Returns:
        address line of the Person.
      • getCountry

        @Field(index=YES,
               store=YES)
        public java.lang.String getCountry()
        Getter for the field country.
        Returns:
        country of the Person.
      • getZip

        @Field(index=YES,
               store=YES)
        public java.lang.String getZip()
        Getter for the field zip.
        Returns:
        zip of the Person.
      • setAddressLine

        public void setAddressLine​(java.lang.String addressLine)
        Setter for the field addressLine.
        Parameters:
        addressLine - the address line of the Person.
      • setCountry

        public void setCountry​(java.lang.String country)
        Setter for the field country.
        Parameters:
        country - the country of the Person.
      • setZip

        public void setZip​(java.lang.String zip)
        Setter for the field zip.
        Parameters:
        zip - the zip of the Person.