Package iofXml.v3

Class ClassCourseAssignment

java.lang.Object
iofXml.v3.ClassCourseAssignment

public class ClassCourseAssignment extends Object
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 Details

    • classId

      protected Id classId
      The id of the class.
    • className

      protected String className
      The name of the class.
    • allowedOnLeg

      protected List<BigInteger> allowedOnLeg
      The legs that the course can be assigned to in a relay class. This element can be omitted for individual classes.
    • courseName

      protected String courseName
      The name of the course.
    • courseFamily

      protected String courseFamily
      The family or group of forked courses that the course is part of.
    • extensions

      protected Extensions extensions
      Container element for custom elements from other schemas.
    • numberOfCompetitors

      protected BigInteger 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

      public Id getClassId()
      The id of the class.
      Returns:
      possible object is Id
    • setClassId

      public void setClassId(Id value)
      Sets the value of the classId property.
      Parameters:
      value - allowed object is Id
      See Also:
    • getClassName

      public String getClassName()
      The name of the class.
      Returns:
      possible object is String
    • setClassName

      public void setClassName(String value)
      Sets the value of the className property.
      Parameters:
      value - allowed object is String
      See Also:
    • getAllowedOnLeg

      public 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:
      The value of the allowedOnLeg property.
    • getCourseName

      public String getCourseName()
      The name of the course.
      Returns:
      possible object is String
    • setCourseName

      public void setCourseName(String value)
      Sets the value of the courseName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getCourseFamily

      public String getCourseFamily()
      The family or group of forked courses that the course is part of.
      Returns:
      possible object is String
    • setCourseFamily

      public void setCourseFamily(String value)
      Sets the value of the courseFamily property.
      Parameters:
      value - allowed object is String
      See Also:
    • getExtensions

      public Extensions getExtensions()
      Container element for custom elements from other schemas.
      Returns:
      possible object is Extensions
    • setExtensions

      public void setExtensions(Extensions value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is Extensions
      See Also:
    • getNumberOfCompetitors

      public 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:
      possible object is BigInteger
    • setNumberOfCompetitors

      public void setNumberOfCompetitors(BigInteger value)
      Sets the value of the numberOfCompetitors property.
      Parameters:
      value - allowed object is BigInteger
      See Also: