All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fpml.fpml_5.confirmation.Person Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.07.26 at 10:31:12 AM UTC 
//


package org.fpml.fpml_5.confirmation;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * A type that represents information about a person connected with a trade or business process.
 * 
 * 

Java class for Person complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Person">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <sequence minOccurs="0">
 *           <element name="honorific" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" minOccurs="0"/>
 *           <element name="firstName" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/>
 *           <choice minOccurs="0">
 *             <element name="middleName" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" maxOccurs="unbounded"/>
 *             <element name="initial" type="{http://www.fpml.org/FpML-5/confirmation}Initial" maxOccurs="unbounded"/>
 *           </choice>
 *           <element name="surname" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/>
 *           <element name="suffix" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" minOccurs="0"/>
 *         </sequence>
 *         <element name="personId" type="{http://www.fpml.org/FpML-5/confirmation}PersonId" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="businessUnitReference" type="{http://www.fpml.org/FpML-5/confirmation}BusinessUnitReference" minOccurs="0"/>
 *         <element name="contactInfo" type="{http://www.fpml.org/FpML-5/confirmation}ContactInformation" minOccurs="0"/>
 *         <element name="dateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="country" type="{http://www.fpml.org/FpML-5/confirmation}CountryCode" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Person", propOrder = { "honorific", "firstName", "middleName", "initial", "surname", "suffix", "personId", "businessUnitReference", "contactInfo", "dateOfBirth", "country" }) public class Person { @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String honorific; @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String firstName; @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected List middleName; @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected List initial; @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String surname; @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String suffix; protected List personId; protected BusinessUnitReference businessUnitReference; protected ContactInformation contactInfo; @XmlSchemaType(name = "date") protected XMLGregorianCalendar dateOfBirth; protected CountryCode country; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the honorific property. * * @return * possible object is * {@link String } * */ public String getHonorific() { return honorific; } /** * Sets the value of the honorific property. * * @param value * allowed object is * {@link String } * */ public void setHonorific(String value) { this.honorific = value; } /** * Gets the value of the firstName property. * * @return * possible object is * {@link String } * */ public String getFirstName() { return firstName; } /** * Sets the value of the firstName property. * * @param value * allowed object is * {@link String } * */ public void setFirstName(String value) { this.firstName = value; } /** * Gets the value of the middleName 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 set method for the middleName property. * *

* For example, to add a new item, do as follows: *

     *    getMiddleName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getMiddleName() { if (middleName == null) { middleName = new ArrayList(); } return this.middleName; } /** * Gets the value of the initial 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 set method for the initial property. * *

* For example, to add a new item, do as follows: *

     *    getInitial().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getInitial() { if (initial == null) { initial = new ArrayList(); } return this.initial; } /** * Gets the value of the surname property. * * @return * possible object is * {@link String } * */ public String getSurname() { return surname; } /** * Sets the value of the surname property. * * @param value * allowed object is * {@link String } * */ public void setSurname(String value) { this.surname = value; } /** * Gets the value of the suffix property. * * @return * possible object is * {@link String } * */ public String getSuffix() { return suffix; } /** * Sets the value of the suffix property. * * @param value * allowed object is * {@link String } * */ public void setSuffix(String value) { this.suffix = value; } /** * Gets the value of the personId 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 set method for the personId property. * *

* For example, to add a new item, do as follows: *

     *    getPersonId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PersonId } * * */ public List getPersonId() { if (personId == null) { personId = new ArrayList(); } return this.personId; } /** * Gets the value of the businessUnitReference property. * * @return * possible object is * {@link BusinessUnitReference } * */ public BusinessUnitReference getBusinessUnitReference() { return businessUnitReference; } /** * Sets the value of the businessUnitReference property. * * @param value * allowed object is * {@link BusinessUnitReference } * */ public void setBusinessUnitReference(BusinessUnitReference value) { this.businessUnitReference = value; } /** * Gets the value of the contactInfo property. * * @return * possible object is * {@link ContactInformation } * */ public ContactInformation getContactInfo() { return contactInfo; } /** * Sets the value of the contactInfo property. * * @param value * allowed object is * {@link ContactInformation } * */ public void setContactInfo(ContactInformation value) { this.contactInfo = value; } /** * Gets the value of the dateOfBirth property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDateOfBirth() { return dateOfBirth; } /** * Sets the value of the dateOfBirth property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDateOfBirth(XMLGregorianCalendar value) { this.dateOfBirth = value; } /** * Gets the value of the country property. * * @return * possible object is * {@link CountryCode } * */ public CountryCode getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link CountryCode } * */ public void setCountry(CountryCode value) { this.country = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy