Package iofXml.v3

Class Race

  • All Implemented Interfaces:

    
    public class Race
    
                        

    An event consists of a number of races. The number is equal to the number of times a competitor should start.

    Java class for Race complex type

    .

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

    
    <complexType name="Race">
      <complexContent>
        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
          <sequence>
            <element name="RaceNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/>
            <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
            <element name="StartTime" type="{http://www.orienteering.org/datastandard/3.0}DateAndOptionalTime" minOccurs="0"/>
            <element name="EndTime" type="{http://www.orienteering.org/datastandard/3.0}DateAndOptionalTime" minOccurs="0"/>
            <element name="Status" type="{http://www.orienteering.org/datastandard/3.0}EventStatus" minOccurs="0"/>
            <element name="Classification" type="{http://www.orienteering.org/datastandard/3.0}EventClassification" minOccurs="0"/>
            <element name="Position" type="{http://www.orienteering.org/datastandard/3.0}GeoPosition" minOccurs="0"/>
            <element name="Discipline" type="{http://www.orienteering.org/datastandard/3.0}RaceDiscipline" maxOccurs="unbounded" minOccurs="0"/>
            <element name="Organiser" type="{http://www.orienteering.org/datastandard/3.0}Organisation" maxOccurs="unbounded" minOccurs="0"/>
            <element name="Official" type="{http://www.orienteering.org/datastandard/3.0}Role" maxOccurs="unbounded" minOccurs="0"/>
            <element name="Service" type="{http://www.orienteering.org/datastandard/3.0}Service" maxOccurs="unbounded" minOccurs="0"/>
            <element name="URL" type="{http://www.orienteering.org/datastandard/3.0}EventURL" 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>
    
    • Constructor Detail

      • Race

        Race()
    • Method Detail

      • getName

         String getName()

        Gets the value of the name property.

        Returns:

        possibleobject is String

      • setName

         void setName(String value)

        Sets the value of the name property.

        Parameters:
        value - allowed object is String
      • getStatus

         EventStatus getStatus()

        The status of the race. This element overrides the Status element of the parent Event element.

        Returns:

        possibleobject is EventStatus

      • getDiscipline

         List<RaceDiscipline> getDiscipline()

        Gets the value of the discipline 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 discipline property.

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

        getDiscipline().add(newItem);
        

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

        Returns:

        Thevalue of the discipline property.

      • getOrganiser

         List<Organisation> getOrganiser()

        The organisations that organise the event. Gets the value of the organiser 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 organiser property.

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

        getOrganiser().add(newItem);
        

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

        Returns:

        Thevalue of the organiser property.

      • getOfficial

         List<Role> getOfficial()

        The main officials of the event, e.g. course setter and event president. Gets the value of the official 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 official property.

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

        getOfficial().add(newItem);
        

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

        Returns:

        Thevalue of the official property.

      • getService

         List<Service> getService()

        The services available for the race, e.g. accomodation and transport. Gets the value of the service 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 service property.

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

        getService().add(newItem);
        

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

        Returns:

        Thevalue of the service property.

      • getURL

         List<EventURL> getURL()

        URLs to various types of additional information regarding the event, e.g. event website or result list. Gets the value of the url 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 url property.

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

        getURL().add(newItem);
        

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

        Returns:

        Thevalue of the url property.