Class Race
-
- All Implemented Interfaces:
public class RaceAn 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 Summary
Constructors Constructor Description Race()
-
Method Summary
Modifier and Type Method Description BigIntegergetRaceNumber()The ordinal number of the race in the multi-race event, starting at 1. voidsetRaceNumber(BigInteger value)Sets the value of the raceNumber property. StringgetName()Gets the value of the name property. voidsetName(String value)Sets the value of the name property. DateAndOptionalTimegetStartTime()The start time for the first starting competitor of the race. voidsetStartTime(DateAndOptionalTime value)Sets the value of the startTime property. DateAndOptionalTimegetEndTime()The time when the finish closes. voidsetEndTime(DateAndOptionalTime value)Sets the value of the endTime property. EventStatusgetStatus()The status of the race. voidsetStatus(EventStatus value)Sets the value of the status property. EventClassificationgetClassification()The classification or level of the race. voidsetClassification(EventClassification value)Sets the value of the classification property. GeoPositiongetPosition()The geographical location of the arena. voidsetPosition(GeoPosition value)Sets the value of the position property. List<RaceDiscipline>getDiscipline()Gets the value of the discipline property. List<Organisation>getOrganiser()The organisations that organise the event. List<Role>getOfficial()The main officials of the event, e.g. List<Service>getService()The services available for the race, e.g. List<EventURL>getURL()URLs to various types of additional information regarding the event, e.g. ExtensionsgetExtensions()Container element for custom elements from other schemas. voidsetExtensions(Extensions value)Sets the value of the extensions property. XMLGregorianCalendargetModifyTime()Gets the value of the modifyTime property. voidsetModifyTime(XMLGregorianCalendar value)Sets the value of the modifyTime property. -
-
Method Detail
-
getRaceNumber
BigInteger getRaceNumber()
The ordinal number of the race in the multi-race event, starting at 1.
- Returns:
possibleobject is BigInteger
-
setRaceNumber
void setRaceNumber(BigInteger value)
Sets the value of the raceNumber property.
- Parameters:
value- allowed object is BigInteger
-
setName
void setName(String value)
Sets the value of the name property.
- Parameters:
value- allowed object is String
-
getStartTime
DateAndOptionalTime getStartTime()
The start time for the first starting competitor of the race.
- Returns:
possibleobject is DateAndOptionalTime
-
setStartTime
void setStartTime(DateAndOptionalTime value)
Sets the value of the startTime property.
- Parameters:
value- allowed object is DateAndOptionalTime
-
getEndTime
DateAndOptionalTime getEndTime()
The time when the finish closes.
- Returns:
possibleobject is DateAndOptionalTime
-
setEndTime
void setEndTime(DateAndOptionalTime value)
Sets the value of the endTime property.
- Parameters:
value- allowed object is DateAndOptionalTime
-
getStatus
EventStatus getStatus()
The status of the race. This element overrides the Status element of the parent Event element.
- Returns:
possibleobject is EventStatus
-
setStatus
void setStatus(EventStatus value)
Sets the value of the status property.
- Parameters:
value- allowed object is EventStatus
-
getClassification
EventClassification getClassification()
The classification or level of the race. This element overrides the Classification element of the parent Event element.
- Returns:
possibleobject is EventClassification
-
setClassification
void setClassification(EventClassification value)
Sets the value of the classification property.
- Parameters:
value- allowed object is EventClassification
-
getPosition
GeoPosition getPosition()
The geographical location of the arena.
- Returns:
possibleobject is GeoPosition
-
setPosition
void setPosition(GeoPosition value)
Sets the value of the position property.
- Parameters:
value- allowed object is GeoPosition
-
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
setmethod 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
setmethod 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
setmethod 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
setmethod 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
setmethod 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.
-
getExtensions
Extensions getExtensions()
Container element for custom elements from other schemas.
- Returns:
possibleobject is Extensions
-
setExtensions
void setExtensions(Extensions value)
Sets the value of the extensions property.
- Parameters:
value- allowed object is Extensions
-
getModifyTime
XMLGregorianCalendar getModifyTime()
Gets the value of the modifyTime property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setModifyTime
void setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
-
-
-