Package iofXml.v3

Class Control

  • All Implemented Interfaces:

    
    public class Control
    
                        

    Defines a control, without any relationship to a particular course.

    Java class for Control complex type

    .

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

    
    <complexType name="Control">
      <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="PunchingUnitId" type="{http://www.orienteering.org/datastandard/3.0}Id" maxOccurs="unbounded" minOccurs="0"/>
            <element name="Name" type="{http://www.orienteering.org/datastandard/3.0}LanguageString" maxOccurs="unbounded" minOccurs="0"/>
            <element name="Position" type="{http://www.orienteering.org/datastandard/3.0}GeoPosition" minOccurs="0"/>
            <element name="MapPosition" type="{http://www.orienteering.org/datastandard/3.0}MapPosition" 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" default="Control" />
          <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
        </restriction>
      </complexContent>
    </complexType>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Control()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Control

        Control()
    • Method Detail

      • getId

         Id getId()

        The code of the control.

        Returns:

        possibleobject is Id

      • setId

         void setId(Id value)

        Sets the value of the id property.

        Parameters:
        value - allowed object is Id
      • getPunchingUnitId

         List<Id> getPunchingUnitId()

        If the control has multiple punching units with separate codes, specify all these codes using elements of this kind. Omit this element if there is a single punching unit whose code is the same as the control code. Gets the value of the punchingUnitId 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 punchingUnitId property.

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

        getPunchingUnitId().add(newItem);
        

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

        Returns:

        Thevalue of the punchingUnitId property.

      • getName

         List<LanguageString> getName()

        The name of the control, used for e.g. online controls ('spectator control', 'prewarning'). Gets the value of the name 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 name property.

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

        getName().add(newItem);
        

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

        Returns:

        Thevalue of the name property.

      • getType

         ControlType getType()

        The type of the control: (ordinary) control, start, finish, crossing point or end of marked route. This attribute can be overridden on the CourseControl level.

        Returns:

        possibleobject is ControlType