Class Class
-
- All Implemented Interfaces:
public class Class
Defines a class in an event.
Java class for Class complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Class"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ShortName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="ClassType" type="{http://www.orienteering.org/datastandard/3.0}ClassType" maxOccurs="unbounded" minOccurs="0"/> <element name="Leg" type="{http://www.orienteering.org/datastandard/3.0}Leg" 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="Status" type="{http://www.orienteering.org/datastandard/3.0}EventClassStatus" minOccurs="0"/> <element name="RaceClass" type="{http://www.orienteering.org/datastandard/3.0}RaceClass" maxOccurs="unbounded" minOccurs="0"/> <element name="TooFewEntriesSubstituteClass" type="{http://www.orienteering.org/datastandard/3.0}Class" minOccurs="0"/> <element name="TooManyEntriesSubstituteClass" type="{http://www.orienteering.org/datastandard/3.0}Class" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="minAge" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="maxAge" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="sex" default="B"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="B"/> <enumeration value="F"/> <enumeration value="M"/> </restriction> </simpleType> </attribute> <attribute name="minNumberOfTeamMembers" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" /> <attribute name="maxNumberOfTeamMembers" type="{http://www.w3.org/2001/XMLSchema}integer" default="1" /> <attribute name="minTeamAge" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="maxTeamAge" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="numberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="maxNumberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="resultListMode" default="Default"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Default"/> <enumeration value="Unordered"/> <enumeration value="UnorderedNoTimes"/> </restriction> </simpleType> </attribute> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Class()
-
Method Summary
Modifier and Type Method Description Id
getId()
Gets the value of the id property. void
setId(Id value)
Sets the value of the id property. String
getName()
The name of the class. void
setName(String value)
Sets the value of the name property. String
getShortName()
The abbreviated name of a class, used when space is limited. void
setShortName(String value)
Sets the value of the shortName property. List<ClassType>
getClassType()
The class type(s) for the class. List<Leg>
getLeg()
Information about the legs, if the class is a relay class. 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 class. EventClassStatus
getStatus()
The overall status of the class, e.g. void
setStatus(EventClassStatus value)
Sets the value of the status property. List<RaceClass>
getRaceClass()
Race-specific information for the class, e.g. Class
getTooFewEntriesSubstituteClass()
The class that competitors in this class should be transferred to if there are too few entries in this class. void
setTooFewEntriesSubstituteClass(Class value)
Sets the value of the tooFewEntriesSubstituteClass property. Class
getTooManyEntriesSubstituteClass()
The class that competitors that are not qualified (e.g. void
setTooManyEntriesSubstituteClass(Class value)
Sets the value of the tooManyEntriesSubstituteClass property. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. BigInteger
getMinAge()
The lowest allowed age for a competitor taking part in the class. void
setMinAge(BigInteger value)
Sets the value of the minAge property. BigInteger
getMaxAge()
The highest allowed age for a competitor taking part in the class. void
setMaxAge(BigInteger value)
Sets the value of the maxAge property. String
getSex()
Gets the value of the sex property. void
setSex(String value)
Sets the value of the sex property. BigInteger
getMinNumberOfTeamMembers()
The minimum number of members in a team taking part in the class, if the class is a team class. void
setMinNumberOfTeamMembers(BigInteger value)
Sets the value of the minNumberOfTeamMembers property. BigInteger
getMaxNumberOfTeamMembers()
The maximum number of members in a team taking part in the class, if the class is a team class. void
setMaxNumberOfTeamMembers(BigInteger value)
Sets the value of the maxNumberOfTeamMembers property. BigInteger
getMinTeamAge()
The lowest allowed age sum of the team members for a team taking part in the class. void
setMinTeamAge(BigInteger value)
Sets the value of the minTeamAge property. BigInteger
getMaxTeamAge()
The highest allowed age sum of the team members for a team taking part in the class. void
setMaxTeamAge(BigInteger value)
Sets the value of the maxTeamAge property. BigInteger
getNumberOfCompetitors()
The number of competitors in the class. void
setNumberOfCompetitors(BigInteger value)
Sets the value of the numberOfCompetitors property. BigInteger
getMaxNumberOfCompetitors()
The maximum number of competitors that are allowed to take part in the class. void
setMaxNumberOfCompetitors(BigInteger value)
Sets the value of the maxNumberOfCompetitors property. String
getResultListMode()
Defines the kind of information to include in the result list, and how to sort it. void
setResultListMode(String value)
Sets the value of the resultListMode property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
setId
void setId(Id value)
Sets the value of the id property.
- Parameters:
value
- allowed object is Id
-
setName
void setName(String value)
Sets the value of the name property.
- Parameters:
value
- allowed object is String
-
getShortName
String getShortName()
The abbreviated name of a class, used when space is limited.
- Returns:
possibleobject is String
-
setShortName
void setShortName(String value)
Sets the value of the shortName property.
- Parameters:
value
- allowed object is String
-
getClassType
List<ClassType> getClassType()
The class type(s) for the class. Gets the value of the classType 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 classType property.For example, to add a new item, do as follows:
getClassType().add(newItem);
Objects of the following type(s) are allowed in the list ClassType
- Returns:
Thevalue of the classType property.
-
getLeg
List<Leg> getLeg()
Information about the legs, if the class is a relay class. One Leg element per leg must be present. Gets the value of the leg 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 leg property.For example, to add a new item, do as follows:
getLeg().add(newItem);
Objects of the following type(s) are allowed in the list Leg
- Returns:
Thevalue of the leg 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 RaceClass element to specify a fee on race 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 class. Use the TeamFee element to specify a fee for the team as a whole. Use the Fee subelement of the RaceClass element to specify a fee on race 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.
-
getStatus
EventClassStatus getStatus()
The overall status of the class, e.g. if overall results should be considered invalid due to misplaced controls.
- Returns:
possibleobject is EventClassStatus
-
setStatus
void setStatus(EventClassStatus value)
Sets the value of the status property.
- Parameters:
value
- allowed object is EventClassStatus
-
getRaceClass
List<RaceClass> getRaceClass()
Race-specific information for the class, e.g. course(s) assigned to the class. Gets the value of the raceClass 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 raceClass property.For example, to add a new item, do as follows:
getRaceClass().add(newItem);
Objects of the following type(s) are allowed in the list RaceClass
- Returns:
Thevalue of the raceClass property.
-
getTooFewEntriesSubstituteClass
Class getTooFewEntriesSubstituteClass()
The class that competitors in this class should be transferred to if there are too few entries in this class.
- Returns:
possibleobject is Class
-
setTooFewEntriesSubstituteClass
void setTooFewEntriesSubstituteClass(Class value)
Sets the value of the tooFewEntriesSubstituteClass property.
- Parameters:
value
- allowed object is Class
-
getTooManyEntriesSubstituteClass
Class getTooManyEntriesSubstituteClass()
The class that competitors that are not qualified (e.g. due to too low ranking) should be transferred to if there are too many entries in this class.
- Returns:
possibleobject is Class
-
setTooManyEntriesSubstituteClass
void setTooManyEntriesSubstituteClass(Class value)
Sets the value of the tooManyEntriesSubstituteClass property.
- Parameters:
value
- allowed object is Class
-
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
-
getMinAge
BigInteger getMinAge()
The lowest allowed age for a competitor taking part in the class.
- Returns:
possibleobject is BigInteger
-
setMinAge
void setMinAge(BigInteger value)
Sets the value of the minAge property.
- Parameters:
value
- allowed object is BigInteger
-
getMaxAge
BigInteger getMaxAge()
The highest allowed age for a competitor taking part in the class.
- Returns:
possibleobject is BigInteger
-
setMaxAge
void setMaxAge(BigInteger value)
Sets the value of the maxAge property.
- Parameters:
value
- allowed object is BigInteger
-
setSex
void setSex(String value)
Sets the value of the sex property.
- Parameters:
value
- allowed object is String
-
getMinNumberOfTeamMembers
BigInteger getMinNumberOfTeamMembers()
The minimum number of members in a team taking part in the class, if the class is a team class.
- Returns:
possibleobject is BigInteger
-
setMinNumberOfTeamMembers
void setMinNumberOfTeamMembers(BigInteger value)
Sets the value of the minNumberOfTeamMembers property.
- Parameters:
value
- allowed object is BigInteger
-
getMaxNumberOfTeamMembers
BigInteger getMaxNumberOfTeamMembers()
The maximum number of members in a team taking part in the class, if the class is a team class.
- Returns:
possibleobject is BigInteger
-
setMaxNumberOfTeamMembers
void setMaxNumberOfTeamMembers(BigInteger value)
Sets the value of the maxNumberOfTeamMembers property.
- Parameters:
value
- allowed object is BigInteger
-
getMinTeamAge
BigInteger getMinTeamAge()
The lowest allowed age sum of the team members for a team taking part in the class.
- Returns:
possibleobject is BigInteger
-
setMinTeamAge
void setMinTeamAge(BigInteger value)
Sets the value of the minTeamAge property.
- Parameters:
value
- allowed object is BigInteger
-
getMaxTeamAge
BigInteger getMaxTeamAge()
The highest allowed age sum of the team members for a team taking part in the class.
- Returns:
possibleobject is BigInteger
-
setMaxTeamAge
void setMaxTeamAge(BigInteger value)
Sets the value of the maxTeamAge property.
- Parameters:
value
- allowed object is BigInteger
-
getNumberOfCompetitors
BigInteger getNumberOfCompetitors()
The number of competitors in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event).
- Returns:
possibleobject is BigInteger
-
setNumberOfCompetitors
void setNumberOfCompetitors(BigInteger value)
Sets the value of the numberOfCompetitors property.
- Parameters:
value
- allowed object is BigInteger
-
getMaxNumberOfCompetitors
BigInteger getMaxNumberOfCompetitors()
The maximum number of competitors that are allowed to take part in the class. A competitor corresponds to a person (if an individual event) or a team (if a team or relay event). If the maximum number of competitors varies between races in a multi-day event, use the maxNumberOfCompetitors attribute in the RaceClass element.
- Returns:
possibleobject is BigInteger
-
setMaxNumberOfCompetitors
void setMaxNumberOfCompetitors(BigInteger value)
Sets the value of the maxNumberOfCompetitors property.
- Parameters:
value
- allowed object is BigInteger
-
getResultListMode
String getResultListMode()
Defines the kind of information to include in the result list, and how to sort it. For example, the result list of a beginner's class may include just "finished" or "did not finish" instead of the actual times.
- Returns:
possibleobject is String
-
setResultListMode
void setResultListMode(String value)
Sets the value of the resultListMode property.
- Parameters:
value
- allowed object is String
-
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
-
-
-
-