Class ClassCourseAssignment
-
- All Implemented Interfaces:
public class 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>
-
-
Constructor Summary
Constructors Constructor Description ClassCourseAssignment()
-
Method Summary
Modifier and Type Method Description Id
getClassId()
The id of the class. void
setClassId(Id value)
Sets the value of the classId property. String
getClassName()
The name of the class. void
setClassName(String value)
Sets the value of the className property. List<BigInteger>
getAllowedOnLeg()
The legs that the course can be assigned to in a relay class. String
getCourseName()
The name of the course. void
setCourseName(String value)
Sets the value of the courseName property. String
getCourseFamily()
The family or group of forked courses that the course is part of. void
setCourseFamily(String value)
Sets the value of the courseFamily property. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. BigInteger
getNumberOfCompetitors()
The number of competitors in the class. void
setNumberOfCompetitors(BigInteger value)
Sets the value of the numberOfCompetitors property. -
-
Method Detail
-
getClassId
Id getClassId()
The id of the class.
- Returns:
possibleobject is Id
-
setClassId
void setClassId(Id value)
Sets the value of the classId property.
- Parameters:
value
- allowed object is Id
-
getClassName
String getClassName()
The name of the class.
- Returns:
possibleobject is String
-
setClassName
void setClassName(String value)
Sets the value of the className property.
- Parameters:
value
- allowed object is String
-
getAllowedOnLeg
List<BigInteger> 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
set
method 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:
Thevalue of the allowedOnLeg property.
-
getCourseName
String getCourseName()
The name of the course.
- Returns:
possibleobject is String
-
setCourseName
void setCourseName(String value)
Sets the value of the courseName property.
- Parameters:
value
- allowed object is String
-
getCourseFamily
String getCourseFamily()
The family or group of forked courses that the course is part of.
- Returns:
possibleobject is String
-
setCourseFamily
void setCourseFamily(String value)
Sets the value of the courseFamily property.
- Parameters:
value
- allowed object is String
-
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
-
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
-
-
-
-