Package iofXml.v3

Class Course

java.lang.Object
iofXml.v3.Course

public class Course extends Object
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 Details

    • id

      protected Id id
    • name

      protected String name
      The name of the course.
    • courseFamily

      protected String courseFamily
      The family or group of forked courses that the course is part of.
    • length

      protected Double length
      The length of the course, in meters.
    • climb

      protected Double climb
      The climb of the course, in meters, along the expected best route choice.
    • courseControl

      protected List<CourseControl> courseControl
      The controls, including start and finish, that the course is made up of.
    • mapId

      protected BigInteger mapId
      The id of the map used for this course.
    • extensions

      protected Extensions extensions
      Container element for custom elements from other schemas.
    • numberOfCompetitors

      protected BigInteger numberOfCompetitors
      The number of competitors that this course has been assigned to.
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Course

      public Course()
  • Method Details

    • getId

      public Id getId()
      Gets the value of the id property.
      Returns:
      possible object is Id
    • setId

      public void setId(Id value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Id
    • getName

      public String getName()
      The name of the course.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getCourseFamily

      public String getCourseFamily()
      The family or group of forked courses that the course is part of.
      Returns:
      possible object is String
    • setCourseFamily

      public void setCourseFamily(String value)
      Sets the value of the courseFamily property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLength

      public Double getLength()
      The length of the course, in meters.
      Returns:
      possible object is Double
    • setLength

      public void setLength(Double value)
      Sets the value of the length property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getClimb

      public Double getClimb()
      The climb of the course, in meters, along the expected best route choice.
      Returns:
      possible object is Double
    • setClimb

      public void setClimb(Double value)
      Sets the value of the climb property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getCourseControl

      public 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:
      The value of the courseControl property.
    • getMapId

      public BigInteger getMapId()
      The id of the map used for this course.
      Returns:
      possible object is BigInteger
    • setMapId

      public void setMapId(BigInteger value)
      Sets the value of the mapId property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getExtensions

      public Extensions getExtensions()
      Container element for custom elements from other schemas.
      Returns:
      possible object is Extensions
    • setExtensions

      public void setExtensions(Extensions value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is Extensions
      See Also:
    • getNumberOfCompetitors

      public BigInteger getNumberOfCompetitors()
      The number of competitors that this course has been assigned to.
      Returns:
      possible object is BigInteger
    • setNumberOfCompetitors

      public void setNumberOfCompetitors(BigInteger value)
      Sets the value of the numberOfCompetitors property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getModifyTime

      public XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModifyTime

      public void setModifyTime(XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar