Package iofXml.v3

Class Person

  • All Implemented Interfaces:

    
    public class Person
    
                        

    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>
    
    • Constructor Detail

      • Person

        Person()
    • Method Detail

      • getId

         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:

        Thevalue of the id property.

      • setNationality

         void setNationality(Country value)

        Sets the value of the nationality property.

        Parameters:
        value - allowed object is Country
      • getAddress

         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:

        Thevalue of the address property.

      • getContact

         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:

        Thevalue of the contact property.

      • getSex

         String getSex()

        Gets the value of the sex property.

        Returns:

        possibleobject is String

      • setSex

         void setSex(String value)

        Sets the value of the sex property.

        Parameters:
        value - allowed object is String