Package iofXml.v3
Class ClassCourseAssignment
java.lang.Object
iofXml.v3.ClassCourseAssignment
Element that connects a course with a class. Courses should be present in the RaceCourseData element and are matched on course name and/or course family. Classes are matched by 1) Id, 2) Name.
Java class for ClassCourseAssignment complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ClassCourseAssignment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ClassId" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/>
<element name="ClassName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="AllowedOnLeg" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
<element name="CourseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="CourseFamily" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
</sequence>
<attribute name="numberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<BigInteger>The legs that the course can be assigned to in a relay class.protected IdThe id of the class.protected StringThe name of the class.protected StringThe family or group of forked courses that the course is part of.protected StringThe name of the course.protected ExtensionsContainer element for custom elements from other schemas.protected BigIntegerThe number of competitors in the class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe legs that the course can be assigned to in a relay class.The id of the class.The name of the class.The family or group of forked courses that the course is part of.The name of the course.Container element for custom elements from other schemas.The number of competitors in the class.voidsetClassId(Id value) Sets the value of the classId property.voidsetClassName(String value) Sets the value of the className property.voidsetCourseFamily(String value) Sets the value of the courseFamily property.voidsetCourseName(String value) Sets the value of the courseName property.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidsetNumberOfCompetitors(BigInteger value) Sets the value of the numberOfCompetitors property.
-
Field Details
-
classId
The id of the class. -
className
The name of the class. -
allowedOnLeg
The legs that the course can be assigned to in a relay class. This element can be omitted for individual classes. -
courseName
The name of the course. -
courseFamily
The family or group of forked courses that the course is part of. -
extensions
Container element for custom elements from other schemas. -
numberOfCompetitors
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).
-
-
Constructor Details
-
ClassCourseAssignment
public ClassCourseAssignment()
-
-
Method Details
-
getClassId
The id of the class.- Returns:
- possible object is
Id
-
setClassId
Sets the value of the classId property.- Parameters:
value- allowed object isId- See Also:
-
getClassName
The name of the class.- Returns:
- possible object is
String
-
setClassName
Sets the value of the className property.- Parameters:
value- allowed object isString- See Also:
-
getAllowedOnLeg
The legs that the course can be assigned to in a relay class. This element can be omitted for individual classes. Gets the value of the allowedOnLeg 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 allowedOnLeg property.For example, to add a new item, do as follows:
getAllowedOnLeg().add(newItem);
Objects of the following type(s) are allowed in the list
BigInteger- Returns:
- The value of the allowedOnLeg property.
-
getCourseName
The name of the course.- Returns:
- possible object is
String
-
setCourseName
Sets the value of the courseName property.- Parameters:
value- allowed object isString- See Also:
-
getCourseFamily
The family or group of forked courses that the course is part of.- Returns:
- possible object is
String
-
setCourseFamily
Sets the value of the courseFamily property.- Parameters:
value- allowed object isString- See Also:
-
getExtensions
Container element for custom elements from other schemas.- Returns:
- possible object is
Extensions
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions- See Also:
-
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:
- possible object is
BigInteger
-
setNumberOfCompetitors
Sets the value of the numberOfCompetitors property.- Parameters:
value- allowed object isBigInteger- See Also:
-