Class MyPerson
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyPerson
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UntypedData>
- Direct Known Subclasses:
MyLegalPerson,MyNaturalPerson,MyPersons
@Entity @Indexed public class MyPerson extends MyUntypedData
Internal representation ofPersonfor persistence with HIBERNATE.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAddressLine()Getter for the fieldaddressLine.java.lang.StringgetCountry()Getter for the fieldcountry.java.lang.StringgetZip()Getter for the fieldzip.voidsetAddressLine(java.lang.String addressLine)Setter for the fieldaddressLine.voidsetCountry(java.lang.String country)Setter for the fieldcountry.voidsetZip(java.lang.String zip)Setter for the fieldzip.java.lang.StringtoString()-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
getId, getString, setId, setString
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
compareTo, equals, hashCode, toHTML
-
-
-
-
Constructor Detail
-
MyPerson
public MyPerson()
Default constructor forMyPersonis necessary for PojoInstantiator of HIBERNATE.
-
MyPerson
public MyPerson(UntypedData edal)
- Parameters:
edal- the EDAL publicUntypedDataobject to be cloned
-
-
Method Detail
-
getAddressLine
@Field(index=YES, store=YES) public java.lang.String getAddressLine()Getter for the fieldaddressLine.- Returns:
- address line of the
Person.
-
getCountry
@Field(index=YES, store=YES) public java.lang.String getCountry()Getter for the fieldcountry.- Returns:
- country of the
Person.
-
getZip
@Field(index=YES, store=YES) public java.lang.String getZip()Getter for the fieldzip.- Returns:
- zip of the
Person.
-
setAddressLine
public void setAddressLine(java.lang.String addressLine)
Setter for the fieldaddressLine.- Parameters:
addressLine- the address line of thePerson.
-
setCountry
public void setCountry(java.lang.String country)
Setter for the fieldcountry.- Parameters:
country- the country of thePerson.
-
setZip
public void setZip(java.lang.String zip)
Setter for the fieldzip.- Parameters:
zip- the zip of thePerson.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUntypedData
-
-