Package iofXml.v3

Class Competitor

java.lang.Object
iofXml.v3.Competitor

public class Competitor extends Object
Represents information about a person in a competition context, i.e. including organisation and control card.

Java class for Competitor complex type

.

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


 <complexType name="Competitor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Person" type="{http://www.orienteering.org/datastandard/3.0}Person"/>
         <element name="Organisation" type="{http://www.orienteering.org/datastandard/3.0}Organisation" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ControlCard" type="{http://www.orienteering.org/datastandard/3.0}ControlCard" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Class" type="{http://www.orienteering.org/datastandard/3.0}Class" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Score" type="{http://www.orienteering.org/datastandard/3.0}Score" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
       </sequence>
       <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • person

      protected Person person
    • organisation

      protected List<Organisation> organisation
      The organisations that the person is member of.
    • controlCard

      protected List<ControlCard> controlCard
      The default control cards of the competitor.
    • clazz

      protected List<Class> clazz
      The default classes of the competitor.
    • score

      protected List<Score> score
      Any scores, e.g. ranking scores, for the person.
    • extensions

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

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Competitor

      public Competitor()
  • Method Details

    • getPerson

      public Person getPerson()
      Gets the value of the person property.
      Returns:
      possible object is Person
    • setPerson

      public void setPerson(Person value)
      Sets the value of the person property.
      Parameters:
      value - allowed object is Person
    • getOrganisation

      public List<Organisation> getOrganisation()
      The organisations that the person is member of. Gets the value of the organisation 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 organisation property.

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

       getOrganisation().add(newItem);
       

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

      Returns:
      The value of the organisation property.
    • getControlCard

      public List<ControlCard> getControlCard()
      The default control cards of the competitor. Gets the value of the controlCard 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 controlCard property.

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

       getControlCard().add(newItem);
       

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

      Returns:
      The value of the controlCard property.
    • getClazz

      public List<Class> getClazz()
      The default classes of the competitor. Gets the value of the clazz 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 clazz property.

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

       getClazz().add(newItem);
       

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

      Returns:
      The value of the clazz property.
    • getScore

      public List<Score> getScore()
      Any scores, e.g. ranking scores, for the person. Gets the value of the score 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 score property.

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

       getScore().add(newItem);
       

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

      Returns:
      The value of the score 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:
    • 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