Package iofXml.v3

Class Course

  • All Implemented Interfaces:

    
    public class Course
    
                        

    Defines a course, i.e. a number of controls including start and finish.

    Java class for Course complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
    <complexType name="Course">
      <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="CourseFamily" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
            <element name="Length" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
            <element name="Climb" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
            <element name="CourseControl" type="{http://www.orienteering.org/datastandard/3.0}CourseControl" maxOccurs="unbounded" minOccurs="2"/>
            <element name="MapId" type="{http://www.w3.org/2001/XMLSchema}integer" 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" />
          <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
        </restriction>
      </complexContent>
    </complexType>
    
    • Constructor Detail

      • Course

        Course()
    • Method Detail

      • getId

         Id getId()

        Gets the value of the id property.

        Returns:

        possibleobject is Id

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

         void setLength(Double value)

        Sets the value of the length property.

        Parameters:
        value - allowed object is Double
      • getClimb

         Double getClimb()

        The climb of the course, in meters, along the expected best route choice.

        Returns:

        possibleobject is Double

      • setClimb

         void setClimb(Double value)

        Sets the value of the climb property.

        Parameters:
        value - allowed object is Double
      • getCourseControl

         List<CourseControl> getCourseControl()

        The controls, including start and finish, that the course is made up of. Gets the value of the courseControl 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 courseControl property.

        For example, to add a new item, do as follows:

        getCourseControl().add(newItem);
        

        Objects of the following type(s) are allowed in the list CourseControl

        Returns:

        Thevalue of the courseControl property.