Package iofXml.v3

Class CourseControl

  • All Implemented Interfaces:

    
    public class CourseControl
    
                        

    A control included in a particular course.

    Java class for CourseControl complex type

    .

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

    
    <complexType name="CourseControl">
      <complexContent>
        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
          <sequence>
            <element name="Control" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
            <element name="MapText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
            <element name="MapTextPosition" type="{http://www.orienteering.org/datastandard/3.0}MapPosition" minOccurs="0"/>
            <element name="LegLength" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
            <element name="Score" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
            <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
          </sequence>
          <attribute name="type" type="{http://www.orienteering.org/datastandard/3.0}ControlType" />
          <attribute name="randomOrder" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
          <attribute name="specialInstruction" default="None">
            <simpleType>
              <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                <enumeration value="None"/>
                <enumeration value="TapedRoute"/>
                <enumeration value="FunnelTapedRoute"/>
                <enumeration value="MandatoryCrossingPoint"/>
                <enumeration value="MandatoryOutOfBoundsAreaPassage"/>
              </restriction>
            </simpleType>
          </attribute>
          <attribute name="tapedRouteLength" type="{http://www.w3.org/2001/XMLSchema}double" />
          <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
        </restriction>
      </complexContent>
    </complexType>
    
    • Constructor Detail

      • CourseControl

        CourseControl()
    • Method Detail

      • getControl

         List<String> getControl()

        The code(s) of the control(s), without course-specific information. Specifying multiple control codes means that the competitor is required to punch one of the controls, but not all of them. Gets the value of the control 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 control property.

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

        getControl().add(newItem);
        

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

        Returns:

        Thevalue of the control property.

      • getMapText

         String getMapText()

        Indicates the text shown next to the control circle, i.e. the control number.

        Returns:

        possibleobject is String

      • setMapText

         void setMapText(String value)

        Sets the value of the mapText property.

        Parameters:
        value - allowed object is String
      • getLegLength

         Double getLegLength()

        The length in meters from the previous control on the course. For starts, this length may refer to the distance from the time start to the start flag.

        Returns:

        possibleobject is Double

      • setLegLength

         void setLegLength(Double value)

        Sets the value of the legLength property.

        Parameters:
        value - allowed object is Double
      • getScore

         Double getScore()

        The score of the control in score-O events.

        Returns:

        possibleobject is Double

      • setScore

         void setScore(Double value)

        Sets the value of the score property.

        Parameters:
        value - allowed object is Double
      • getType

         ControlType getType()

        The type of the control: (ordinary) control, start, finish, crossing point or end of marked route. If this attribute is specified, it overrides the corresponding Control's type.

        Returns:

        possibleobject is ControlType

      • isRandomOrder

         boolean isRandomOrder()

        Non-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order.

        Returns:

        possibleobject is Boolean

      • setRandomOrder

         void setRandomOrder(Boolean value)

        Sets the value of the randomOrder property.

        Parameters:
        value - allowed object is Boolean
      • getSpecialInstruction

         String getSpecialInstruction()

        Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions.

        Returns:

        possibleobject is String

      • getTapedRouteLength

         Double getTapedRouteLength()

        The length of the taped route in meters. Only to be specified if specialInstruction is TapedRoute or FunnelTapedRoute and if different from the value specified in LegLength element, i.e. when Special Instruction 13.1 is used.

        Returns:

        possibleobject is Double

      • setTapedRouteLength

         void setTapedRouteLength(Double value)

        Sets the value of the tapedRouteLength property.

        Parameters:
        value - allowed object is Double