Package iofXml.v3
Class OverallResult
java.lang.Object
iofXml.v3.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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionsContainer element for custom elements from other schemas.protected BigIntegerThe position in the result list for the person or team that the result belongs to.Any scores that are attached to the result, e.g.protected ResultStatusThe status of the result.protected DoubleThe time, in seconds, that is shown in the result list.protected DoubleThe time, in seconds, that the the person or team is behind the leader or winner. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContainer element for custom elements from other schemas.The position in the result list for the person or team that the result belongs to.getScore()Any scores that are attached to the result, e.g.The status of the result.getTime()The time, in seconds, that is shown in the result list.The time, in seconds, that the the person or team is behind the leader or winner.voidsetExtensions(Extensions value) Sets the value of the extensions property.voidsetPosition(BigInteger value) Sets the value of the position property.voidsetStatus(ResultStatus value) Sets the value of the status property.voidSets the value of the time property.voidsetTimeBehind(Double value) Sets the value of the timeBehind property.
-
Field Details
-
time
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. -
timeBehind
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. -
position
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. -
status
The status of the result. -
score
Any scores that are attached to the result, e.g. World Ranking points. -
extensions
Container element for custom elements from other schemas.
-
-
Constructor Details
-
OverallResult
public OverallResult()
-
-
Method Details
-
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:
- possible object is
Double
-
setTime
Sets the value of the time property. -
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:
- possible object is
Double
-
setTimeBehind
Sets the value of the timeBehind property.- Parameters:
value- allowed object isDouble- See Also:
-
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:
- possible object is
BigInteger
-
setPosition
Sets the value of the position property.- Parameters:
value- allowed object isBigInteger- See Also:
-
getStatus
The status of the result.- Returns:
- possible object is
ResultStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isResultStatus- See Also:
-
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
setmethod 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:
- The value of the score property.
-
getExtensions
Container element for custom elements from other schemas.- Returns:
- possible object is
Extensions
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions- See Also:
-