Class OverallResult
-
- All Implemented Interfaces:
public class OverallResult
Java class for OverallResult complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="OverallResult"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> <element name="TimeBehind" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> <element name="Position" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <element name="Status" type="{http://www.orienteering.org/datastandard/3.0}ResultStatus"/> <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> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description OverallResult()
-
Method Summary
Modifier and Type Method Description Double
getTime()
The time, in seconds, that is shown in the result list. void
setTime(Double value)
Sets the value of the time property. Double
getTimeBehind()
The time, in seconds, that the the person or team is behind the leader or winner. void
setTimeBehind(Double value)
Sets the value of the timeBehind property. BigInteger
getPosition()
The position in the result list for the person or team that the result belongs to. void
setPosition(BigInteger value)
Sets the value of the position property. ResultStatus
getStatus()
The status of the result. void
setStatus(ResultStatus value)
Sets the value of the status property. List<Score>
getScore()
Any scores that are attached to the result, e.g. Extensions
getExtensions()
Container element for custom elements from other schemas. void
setExtensions(Extensions value)
Sets the value of the extensions property. -
-
Method Detail
-
getTime
Double getTime()
The time, in seconds, that is shown in the result list. Fractions of seconds (e.g. 258.7) may be used if the time resolution is higher than one second.
- Returns:
possibleobject is Double
-
setTime
void setTime(Double value)
Sets the value of the time property.
- Parameters:
value
- allowed object is Double
-
getTimeBehind
Double getTimeBehind()
The time, in seconds, that the the person or team is behind the leader or winner. Fractions of seconds (e.g. 258.7) may be used if the time resolution is higher than one second.
- Returns:
possibleobject is Double
-
setTimeBehind
void setTimeBehind(Double value)
Sets the value of the timeBehind property.
- Parameters:
value
- allowed object is Double
-
getPosition
BigInteger getPosition()
The position in the result list for the person or team that the result belongs to. This element should only be present when the Status element is set to OK.
- Returns:
possibleobject is BigInteger
-
setPosition
void setPosition(BigInteger value)
Sets the value of the position property.
- Parameters:
value
- allowed object is BigInteger
-
getStatus
ResultStatus getStatus()
The status of the result.
- Returns:
possibleobject is ResultStatus
-
setStatus
void setStatus(ResultStatus value)
Sets the value of the status property.
- Parameters:
value
- allowed object is ResultStatus
-
getScore
List<Score> getScore()
Any scores that are attached to the result, e.g. World Ranking points. 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
-
-
-
-