Class PersonType
- java.lang.Object
-
- eu.europa.data.europass.model.credentials_.AgentType
-
- eu.europa.data.europass.model.credentials_.PersonType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Cloneable
- Direct Known Subclasses:
CredentialSubjectType
@CodingStyleguideUnaware public class PersonType extends AgentType
Java class for PersonType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonType"> <complexContent> <extension base="{http://data.europa.eu/europass/model/credentials#}AgentType"> <sequence> <element name="nationalId" type="{http://data.europa.eu/europass/model/credentials#}LegalIdentifierType"/> <element name="identifier" type="{http://data.europa.eu/europass/model/credentials#}IdentifierType" maxOccurs="unbounded" minOccurs="0"/> <element name="fullName" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType" minOccurs="0"/> <element name="givenNames" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType"/> <element name="familyName" type="{http://data.europa.eu/europass/model/credentials#}LanguageStringType"/> <element name="dateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="placeOfBirth" type="{http://data.europa.eu/europass/model/credentials#}LocationType" minOccurs="0"/> <element name="gender" type="{http://data.europa.eu/europass/model/credentials#}PersonGenderCodeType" minOccurs="0"/> <element name="citizenshipCountry" type="{http://data.europa.eu/europass/model/credentials#}PersonCountryCodeType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
This class contains methods created by ph-jaxb22-plugin -Xph-offset-dt-extension
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.europa.data.europass.model.credentials_.AgentType
AgentType.Type
-
-
Constructor Summary
Constructors Constructor Description PersonType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCitizenshipCountry(PersonCountryCodeType elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddPersonIdentifier(IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extensionPersonTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(PersonType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeList<PersonCountryCodeType>getCitizenshipCountry()Gets the value of the citizenshipCountry property.PersonCountryCodeTypegetCitizenshipCountryAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetCitizenshipCountryCount()Created by ph-jaxb22-plugin -Xph-list-extensioncom.helger.commons.datetime.OffsetDategetDateOfBirth()Gets the value of the dateOfBirth property.LocalDategetDateOfBirthLocal()Created by ph-jaxb22-plugin -Xph-offset-dt-extensionLanguageStringTypegetFamilyName()Gets the value of the familyName property.LanguageStringTypegetFullName()Gets the value of the fullName property.PersonGenderCodeTypegetGender()Gets the value of the gender property.LanguageStringTypegetGivenNames()Gets the value of the givenNames property.LegalIdentifierTypegetNationalId()Gets the value of the nationalId property.StringgetNationalIdValue()Get the value of the contained LegalIdentifierType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extenderList<IdentifierType>getPersonIdentifier()Gets the value of the personIdentifier property.IdentifierTypegetPersonIdentifierAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetPersonIdentifierCount()Created by ph-jaxb22-plugin -Xph-list-extensionLocationTypegetPlaceOfBirth()Gets the value of the placeOfBirth property.booleanhasCitizenshipCountryEntries()Created by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasNoCitizenshipCountryEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoPersonIdentifierEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasPersonIdentifierEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetCitizenshipCountry(List<PersonCountryCodeType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetDateOfBirth(com.helger.commons.datetime.OffsetDate value)Sets the value of the dateOfBirth property.voidsetDateOfBirth(LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extensionvoidsetFamilyName(LanguageStringType value)Sets the value of the familyName property.voidsetFullName(LanguageStringType value)Sets the value of the fullName property.voidsetGender(PersonGenderCodeType value)Sets the value of the gender property.voidsetGivenNames(LanguageStringType value)Sets the value of the givenNames property.voidsetNationalId(LegalIdentifierType value)Sets the value of the nationalId property.LegalIdentifierTypesetNationalId(String valueParam)Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extendervoidsetPersonIdentifier(List<IdentifierType> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetPlaceOfBirth(LocationType value)Sets the value of the placeOfBirth property.StringtoString()Created by ph-jaxb22-plugin -Xph-tostring-
Methods inherited from class eu.europa.data.europass.model.credentials_.AgentType
addAdditionalNote, addAltLabel, addContactPoint, addHasLocation, addIdentifier, addPrefLabel, addType, cloneTo, getAdditionalNote, getAdditionalNoteAtIndex, getAdditionalNoteCount, getAltLabel, getAltLabelAtIndex, getAltLabelCount, getContactPoint, getContactPointAtIndex, getContactPointCount, getHasLocation, getHasLocationAtIndex, getHasLocationCount, getId, getIdentifier, getIdentifierAtIndex, getIdentifierCount, getPrefLabel, getPrefLabelAtIndex, getPrefLabelCount, getType, getTypeAtIndex, getTypeCount, hasAdditionalNoteEntries, hasAltLabelEntries, hasContactPointEntries, hasHasLocationEntries, hasIdentifierEntries, hasNoAdditionalNoteEntries, hasNoAltLabelEntries, hasNoContactPointEntries, hasNoHasLocationEntries, hasNoIdentifierEntries, hasNoPrefLabelEntries, hasNoTypeEntries, hasPrefLabelEntries, hasTypeEntries, setAdditionalNote, setAltLabel, setContactPoint, setHasLocation, setId, setIdentifier, setPrefLabel, setType
-
-
-
-
Method Detail
-
getNationalId
@Nullable public LegalIdentifierType getNationalId()
Gets the value of the nationalId property.- Returns:
- possible object is
LegalIdentifierType
-
setNationalId
public void setNationalId(@Nullable LegalIdentifierType value)Sets the value of the nationalId property.- Parameters:
value- allowed object isLegalIdentifierType
-
getPersonIdentifier
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<IdentifierType> getPersonIdentifier()Gets the value of the personIdentifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the personIdentifier property.For example, to add a new item, do as follows:
getPersonIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
IdentifierType
-
getFullName
@Nullable public LanguageStringType getFullName()
Gets the value of the fullName property.- Returns:
- possible object is
LanguageStringType
-
setFullName
public void setFullName(@Nullable LanguageStringType value)Sets the value of the fullName property.- Parameters:
value- allowed object isLanguageStringType
-
getGivenNames
@Nullable public LanguageStringType getGivenNames()
Gets the value of the givenNames property.- Returns:
- possible object is
LanguageStringType
-
setGivenNames
public void setGivenNames(@Nullable LanguageStringType value)Sets the value of the givenNames property.- Parameters:
value- allowed object isLanguageStringType
-
getFamilyName
@Nullable public LanguageStringType getFamilyName()
Gets the value of the familyName property.- Returns:
- possible object is
LanguageStringType
-
setFamilyName
public void setFamilyName(@Nullable LanguageStringType value)Sets the value of the familyName property.- Parameters:
value- allowed object isLanguageStringType
-
getDateOfBirth
@Nullable public com.helger.commons.datetime.OffsetDate getDateOfBirth()
Gets the value of the dateOfBirth property.- Returns:
- possible object is
String
-
setDateOfBirth
public void setDateOfBirth(@Nullable com.helger.commons.datetime.OffsetDate value)Sets the value of the dateOfBirth property.- Parameters:
value- allowed object isString
-
getPlaceOfBirth
@Nullable public LocationType getPlaceOfBirth()
Gets the value of the placeOfBirth property.- Returns:
- possible object is
LocationType
-
setPlaceOfBirth
public void setPlaceOfBirth(@Nullable LocationType value)Sets the value of the placeOfBirth property.- Parameters:
value- allowed object isLocationType
-
getGender
@Nullable public PersonGenderCodeType getGender()
Gets the value of the gender property.- Returns:
- possible object is
PersonGenderCodeType
-
setGender
public void setGender(@Nullable PersonGenderCodeType value)Sets the value of the gender property.- Parameters:
value- allowed object isPersonGenderCodeType
-
getCitizenshipCountry
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<PersonCountryCodeType> getCitizenshipCountry()Gets the value of the citizenshipCountry property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the citizenshipCountry property.For example, to add a new item, do as follows:
getCitizenshipCountry().add(newItem);Objects of the following type(s) are allowed in the list
PersonCountryCodeType
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
setPersonIdentifier
public void setPersonIdentifier(@Nullable List<IdentifierType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setCitizenshipCountry
public void setCitizenshipCountry(@Nullable List<PersonCountryCodeType> aList)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasPersonIdentifierEntries
public boolean hasPersonIdentifierEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoPersonIdentifierEntries
public boolean hasNoPersonIdentifierEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getPersonIdentifierCount
@Nonnegative public int getPersonIdentifierCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getPersonIdentifierAtIndex
@Nullable public IdentifierType getPersonIdentifierAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addPersonIdentifier
public void addPersonIdentifier(@Nonnull IdentifierType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasCitizenshipCountryEntries
public boolean hasCitizenshipCountryEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoCitizenshipCountryEntries
public boolean hasNoCitizenshipCountryEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getCitizenshipCountryCount
@Nonnegative public int getCitizenshipCountryCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getCitizenshipCountryAtIndex
@Nullable public PersonCountryCodeType getCitizenshipCountryAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addCitizenshipCountry
public void addCitizenshipCountry(@Nonnull PersonCountryCodeType elem)Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull PersonType ret)This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public PersonType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
setNationalId
@Nonnull public LegalIdentifierType setNationalId(@Nullable String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Parameters:
valueParam- The value to be set. May benull.- Returns:
- The created intermediary object of type LegalIdentifierType and never
null
-
getNationalIdValue
@Nullable public String getNationalIdValue()
Get the value of the contained LegalIdentifierType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender- Returns:
- Either the value of the contained LegalIdentifierType object or
null
-
getDateOfBirthLocal
@Nullable public LocalDate getDateOfBirthLocal()
Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Returns:
- The LocalDate representation of dateOfBirth. May be
null.
-
setDateOfBirth
public void setDateOfBirth(@Nullable LocalDate aValue)Created by ph-jaxb22-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDate to set. May benull.
-
-