Package iofXml.v3
Class SimpleCourse
java.lang.Object
iofXml.v3.SimpleCourse
- Direct Known Subclasses:
SimpleRaceCourse
Defines a course, excluding controls.
Java class for SimpleCourse complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SimpleCourse">
<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" minOccurs="0"/>
<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="NumberOfControls" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DoubleThe climb of the course, in meters, along the expected best route choice.protected StringThe family or group of forked courses that the course is part of.protected Idprotected DoubleThe length of the course, in meters.protected StringThe name of the course.protected BigIntegerThe number of controls in the course, excluding start and finish. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClimb()The climb of the course, in meters, along the expected best route choice.The family or group of forked courses that the course is part of.getId()Gets the value of the id property.The length of the course, in meters.getName()The name of the course.The number of controls in the course, excluding start and finish.voidSets the value of the climb property.voidsetCourseFamily(String value) Sets the value of the courseFamily property.voidSets the value of the id property.voidSets the value of the length property.voidSets the value of the name property.voidsetNumberOfControls(BigInteger value) Sets the value of the numberOfControls 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. -
numberOfControls
The number of controls in the course, excluding start and finish.
-
-
Constructor Details
-
SimpleCourse
public SimpleCourse()
-
-
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:
-
getNumberOfControls
The number of controls in the course, excluding start and finish.- Returns:
- possible object is
BigInteger
-
setNumberOfControls
Sets the value of the numberOfControls property.- Parameters:
value- allowed object isBigInteger- See Also:
-