Package iofXml.v3

Class Race

java.lang.Object
iofXml.v3.Race

public class Race extends Object
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>
 
  • Field Details

    • raceNumber

      protected BigInteger raceNumber
      The ordinal number of the race in the multi-race event, starting at 1.
    • name

      protected String name
    • startTime

      protected DateAndOptionalTime startTime
      The start time for the first starting competitor of the race.
    • endTime

      protected DateAndOptionalTime endTime
      The time when the finish closes.
    • status

      protected EventStatus status
      The status of the race. This element overrides the Status element of the parent Event element.
    • classification

      protected EventClassification classification
      The classification or level of the race. This element overrides the Classification element of the parent Event element.
    • position

      protected GeoPosition position
      The geographical location of the arena.
    • discipline

      protected List<RaceDiscipline> discipline
    • organiser

      protected List<Organisation> organiser
      The organisations that organise the event.
    • official

      protected List<Role> official
      The main officials of the event, e.g. course setter and event president.
    • service

      protected List<Service> service
      The services available for the race, e.g. accomodation and transport.
    • url

      protected List<EventURL> url
      URLs to various types of additional information regarding the event, e.g. event website or result list.
    • extensions

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

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Race

      public Race()
  • Method Details

    • getRaceNumber

      public BigInteger getRaceNumber()
      The ordinal number of the race in the multi-race event, starting at 1.
      Returns:
      possible object is BigInteger
    • setRaceNumber

      public void setRaceNumber(BigInteger value)
      Sets the value of the raceNumber property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getName

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

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

      public DateAndOptionalTime getStartTime()
      The start time for the first starting competitor of the race.
      Returns:
      possible object is DateAndOptionalTime
    • setStartTime

      public void setStartTime(DateAndOptionalTime value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is DateAndOptionalTime
      See Also:
    • getEndTime

      public DateAndOptionalTime getEndTime()
      The time when the finish closes.
      Returns:
      possible object is DateAndOptionalTime
    • setEndTime

      public void setEndTime(DateAndOptionalTime value)
      Sets the value of the endTime property.
      Parameters:
      value - allowed object is DateAndOptionalTime
      See Also:
    • getStatus

      public EventStatus getStatus()
      The status of the race. This element overrides the Status element of the parent Event element.
      Returns:
      possible object is EventStatus
    • setStatus

      public void setStatus(EventStatus value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is EventStatus
      See Also:
    • getClassification

      public EventClassification getClassification()
      The classification or level of the race. This element overrides the Classification element of the parent Event element.
      Returns:
      possible object is EventClassification
    • setClassification

      public void setClassification(EventClassification value)
      Sets the value of the classification property.
      Parameters:
      value - allowed object is EventClassification
      See Also:
    • getPosition

      public GeoPosition getPosition()
      The geographical location of the arena.
      Returns:
      possible object is GeoPosition
    • setPosition

      public void setPosition(GeoPosition value)
      Sets the value of the position property.
      Parameters:
      value - allowed object is GeoPosition
      See Also:
    • getDiscipline

      public 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:
      The value of the discipline property.
    • getOrganiser

      public 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:
      The value of the organiser property.
    • getOfficial

      public 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:
      The value of the official property.
    • getService

      public 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:
      The value of the service property.
    • getURL

      public 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:
      The value of the url 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