Class PersonType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PersonType
-
public class PersonType extends Object
Java class for PersonType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FirstName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FamilyName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Title" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MiddleName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OtherName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NameSuffix" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}JobTitle" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NationalityID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}GenderCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BirthDate" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BirthplaceName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OrganizationDepartment" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}FinancialAccount" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}IdentityDocumentReference" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ResidenceAddress" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BirthDateTypebirthDateprotected BirthplaceNameTypebirthplaceNameprotected ContactTypecontactprotected FamilyNameTypefamilyNameprotected FinancialAccountTypefinancialAccountprotected FirstNameTypefirstNameprotected GenderCodeTypegenderCodeprotected IDTypeidprotected List<DocumentReferenceType>identityDocumentReferenceprotected JobTitleTypejobTitleprotected MiddleNameTypemiddleNameprotected NameSuffixTypenameSuffixprotected NationalityIDTypenationalityIDprotected OrganizationDepartmentTypeorganizationDepartmentprotected OtherNameTypeotherNameprotected AddressTyperesidenceAddressprotected TitleTypetitle
-
Constructor Summary
Constructors Constructor Description PersonType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BirthDateTypegetBirthDate()Gets the value of the birthDate property.BirthplaceNameTypegetBirthplaceName()Gets the value of the birthplaceName property.ContactTypegetContact()Gets the value of the contact property.FamilyNameTypegetFamilyName()Gets the value of the familyName property.FinancialAccountTypegetFinancialAccount()Gets the value of the financialAccount property.FirstNameTypegetFirstName()Gets the value of the firstName property.GenderCodeTypegetGenderCode()Gets the value of the genderCode property.IDTypegetID()Gets the value of the id property.List<DocumentReferenceType>getIdentityDocumentReference()Gets the value of the identityDocumentReference property.JobTitleTypegetJobTitle()Gets the value of the jobTitle property.MiddleNameTypegetMiddleName()Gets the value of the middleName property.NameSuffixTypegetNameSuffix()Gets the value of the nameSuffix property.NationalityIDTypegetNationalityID()Gets the value of the nationalityID property.OrganizationDepartmentTypegetOrganizationDepartment()Gets the value of the organizationDepartment property.OtherNameTypegetOtherName()Gets the value of the otherName property.AddressTypegetResidenceAddress()Gets the value of the residenceAddress property.TitleTypegetTitle()Gets the value of the title property.voidsetBirthDate(BirthDateType value)Sets the value of the birthDate property.voidsetBirthplaceName(BirthplaceNameType value)Sets the value of the birthplaceName property.voidsetContact(ContactType value)Sets the value of the contact property.voidsetFamilyName(FamilyNameType value)Sets the value of the familyName property.voidsetFinancialAccount(FinancialAccountType value)Sets the value of the financialAccount property.voidsetFirstName(FirstNameType value)Sets the value of the firstName property.voidsetGenderCode(GenderCodeType value)Sets the value of the genderCode property.voidsetID(IDType value)Sets the value of the id property.voidsetJobTitle(JobTitleType value)Sets the value of the jobTitle property.voidsetMiddleName(MiddleNameType value)Sets the value of the middleName property.voidsetNameSuffix(NameSuffixType value)Sets the value of the nameSuffix property.voidsetNationalityID(NationalityIDType value)Sets the value of the nationalityID property.voidsetOrganizationDepartment(OrganizationDepartmentType value)Sets the value of the organizationDepartment property.voidsetOtherName(OtherNameType value)Sets the value of the otherName property.voidsetResidenceAddress(AddressType value)Sets the value of the residenceAddress property.voidsetTitle(TitleType value)Sets the value of the title property.
-
-
-
Field Detail
-
id
protected IDType id
-
firstName
protected FirstNameType firstName
-
familyName
protected FamilyNameType familyName
-
title
protected TitleType title
-
middleName
protected MiddleNameType middleName
-
otherName
protected OtherNameType otherName
-
nameSuffix
protected NameSuffixType nameSuffix
-
jobTitle
protected JobTitleType jobTitle
-
nationalityID
protected NationalityIDType nationalityID
-
genderCode
protected GenderCodeType genderCode
-
birthDate
protected BirthDateType birthDate
-
birthplaceName
protected BirthplaceNameType birthplaceName
-
organizationDepartment
protected OrganizationDepartmentType organizationDepartment
-
contact
protected ContactType contact
-
financialAccount
protected FinancialAccountType financialAccount
-
identityDocumentReference
protected List<DocumentReferenceType> identityDocumentReference
-
residenceAddress
protected AddressType residenceAddress
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getFirstName
public FirstNameType getFirstName()
Gets the value of the firstName property.- Returns:
- possible object is
FirstNameType
-
setFirstName
public void setFirstName(FirstNameType value)
Sets the value of the firstName property.- Parameters:
value- allowed object isFirstNameType
-
getFamilyName
public FamilyNameType getFamilyName()
Gets the value of the familyName property.- Returns:
- possible object is
FamilyNameType
-
setFamilyName
public void setFamilyName(FamilyNameType value)
Sets the value of the familyName property.- Parameters:
value- allowed object isFamilyNameType
-
getTitle
public TitleType getTitle()
Gets the value of the title property.- Returns:
- possible object is
TitleType
-
setTitle
public void setTitle(TitleType value)
Sets the value of the title property.- Parameters:
value- allowed object isTitleType
-
getMiddleName
public MiddleNameType getMiddleName()
Gets the value of the middleName property.- Returns:
- possible object is
MiddleNameType
-
setMiddleName
public void setMiddleName(MiddleNameType value)
Sets the value of the middleName property.- Parameters:
value- allowed object isMiddleNameType
-
getOtherName
public OtherNameType getOtherName()
Gets the value of the otherName property.- Returns:
- possible object is
OtherNameType
-
setOtherName
public void setOtherName(OtherNameType value)
Sets the value of the otherName property.- Parameters:
value- allowed object isOtherNameType
-
getNameSuffix
public NameSuffixType getNameSuffix()
Gets the value of the nameSuffix property.- Returns:
- possible object is
NameSuffixType
-
setNameSuffix
public void setNameSuffix(NameSuffixType value)
Sets the value of the nameSuffix property.- Parameters:
value- allowed object isNameSuffixType
-
getJobTitle
public JobTitleType getJobTitle()
Gets the value of the jobTitle property.- Returns:
- possible object is
JobTitleType
-
setJobTitle
public void setJobTitle(JobTitleType value)
Sets the value of the jobTitle property.- Parameters:
value- allowed object isJobTitleType
-
getNationalityID
public NationalityIDType getNationalityID()
Gets the value of the nationalityID property.- Returns:
- possible object is
NationalityIDType
-
setNationalityID
public void setNationalityID(NationalityIDType value)
Sets the value of the nationalityID property.- Parameters:
value- allowed object isNationalityIDType
-
getGenderCode
public GenderCodeType getGenderCode()
Gets the value of the genderCode property.- Returns:
- possible object is
GenderCodeType
-
setGenderCode
public void setGenderCode(GenderCodeType value)
Sets the value of the genderCode property.- Parameters:
value- allowed object isGenderCodeType
-
getBirthDate
public BirthDateType getBirthDate()
Gets the value of the birthDate property.- Returns:
- possible object is
BirthDateType
-
setBirthDate
public void setBirthDate(BirthDateType value)
Sets the value of the birthDate property.- Parameters:
value- allowed object isBirthDateType
-
getBirthplaceName
public BirthplaceNameType getBirthplaceName()
Gets the value of the birthplaceName property.- Returns:
- possible object is
BirthplaceNameType
-
setBirthplaceName
public void setBirthplaceName(BirthplaceNameType value)
Sets the value of the birthplaceName property.- Parameters:
value- allowed object isBirthplaceNameType
-
getOrganizationDepartment
public OrganizationDepartmentType getOrganizationDepartment()
Gets the value of the organizationDepartment property.- Returns:
- possible object is
OrganizationDepartmentType
-
setOrganizationDepartment
public void setOrganizationDepartment(OrganizationDepartmentType value)
Sets the value of the organizationDepartment property.- Parameters:
value- allowed object isOrganizationDepartmentType
-
getContact
public ContactType getContact()
Gets the value of the contact property.- Returns:
- possible object is
ContactType
-
setContact
public void setContact(ContactType value)
Sets the value of the contact property.- Parameters:
value- allowed object isContactType
-
getFinancialAccount
public FinancialAccountType getFinancialAccount()
Gets the value of the financialAccount property.- Returns:
- possible object is
FinancialAccountType
-
setFinancialAccount
public void setFinancialAccount(FinancialAccountType value)
Sets the value of the financialAccount property.- Parameters:
value- allowed object isFinancialAccountType
-
getIdentityDocumentReference
public List<DocumentReferenceType> getIdentityDocumentReference()
Gets the value of the identityDocumentReference 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 identityDocumentReference property.For example, to add a new item, do as follows:
getIdentityDocumentReference().add(newItem);Objects of the following type(s) are allowed in the list
DocumentReferenceType
-
getResidenceAddress
public AddressType getResidenceAddress()
Gets the value of the residenceAddress property.- Returns:
- possible object is
AddressType
-
setResidenceAddress
public void setResidenceAddress(AddressType value)
Sets the value of the residenceAddress property.- Parameters:
value- allowed object isAddressType
-
-