Class CourseControl
-
- All Implemented Interfaces:
public class 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>
-
-
Constructor Summary
Constructors Constructor Description CourseControl()
-
Method Summary
Modifier and Type Method Description List<String>
getControl()
The code(s) of the control(s), without course-specific information. String
getMapText()
Indicates the text shown next to the control circle, i.e. void
setMapText(String value)
Sets the value of the mapText property. MapPosition
getMapTextPosition()
Indicates the position of the center of the text relative to the center of the control circle. void
setMapTextPosition(MapPosition value)
Sets the value of the mapTextPosition property. Double
getLegLength()
The length in meters from the previous control on the course. void
setLegLength(Double value)
Sets the value of the legLength property. Double
getScore()
The score of the control in score-O events. void
setScore(Double value)
Sets the value of the score 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. boolean
isRandomOrder()
Non-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order. void
setRandomOrder(Boolean value)
Sets the value of the randomOrder property. String
getSpecialInstruction()
Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions. void
setSpecialInstruction(String value)
Sets the value of the specialInstruction property. Double
getTapedRouteLength()
The length of the taped route in meters. void
setTapedRouteLength(Double value)
Sets the value of the tapedRouteLength property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
getControl
List<String> 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
set
method 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:
Thevalue of the control property.
-
getMapText
String getMapText()
Indicates the text shown next to the control circle, i.e. the control number.
- Returns:
possibleobject is String
-
setMapText
void setMapText(String value)
Sets the value of the mapText property.
- Parameters:
value
- allowed object is String
-
getMapTextPosition
MapPosition getMapTextPosition()
Indicates the position of the center of the text relative to the center of the control circle.
- Returns:
possibleobject is MapPosition
-
setMapTextPosition
void setMapTextPosition(MapPosition value)
Sets the value of the mapTextPosition property.
- Parameters:
value
- allowed object is MapPosition
-
getLegLength
Double 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:
possibleobject is Double
-
setLegLength
void setLegLength(Double value)
Sets the value of the legLength property.
- Parameters:
value
- allowed object is Double
-
getScore
Double getScore()
The score of the control in score-O events.
- Returns:
possibleobject is Double
-
setScore
void setScore(Double value)
Sets the value of the score property.
- Parameters:
value
- allowed object is Double
-
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. If this attribute is specified, it overrides the corresponding Control's type.
- Returns:
possibleobject is ControlType
-
setType
void setType(ControlType value)
Sets the value of the type property.
- Parameters:
value
- allowed object is ControlType
-
isRandomOrder
boolean isRandomOrder()
Non-broken sequences of course controls having randomOrder set to true can be visited in an arbitrary order.
- Returns:
possibleobject is Boolean
-
setRandomOrder
void setRandomOrder(Boolean value)
Sets the value of the randomOrder property.
- Parameters:
value
- allowed object is Boolean
-
getSpecialInstruction
String getSpecialInstruction()
Any special instruction applied at the control, see the column G as defined in International Specification for Control Descriptions.
- Returns:
possibleobject is String
-
setSpecialInstruction
void setSpecialInstruction(String value)
Sets the value of the specialInstruction property.
- Parameters:
value
- allowed object is String
-
getTapedRouteLength
Double 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:
possibleobject is Double
-
setTapedRouteLength
void setTapedRouteLength(Double value)
Sets the value of the tapedRouteLength property.
- Parameters:
value
- allowed object is Double
-
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
-
-
-
-