Class Competitor
-
- All Implemented Interfaces:
public class Competitor
Represents information about a person in a competition context, i.e. including organisation and control card.
Java class for Competitor complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Competitor"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Person" type="{http://www.orienteering.org/datastandard/3.0}Person"/> <element name="Organisation" type="{http://www.orienteering.org/datastandard/3.0}Organisation" maxOccurs="unbounded" minOccurs="0"/> <element name="ControlCard" type="{http://www.orienteering.org/datastandard/3.0}ControlCard" maxOccurs="unbounded" minOccurs="0"/> <element name="Class" type="{http://www.orienteering.org/datastandard/3.0}Class" maxOccurs="unbounded" minOccurs="0"/> <element name="Score" type="{http://www.orienteering.org/datastandard/3.0}Score" maxOccurs="unbounded" minOccurs="0"/> <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/> </sequence> <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Competitor()
-
Method Summary
Modifier and Type Method Description Person
getPerson()
Gets the value of the person property. void
setPerson(Person value)
Sets the value of the person property. List<Organisation>
getOrganisation()
The organisations that the person is member of. List<ControlCard>
getControlCard()
The default control cards of the competitor. List<Class>
getClazz()
The default classes of the competitor. List<Score>
getScore()
Any scores, e.g. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. XMLGregorianCalendar
getModifyTime()
Gets the value of the modifyTime property. void
setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property. -
-
Method Detail
-
getPerson
Person getPerson()
Gets the value of the person property.
- Returns:
possibleobject is Person
-
setPerson
void setPerson(Person value)
Sets the value of the person property.
- Parameters:
value
- allowed object is Person
-
getOrganisation
List<Organisation> getOrganisation()
The organisations that the person is member of. Gets the value of the organisation 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 organisation property.For example, to add a new item, do as follows:
getOrganisation().add(newItem);
Objects of the following type(s) are allowed in the list Organisation
- Returns:
Thevalue of the organisation property.
-
getControlCard
List<ControlCard> getControlCard()
The default control cards of the competitor. Gets the value of the controlCard 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 controlCard property.For example, to add a new item, do as follows:
getControlCard().add(newItem);
Objects of the following type(s) are allowed in the list ControlCard
- Returns:
Thevalue of the controlCard property.
-
getClazz
List<Class> getClazz()
The default classes of the competitor. Gets the value of the clazz 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 clazz property.For example, to add a new item, do as follows:
getClazz().add(newItem);
Objects of the following type(s) are allowed in the list Class
- Returns:
Thevalue of the clazz property.
-
getScore
List<Score> getScore()
Any scores, e.g. ranking scores, for the person. Gets the value of the score 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 score property.For example, to add a new item, do as follows:
getScore().add(newItem);
Objects of the following type(s) are allowed in the list Score
- Returns:
Thevalue of the score property.
-
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
-
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
-
-
-
-