Package iofXml.v3
Class CourseControl
java.lang.Object
iofXml.v3.CourseControl
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 Summary
FieldsModifier and TypeFieldDescriptionThe code(s) of the control(s), without course-specific information.protected ExtensionsContainer element for custom elements from other schemas.protected DoubleThe length in meters from the previous control on the course.protected StringIndicates the text shown next to the control circle, i.e.protected MapPositionIndicates the position of the center of the text relative to the center of the control circle.protected XMLGregorianCalendarprotected BooleanNon-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order.protected DoubleThe score of the control in score-O events.protected StringAny special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions.protected DoubleThe length of the taped route in meters.protected ControlTypeThe type of the control: (ordinary) control, start, finish, crossing point or end of marked route. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe code(s) of the control(s), without course-specific information.Container element for custom elements from other schemas.The length in meters from the previous control on the course.Indicates the text shown next to the control circle, i.e.Indicates the position of the center of the text relative to the center of the control circle.Gets the value of the modifyTime property.getScore()The score of the control in score-O events.Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions.The length of the taped route in meters.getType()The type of the control: (ordinary) control, start, finish, crossing point or end of marked route.booleanNon-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidsetLegLength(Double value) Sets the value of the legLength property.voidsetMapText(String value) Sets the value of the mapText property.voidsetMapTextPosition(MapPosition value) Sets the value of the mapTextPosition property.voidSets the value of the modifyTime property.voidsetRandomOrder(Boolean value) Sets the value of the randomOrder property.voidSets the value of the score property.voidsetSpecialInstruction(String value) Sets the value of the specialInstruction property.voidsetTapedRouteLength(Double value) Sets the value of the tapedRouteLength property.voidsetType(ControlType value) Sets the value of the type property.
-
Field Details
-
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
Indicates the text shown next to the control circle, i.e. the control number. -
mapTextPosition
Indicates the position of the center of the text relative to the center of the control circle. -
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
The score of the control in score-O events. -
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. If this attribute is specified, it overrides the corresponding Control's type. -
randomOrder
Non-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order. -
specialInstruction
Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions. -
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
-
-
Constructor Details
-
CourseControl
public CourseControl()
-
-
Method Details
-
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
setmethod 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
Indicates the text shown next to the control circle, i.e. the control number.- Returns:
- possible object is
String
-
setMapText
Sets the value of the mapText property.- Parameters:
value- allowed object isString- See Also:
-
getMapTextPosition
Indicates the position of the center of the text relative to the center of the control circle.- Returns:
- possible object is
MapPosition
-
setMapTextPosition
Sets the value of the mapTextPosition property.- Parameters:
value- allowed object isMapPosition- See Also:
-
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
Sets the value of the legLength property.- Parameters:
value- allowed object isDouble- See Also:
-
getScore
The score of the control in score-O events.- Returns:
- possible object is
Double
-
setScore
Sets the value of the score property.- Parameters:
value- allowed object isDouble- 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. If this attribute is specified, it overrides the corresponding Control's type.- Returns:
- possible object is
ControlType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isControlType- 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
Sets the value of the randomOrder property.- Parameters:
value- allowed object isBoolean- See Also:
-
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
Sets the value of the specialInstruction property.- Parameters:
value- allowed object isString- See Also:
-
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
Sets the value of the tapedRouteLength property.- Parameters:
value- allowed object isDouble- 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
-