Package iofXml.v3

Class Course


  • public class Course
    extends java.lang.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>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      Course()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double getClimb()
      Gets the value of the climb property.
      java.util.List<CourseControl> getCourseControl()
      Gets the value of the courseControl property.
      java.lang.String getCourseFamily()
      Gets the value of the courseFamily property.
      Extensions getExtensions()
      Gets the value of the extensions property.
      Id getId()
      Gets the value of the id property.
      java.lang.Double getLength()
      Gets the value of the length property.
      java.math.BigInteger getMapId()
      Gets the value of the mapId property.
      javax.xml.datatype.XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      java.lang.String getName()
      Gets the value of the name property.
      java.math.BigInteger getNumberOfCompetitors()
      Gets the value of the numberOfCompetitors property.
      void setClimb​(java.lang.Double value)
      Sets the value of the climb property.
      void setCourseFamily​(java.lang.String value)
      Sets the value of the courseFamily property.
      void setExtensions​(Extensions value)
      Sets the value of the extensions property.
      void setId​(Id value)
      Sets the value of the id property.
      void setLength​(java.lang.Double value)
      Sets the value of the length property.
      void setMapId​(java.math.BigInteger value)
      Sets the value of the mapId property.
      void setModifyTime​(javax.xml.datatype.XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setNumberOfCompetitors​(java.math.BigInteger value)
      Sets the value of the numberOfCompetitors property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected Id id
      • name

        protected java.lang.String name
      • courseFamily

        protected java.lang.String courseFamily
      • length

        protected java.lang.Double length
      • climb

        protected java.lang.Double climb
      • courseControl

        protected java.util.List<CourseControl> courseControl
      • mapId

        protected java.math.BigInteger mapId
      • numberOfCompetitors

        protected java.math.BigInteger numberOfCompetitors
      • modifyTime

        protected javax.xml.datatype.XMLGregorianCalendar modifyTime
    • Constructor Detail

      • Course

        public Course()
    • Method Detail

      • 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 java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

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

        public java.lang.String getCourseFamily()
        Gets the value of the courseFamily property.
        Returns:
        possible object is String
      • setCourseFamily

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

        public java.lang.Double getLength()
        Gets the value of the length property.
        Returns:
        possible object is Double
      • setLength

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

        public java.lang.Double getClimb()
        Gets the value of the climb property.
        Returns:
        possible object is Double
      • setClimb

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

        public java.util.List<CourseControl> getCourseControl()
        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 Jakarta XML Binding 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 java.math.BigInteger getMapId()
        Gets the value of the mapId property.
        Returns:
        possible object is BigInteger
      • setMapId

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

        public Extensions getExtensions()
        Gets the value of the extensions property.
        Returns:
        possible object is Extensions
      • setExtensions

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

        public java.math.BigInteger getNumberOfCompetitors()
        Gets the value of the numberOfCompetitors property.
        Returns:
        possible object is BigInteger
      • setNumberOfCompetitors

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

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

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