Class MyNaturalPerson
- 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
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyNaturalPerson
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UntypedData>
@Entity @Indexed public class MyNaturalPerson extends MyPerson
Internal representation ofNaturalPersonfor 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
-
-
Constructor Summary
Constructors Constructor Description MyNaturalPerson()Default constructor forMyNaturalPersonis necessary for PojoInstantiator of HIBERNATE.MyNaturalPerson(UntypedData edal)Copy constructor to convert publicNaturalPersonto privateMyNaturalPerson.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetGivenName()MyORCIDgetOrcid()java.lang.StringgetSureName()voidsetGivenName(java.lang.String givenName)voidsetOrcid(MyORCID orcid)voidsetSureName(java.lang.String sureName)-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyPerson
getAddressLine, getCountry, getZip, setAddressLine, setCountry, setZip, 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
-
MyNaturalPerson
public MyNaturalPerson()
Default constructor forMyNaturalPersonis necessary for PojoInstantiator of HIBERNATE.
-
MyNaturalPerson
public MyNaturalPerson(UntypedData edal)
Copy constructor to convert publicNaturalPersonto privateMyNaturalPerson.- Parameters:
edal- the EDAL publicUntypedDataobject to be cloned
-
-
Method Detail
-
getGivenName
@Field(index=YES, store=YES) public java.lang.String getGivenName()- Returns:
- the givenName
-
setGivenName
public void setGivenName(java.lang.String givenName)
- Parameters:
givenName- the givenName to set
-
getSureName
@Field(index=YES, store=YES) public java.lang.String getSureName()- Returns:
- the sureName
-
setSureName
public void setSureName(java.lang.String sureName)
- Parameters:
sureName- the sureName to set
-
getOrcid
public MyORCID getOrcid()
-
setOrcid
public void setOrcid(MyORCID orcid)
-
-