Package iofXml.v3
Class Course
- java.lang.Object
-
- iofXml.v3.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Double
climb
protected java.util.List<CourseControl>
courseControl
protected java.lang.String
courseFamily
protected Extensions
extensions
protected Id
id
protected java.lang.Double
length
protected java.math.BigInteger
mapId
protected javax.xml.datatype.XMLGregorianCalendar
modifyTime
protected java.lang.String
name
protected java.math.BigInteger
numberOfCompetitors
-
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.
-
-
-
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
-
extensions
protected Extensions extensions
-
numberOfCompetitors
protected java.math.BigInteger numberOfCompetitors
-
modifyTime
protected javax.xml.datatype.XMLGregorianCalendar modifyTime
-
-
Method Detail
-
setId
public void setId(Id value)
Sets the value of the id property.- Parameters:
value
- allowed object isId
-
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 isString
-
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 isString
-
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 isDouble
-
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 isDouble
-
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 isBigInteger
-
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 isExtensions
-
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 isBigInteger
-
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 isXMLGregorianCalendar
-
-