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 ofNaturalPerson
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
-
-
Constructor Summary
Constructors Constructor Description MyNaturalPerson()
Default constructor forMyNaturalPerson
is necessary for PojoInstantiator of HIBERNATE.MyNaturalPerson(UntypedData edal)
Copy constructor to convert publicNaturalPerson
to privateMyNaturalPerson
.
-
Method Summary
Modifier and Type Method Description java.lang.String
getGivenName()
MyORCID
getOrcid()
java.lang.String
getSureName()
void
setGivenName(java.lang.String givenName)
void
setOrcid(MyORCID orcid)
void
setSureName(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 forMyNaturalPerson
is necessary for PojoInstantiator of HIBERNATE.
-
MyNaturalPerson
public MyNaturalPerson(UntypedData edal)
Copy constructor to convert publicNaturalPerson
to privateMyNaturalPerson
.- Parameters:
edal
- the EDAL publicUntypedData
object 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)
-
-