Class PersonResult
-
- All Implemented Interfaces:
public class PersonResult
Result information for an individual competitor, including e.g. result status, place, finish time, and split times.
Java class for PersonResult complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="EntryId" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/> <element name="Person" type="{http://www.orienteering.org/datastandard/3.0}Person"/> <element name="Organisation" type="{http://www.orienteering.org/datastandard/3.0}Organisation" minOccurs="0"/> <element name="Result" type="{http://www.orienteering.org/datastandard/3.0}PersonRaceResult" 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 PersonResult()
-
Method Summary
Modifier and Type Method Description Id
getEntryId()
The id corresponding to this person's entry in an EntryList. void
setEntryId(Id value)
Sets the value of the entryId property. Person
getPerson()
The person that the result belongs to. void
setPerson(Person value)
Sets the value of the person property. Organisation
getOrganisation()
The organisation that the person is representing at the event. void
setOrganisation(Organisation value)
Sets the value of the organisation property. List<PersonRaceResult>
getResult()
The core result information for the person; one element per race in the event. 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
-
getEntryId
Id getEntryId()
The id corresponding to this person's entry in an EntryList.
- Returns:
possibleobject is Id
-
setEntryId
void setEntryId(Id value)
Sets the value of the entryId property.
- Parameters:
value
- allowed object is Id
-
getPerson
Person getPerson()
The person that the result belongs to.
- Returns:
possibleobject is Person
-
setPerson
void setPerson(Person value)
Sets the value of the person property.
- Parameters:
value
- allowed object is Person
-
getOrganisation
Organisation getOrganisation()
The organisation that the person is representing at the event.
- Returns:
possibleobject is Organisation
-
setOrganisation
void setOrganisation(Organisation value)
Sets the value of the organisation property.
- Parameters:
value
- allowed object is Organisation
-
getResult
List<PersonRaceResult> getResult()
The core result information for the person; one element per race in the event. Gets the value of the result 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 result property.For example, to add a new item, do as follows:
getResult().add(newItem);
Objects of the following type(s) are allowed in the list PersonRaceResult
- Returns:
Thevalue of the result 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
-
-
-
-