Class MyPerson

    • Method Summary

      Modifier and Type Method Description
      java.lang.String getAddressLine()
      Getter for the field addressLine.
      java.lang.String getCountry()
      Getter for the field country.
      java.lang.String getZip()
      Getter for the field zip.
      void setAddressLine​(java.lang.String addressLine)
      Setter for the field addressLine.
      void setCountry​(java.lang.String country)
      Setter for the field country.
      void setZip​(java.lang.String zip)
      Setter for the field zip.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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.