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 ofPerson
for 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.String
getAddressLine()
Getter for the fieldaddressLine
.java.lang.String
getCountry()
Getter for the fieldcountry
.java.lang.String
getZip()
Getter for the fieldzip
.void
setAddressLine(java.lang.String addressLine)
Setter for the fieldaddressLine
.void
setCountry(java.lang.String country)
Setter for the fieldcountry
.void
setZip(java.lang.String zip)
Setter for the fieldzip
.java.lang.String
toString()
-
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 forMyPerson
is necessary for PojoInstantiator of HIBERNATE.
-
MyPerson
public MyPerson(UntypedData edal)
- Parameters:
edal
- the EDAL publicUntypedData
object 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:
toString
in classUntypedData
-
-