Package iofXml.v3

Class CourseControl

java.lang.Object
iofXml.v3.CourseControl

public class CourseControl extends Object
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>
 
  • Field Details

    • control

      protected List<String> control
      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.
    • mapText

      protected String mapText
      Indicates the text shown next to the control circle, i.e. the control number.
    • mapTextPosition

      protected MapPosition mapTextPosition
      Indicates the position of the center of the text relative to the center of the control circle.
    • legLength

      protected Double legLength
      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.
    • score

      protected Double score
      The score of the control in score-O events.
    • extensions

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

      protected ControlType type
      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.
    • randomOrder

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

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

      protected Double tapedRouteLength
      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.
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • CourseControl

      public CourseControl()
  • Method Details

    • getControl

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

      public String getMapText()
      Indicates the text shown next to the control circle, i.e. the control number.
      Returns:
      possible object is String
    • setMapText

      public void setMapText(String value)
      Sets the value of the mapText property.
      Parameters:
      value - allowed object is String
      See Also:
    • getMapTextPosition

      public MapPosition getMapTextPosition()
      Indicates the position of the center of the text relative to the center of the control circle.
      Returns:
      possible object is MapPosition
    • setMapTextPosition

      public void setMapTextPosition(MapPosition value)
      Sets the value of the mapTextPosition property.
      Parameters:
      value - allowed object is MapPosition
      See Also:
    • getLegLength

      public 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:
      possible object is Double
    • setLegLength

      public void setLegLength(Double value)
      Sets the value of the legLength property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getScore

      public Double getScore()
      The score of the control in score-O events.
      Returns:
      possible object is Double
    • setScore

      public void setScore(Double value)
      Sets the value of the score property.
      Parameters:
      value - allowed object is Double
      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:
    • getType

      public 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:
      possible object is ControlType
    • setType

      public void setType(ControlType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is ControlType
      See Also:
    • isRandomOrder

      public boolean isRandomOrder()
      Non-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order.
      Returns:
      possible object is Boolean
    • setRandomOrder

      public void setRandomOrder(Boolean value)
      Sets the value of the randomOrder property.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • getSpecialInstruction

      public String getSpecialInstruction()
      Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions.
      Returns:
      possible object is String
    • setSpecialInstruction

      public void setSpecialInstruction(String value)
      Sets the value of the specialInstruction property.
      Parameters:
      value - allowed object is String
      See Also:
    • getTapedRouteLength

      public 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:
      possible object is Double
    • setTapedRouteLength

      public void setTapedRouteLength(Double value)
      Sets the value of the tapedRouteLength property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getModifyTime

      public XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModifyTime

      public void setModifyTime(XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar