Class Person

java.lang.Object
iofXml.v3.Person

public class Person extends Object
Represents a person. This could either be a competitor (see the Competitor element) or contact persons in an organisation (see the Organisation element).

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>
        <element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" maxOccurs="unbounded" minOccurs="0"/>
        <element name="Name" type="{http://www.orienteering.org/datastandard/3.0}PersonName"/>
        <element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
        <element name="Nationality" type="{http://www.orienteering.org/datastandard/3.0}Country" minOccurs="0"/>
        <element name="Address" type="{http://www.orienteering.org/datastandard/3.0}Address" maxOccurs="unbounded" minOccurs="0"/>
        <element name="Contact" type="{http://www.orienteering.org/datastandard/3.0}Contact" maxOccurs="unbounded" minOccurs="0"/>
        <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
      </sequence>
      <attribute name="sex">
        <simpleType>
          <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
            <enumeration value="F"/>
            <enumeration value="M"/>
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
    </restriction>
  </complexContent>
</complexType>
  • Field Details

    • id

      protected List<Id> id
      The identifier of the person. Multiple identifiers can be included, e.g. when there is both a World Ranking Event identifier and a national database identifier for the person.
    • name

      protected PersonName name
    • birthDate

      protected XMLGregorianCalendar birthDate
      The date when the person was born, expressed in ISO 8601 format.
    • nationality

      protected Country nationality
    • address

      protected List<Address> address
    • contact

      protected List<Contact> contact
    • extensions

      protected Extensions extensions
      Container element for custom elements from other schemas.
    • sex

      protected String sex
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Person

      public Person()
  • Method Details

    • getId

      public List<Id> getId()
      The identifier of the person. Multiple identifiers can be included, e.g. when there is both a World Ranking Event identifier and a national database identifier for the person. Gets the value of the id 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 id property.

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

      getId().add(newItem);
      

      Objects of the following type(s) are allowed in the list Id

      Returns:
      The value of the id property.
    • getName

      public PersonName getName()
      Gets the value of the name property.
      Returns:
      possible object is PersonName
    • setName

      public void setName(PersonName value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is PersonName
    • getBirthDate

      public XMLGregorianCalendar getBirthDate()
      The date when the person was born, expressed in ISO 8601 format.
      Returns:
      possible object is XMLGregorianCalendar
    • setBirthDate

      public void setBirthDate(XMLGregorianCalendar value)
      Sets the value of the birthDate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getNationality

      public Country getNationality()
      Gets the value of the nationality property.
      Returns:
      possible object is Country
    • setNationality

      public void setNationality(Country value)
      Sets the value of the nationality property.
      Parameters:
      value - allowed object is Country
    • getAddress

      public List<Address> getAddress()
      Gets the value of the address 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 address property.

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

      getAddress().add(newItem);
      

      Objects of the following type(s) are allowed in the list Address

      Returns:
      The value of the address property.
    • getContact

      public List<Contact> getContact()
      Gets the value of the contact 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 contact property.

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

      getContact().add(newItem);
      

      Objects of the following type(s) are allowed in the list Contact

      Returns:
      The value of the contact property.
    • getExtensions

      public Extensions getExtensions()
      Container element for custom elements from other schemas.
      Returns:
      possible object is Extensions
    • setExtensions

      public void setExtensions(Extensions value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is Extensions
      See Also:
    • getSex

      public String getSex()
      Gets the value of the sex property.
      Returns:
      possible object is String
    • setSex

      public void setSex(String value)
      Sets the value of the sex property.
      Parameters:
      value - allowed object is String
    • getModifyTime

      public XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModifyTime

      public void setModifyTime(XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar