Package iofXml.v3

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 Detail

      • ClassCourseAssignment

        ClassCourseAssignment()
    • 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
      • 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.

      • 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
      • 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