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>
-
-
Constructor Summary
Constructors Constructor Description Control()
-
Method Summary
Modifier and Type Method Description Id
getId()
The code of the control. void
setId(Id value)
Sets the value of the id property. List<Id>
getPunchingUnitId()
If the control has multiple punching units with separate codes, specify all these codes using elements of this kind. List<LanguageString>
getName()
The name of the control, used for e.g. GeoPosition
getPosition()
The geographical position of the control. void
setPosition(GeoPosition value)
Sets the value of the position property. MapPosition
getMapPosition()
The position of the control according to tha map's coordinate system. void
setMapPosition(MapPosition value)
Sets the value of the mapPosition property. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. ControlType
getType()
The type of the control: (ordinary) control, start, finish, crossing point or end of marked route. void
setType(ControlType value)
Sets the value of the type property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
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.
-
getPosition
GeoPosition getPosition()
The geographical position of the control.
- Returns:
possibleobject is GeoPosition
-
setPosition
void setPosition(GeoPosition value)
Sets the value of the position property.
- Parameters:
value
- allowed object is GeoPosition
-
getMapPosition
MapPosition getMapPosition()
The position of the control according to tha map's coordinate system.
- Returns:
possibleobject is MapPosition
-
setMapPosition
void setMapPosition(MapPosition value)
Sets the value of the mapPosition property.
- Parameters:
value
- allowed object is MapPosition
-
getExtensions
Extensions getExtensions()
Container element for custom elements from other schemas.
- Returns:
possibleobject is Extensions
-
setExtensions
void setExtensions(Extensions value)
Sets the value of the extensions property.
- Parameters:
value
- allowed object is Extensions
-
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
-
setType
void setType(ControlType value)
Sets the value of the type property.
- Parameters:
value
- allowed object is ControlType
-
getModifyTime
XMLGregorianCalendar getModifyTime()
Gets the value of the modifyTime property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setModifyTime
void setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property.
- Parameters:
value
- allowed object is XMLGregorianCalendar
-
-
-
-