Class Course
-
- All Implemented Interfaces:
public class 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>
-
-
Constructor Summary
Constructors Constructor Description Course()
-
Method Summary
Modifier and Type Method Description Id
getId()
Gets the value of the id property. void
setId(Id value)
Sets the value of the id property. String
getName()
The name of the course. void
setName(String value)
Sets the value of the name property. String
getCourseFamily()
The family or group of forked courses that the course is part of. void
setCourseFamily(String value)
Sets the value of the courseFamily property. Double
getLength()
The length of the course, in meters. void
setLength(Double value)
Sets the value of the length property. Double
getClimb()
The climb of the course, in meters, along the expected best route choice. void
setClimb(Double value)
Sets the value of the climb property. List<CourseControl>
getCourseControl()
The controls, including start and finish, that the course is made up of. BigInteger
getMapId()
The id of the map used for this course. void
setMapId(BigInteger value)
Sets the value of the mapId property. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. BigInteger
getNumberOfCompetitors()
The number of competitors that this course has been assigned to. void
setNumberOfCompetitors(BigInteger value)
Sets the value of the numberOfCompetitors 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
-
setName
void setName(String value)
Sets the value of the name property.
- Parameters:
value
- allowed object is String
-
getCourseFamily
String getCourseFamily()
The family or group of forked courses that the course is part of.
- Returns:
possibleobject is String
-
setCourseFamily
void setCourseFamily(String value)
Sets the value of the courseFamily property.
- Parameters:
value
- allowed object is String
-
setLength
void setLength(Double value)
Sets the value of the length property.
- Parameters:
value
- allowed object is Double
-
getClimb
Double getClimb()
The climb of the course, in meters, along the expected best route choice.
- Returns:
possibleobject is Double
-
setClimb
void setClimb(Double value)
Sets the value of the climb property.
- Parameters:
value
- allowed object is Double
-
getCourseControl
List<CourseControl> 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
set
method 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:
Thevalue of the courseControl property.
-
getMapId
BigInteger getMapId()
The id of the map used for this course.
- Returns:
possibleobject is BigInteger
-
setMapId
void setMapId(BigInteger value)
Sets the value of the mapId property.
- Parameters:
value
- allowed object is BigInteger
-
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
-
getNumberOfCompetitors
BigInteger getNumberOfCompetitors()
The number of competitors that this course has been assigned to.
- Returns:
possibleobject is BigInteger
-
setNumberOfCompetitors
void setNumberOfCompetitors(BigInteger value)
Sets the value of the numberOfCompetitors property.
- Parameters:
value
- allowed object is BigInteger
-
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
-
-
-
-