Package iofXml.v3
Class Course
java.lang.Object
iofXml.v3.Course
Defines a course, i.e. a number of controls including start and finish.
Java class for Course complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Course">
<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="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="CourseFamily" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Length" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="Climb" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="CourseControl" type="{http://www.orienteering.org/datastandard/3.0}CourseControl" maxOccurs="unbounded" minOccurs="2"/>
<element name="MapId" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
</sequence>
<attribute name="numberOfCompetitors" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DoubleThe climb of the course, in meters, along the expected best route choice.protected List<CourseControl>The controls, including start and finish, that the course is made up of.protected StringThe family or group of forked courses that the course is part of.protected ExtensionsContainer element for custom elements from other schemas.protected Idprotected DoubleThe length of the course, in meters.protected BigIntegerThe id of the map used for this course.protected XMLGregorianCalendarprotected StringThe name of the course.protected BigIntegerThe number of competitors that this course has been assigned to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClimb()The climb of the course, in meters, along the expected best route choice.The controls, including start and finish, that the course is made up of.The family or group of forked courses that the course is part of.Container element for custom elements from other schemas.getId()Gets the value of the id property.The length of the course, in meters.getMapId()The id of the map used for this course.Gets the value of the modifyTime property.getName()The name of the course.The number of competitors that this course has been assigned to.voidSets the value of the climb property.voidsetCourseFamily(String value) Sets the value of the courseFamily property.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidSets the value of the id property.voidSets the value of the length property.voidsetMapId(BigInteger value) Sets the value of the mapId property.voidSets the value of the modifyTime property.voidSets the value of the name property.voidsetNumberOfCompetitors(BigInteger value) Sets the value of the numberOfCompetitors property.
-
Field Details
-
id
-
name
The name of the course. -
courseFamily
The family or group of forked courses that the course is part of. -
length
The length of the course, in meters. -
climb
The climb of the course, in meters, along the expected best route choice. -
courseControl
The controls, including start and finish, that the course is made up of. -
mapId
The id of the map used for this course. -
extensions
Container element for custom elements from other schemas. -
numberOfCompetitors
The number of competitors that this course has been assigned to. -
modifyTime
-
-
Constructor Details
-
Course
public Course()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
Id
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isId
-
getName
The name of the course.- Returns:
- possible object is
String
-
setName
Sets the value of the name property. -
getCourseFamily
The family or group of forked courses that the course is part of.- Returns:
- possible object is
String
-
setCourseFamily
Sets the value of the courseFamily property.- Parameters:
value- allowed object isString- See Also:
-
getLength
The length of the course, in meters.- Returns:
- possible object is
Double
-
setLength
Sets the value of the length property.- Parameters:
value- allowed object isDouble- See Also:
-
getClimb
The climb of the course, in meters, along the expected best route choice.- Returns:
- possible object is
Double
-
setClimb
Sets the value of the climb property.- Parameters:
value- allowed object isDouble- See Also:
-
getCourseControl
The controls, including start and finish, that the course is made up of. Gets the value of the courseControl 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 courseControl property.For example, to add a new item, do as follows:
getCourseControl().add(newItem);
Objects of the following type(s) are allowed in the list
CourseControl- Returns:
- The value of the courseControl property.
-
getMapId
The id of the map used for this course.- Returns:
- possible object is
BigInteger
-
setMapId
Sets the value of the mapId property.- Parameters:
value- allowed object isBigInteger- 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:
-
getNumberOfCompetitors
The number of competitors that this course has been assigned to.- Returns:
- possible object is
BigInteger
-
setNumberOfCompetitors
Sets the value of the numberOfCompetitors property.- Parameters:
value- allowed object isBigInteger- 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
-