Package iofXml.v3

Class Control

java.lang.Object
iofXml.v3.Control

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

    • id

      protected Id id
      The code of the control.
    • punchingUnitId

      protected List<Id> punchingUnitId
      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.
    • name

      protected List<LanguageString> name
      The name of the control, used for e.g. online controls ('spectator control', 'prewarning').
    • position

      protected GeoPosition position
      The geographical position of the control.
    • mapPosition

      protected MapPosition mapPosition
      The position of the control according to tha map's coordinate system.
    • 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. This attribute can be overridden on the CourseControl level.
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Control

      public Control()
  • Method Details

    • getId

      public Id getId()
      The code of the control.
      Returns:
      possible object is Id
    • setId

      public void setId(Id value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Id
      See Also:
    • getPunchingUnitId

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

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

      public GeoPosition getPosition()
      The geographical position of the control.
      Returns:
      possible object is GeoPosition
    • setPosition

      public void setPosition(GeoPosition value)
      Sets the value of the position property.
      Parameters:
      value - allowed object is GeoPosition
      See Also:
    • getMapPosition

      public MapPosition getMapPosition()
      The position of the control according to tha map's coordinate system.
      Returns:
      possible object is MapPosition
    • setMapPosition

      public void setMapPosition(MapPosition value)
      Sets the value of the mapPosition property.
      Parameters:
      value - allowed object is MapPosition
      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. This attribute can be overridden on the CourseControl level.
      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:
    • 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