@Entity @Indexed public class MyPerson extends MyUntypedData
Person for persistence with
HIBERNATE.ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
MyPerson()
Default constructor for
MyPerson is necessary for
PojoInstantiator of HIBERNATE. |
MyPerson(UntypedData edal)
|
| Modifier and Type | Method and 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() |
getId, getString, setId, setStringcompareTo, equals, hashCode, toHTMLpublic MyPerson()
MyPerson is necessary for
PojoInstantiator of HIBERNATE.public MyPerson(UntypedData edal)
edal - the EDAL public UntypedData object to be cloned@Field(index=YES,
store=YES)
public java.lang.String getAddressLine()
addressLine.Person.@Field(index=YES,
store=YES)
public java.lang.String getCountry()
country.Person.@Field(index=YES,
store=YES)
public java.lang.String getZip()
zip.Person.public void setAddressLine(java.lang.String addressLine)
addressLine.addressLine - the address line of the Person.public void setCountry(java.lang.String country)
country.country - the country of the Person.public void setZip(java.lang.String zip)
zip.zip - the zip of the Person.public java.lang.String toString()
toString in class UntypedData