Class Control
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 Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionsContainer element for custom elements from other schemas.protected IdThe code of the control.protected MapPositionThe position of the control according to tha map's coordinate system.protected XMLGregorianCalendarprotected List<LanguageString>The name of the control, used for e.g.protected GeoPositionThe geographical position of the control.If the control has multiple punching units with separate codes, specify all these codes using elements of this kind.protected ControlTypeThe type of the control: (ordinary) control, start, finish, crossing point or end of marked route. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContainer element for custom elements from other schemas.getId()The code of the control.The position of the control according to tha map's coordinate system.Gets the value of the modifyTime property.getName()The name of the control, used for e.g.The geographical position of the control.If the control has multiple punching units with separate codes, specify all these codes using elements of this kind.getType()The type of the control: (ordinary) control, start, finish, crossing point or end of marked route.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidSets the value of the id property.voidsetMapPosition(MapPosition value) Sets the value of the mapPosition property.voidSets the value of the modifyTime property.voidsetPosition(GeoPosition value) Sets the value of the position property.voidsetType(ControlType value) Sets the value of the type property.
-
Field Details
-
id
The code of the control. -
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
The name of the control, used for e.g. online controls ('spectator control', 'prewarning'). -
position
The geographical position of the control. -
mapPosition
The position of the control according to tha map's coordinate system. -
extensions
Container element for custom elements from other schemas. -
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
-
-
Constructor Details
-
Control
public Control()
-
-
Method Details
-
getId
The code of the control.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property. -
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
setmethod 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
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
setmethod 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
The geographical position of the control.- Returns:
- possible object is
GeoPosition
-
setPosition
Sets the value of the position property.- Parameters:
value- allowed object isGeoPosition- See Also:
-
getMapPosition
The position of the control according to tha map's coordinate system.- Returns:
- possible object is
MapPosition
-
setMapPosition
Sets the value of the mapPosition property.- Parameters:
value- allowed object isMapPosition- See Also:
-
getExtensions
Container element for custom elements from other schemas.- Returns:
- possible object is
Extensions
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions- See Also:
-
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
Sets the value of the type property.- Parameters:
value- allowed object isControlType- See Also:
-
getModifyTime
Gets the value of the modifyTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setModifyTime
Sets the value of the modifyTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-