Class RaceClass
-
- All Implemented Interfaces:
public class RaceClass
Information about a class with respect to a race.
Java class for RaceClass complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="RaceClass"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PunchingSystem" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="TeamFee" type="{http://www.orienteering.org/datastandard/3.0}Fee" maxOccurs="unbounded" minOccurs="0"/> <element name="Fee" type="{http://www.orienteering.org/datastandard/3.0}Fee" maxOccurs="unbounded" minOccurs="0"/> <element name="FirstStart" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="Status" type="{http://www.orienteering.org/datastandard/3.0}RaceClassStatus" minOccurs="0"/> <element name="Course" type="{http://www.orienteering.org/datastandard/3.0}SimpleCourse" maxOccurs="unbounded" minOccurs="0"/> <element name="OnlineControl" type="{http://www.orienteering.org/datastandard/3.0}Control" maxOccurs="unbounded" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="raceNumber" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="maxNumberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description RaceClass()
-
Method Summary
Modifier and Type Method Description List<String>
getPunchingSystem()
The punching system used for the class at the race. List<Fee>
getTeamFee()
The entry fees for a team as a whole taking part in this class. List<Fee>
getFee()
The entry fees for an individual competitor taking part in the race class. XMLGregorianCalendar
getFirstStart()
Gets the value of the firstStart property. void
setFirstStart(XMLGregorianCalendar value)
Sets the value of the firstStart property. RaceClassStatus
getStatus()
The status of the race, e.g. void
setStatus(RaceClassStatus value)
Sets the value of the status property. List<SimpleCourse>
getCourse()
The courses assigned to this class. List<Control>
getOnlineControl()
The controls that are online controls for this class. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. BigInteger
getRaceNumber()
The ordinal number of the race that the information belongs to for a multi-race event, starting at 1. void
setRaceNumber(BigInteger value)
Sets the value of the raceNumber property. BigInteger
getMaxNumberOfCompetitors()
The maximum number of competitors that are allowed to take part in the race class. void
setMaxNumberOfCompetitors(BigInteger value)
Sets the value of the maxNumberOfCompetitors property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
getPunchingSystem
List<String> getPunchingSystem()
The punching system used for the class at the race. Multiple punching systems can be specified, e.g. one for punch checking and another for timing. Gets the value of the punchingSystem 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 punchingSystem property.For example, to add a new item, do as follows:
getPunchingSystem().add(newItem);
Objects of the following type(s) are allowed in the list String
- Returns:
Thevalue of the punchingSystem property.
-
getTeamFee
List<Fee> getTeamFee()
The entry fees for a team as a whole taking part in this class. Use the Fee element to specify a fee for an individual competitor in the team. Use the TeamFee subelement of the Class element to specify a fee on event level. Gets the value of the teamFee 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 teamFee property.For example, to add a new item, do as follows:
getTeamFee().add(newItem);
Objects of the following type(s) are allowed in the list Fee
- Returns:
Thevalue of the teamFee property.
-
getFee
List<Fee> getFee()
The entry fees for an individual competitor taking part in the race class. Use the TeamFee element to specify a fee for the team as a whole. Use the Fee subelement of the Class element to specify a fee on event level. Gets the value of the fee 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 fee property.For example, to add a new item, do as follows:
getFee().add(newItem);
Objects of the following type(s) are allowed in the list Fee
- Returns:
Thevalue of the fee property.
-
getFirstStart
XMLGregorianCalendar getFirstStart()
Gets the value of the firstStart property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setFirstStart
void setFirstStart(XMLGregorianCalendar value)
Sets the value of the firstStart property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
getStatus
RaceClassStatus getStatus()
The status of the race, e.g. if results should be considered invalid due to misplaced constrols.
- Returns:
possibleobject is RaceClassStatus
-
setStatus
void setStatus(RaceClassStatus value)
Sets the value of the status property.
- Parameters:
value
- allowed object is RaceClassStatus
-
getCourse
List<SimpleCourse> getCourse()
The courses assigned to this class. For a mass-start event or a relay event, there are usually multiple courses per class due to the usage of spreading methods. Gets the value of the course 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 course property.For example, to add a new item, do as follows:
getCourse().add(newItem);
Objects of the following type(s) are allowed in the list SimpleCourse
- Returns:
Thevalue of the course property.
-
getOnlineControl
List<Control> getOnlineControl()
The controls that are online controls for this class. Gets the value of the onlineControl 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 onlineControl property.For example, to add a new item, do as follows:
getOnlineControl().add(newItem);
Objects of the following type(s) are allowed in the list Control
- Returns:
Thevalue of the onlineControl 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
-
getRaceNumber
BigInteger getRaceNumber()
The ordinal number of the race that the information belongs to for a 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
-
getMaxNumberOfCompetitors
BigInteger getMaxNumberOfCompetitors()
The maximum number of competitors that are allowed to take part in the race class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event). This attribute overrides the maxNumberOfCompetitors attribute in the Class element.
- Returns:
possibleobject is BigInteger
-
setMaxNumberOfCompetitors
void setMaxNumberOfCompetitors(BigInteger value)
Sets the value of the maxNumberOfCompetitors property.
- Parameters:
value
- allowed object is BigInteger
-
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
-
-
-
-