Class LapT
java.lang.Object
org.bremersee.garmin.historydatabase.v1.model.LapT
- All Implemented Interfaces:
Serializable
Java class for Lap_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Lap_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TotalTimeSeconds" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="DistanceMeters" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="Calories" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
<element name="AverageHeartRateBpm" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" minOccurs="0"/>
<element name="Track" type="{http://www.garmin.com/xmlschemas/HistoryDatabase/v1}Track_t" maxOccurs="unbounded" minOccurs="0"/>
<element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="StartTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Shortprotected intprotected doubleprotected Stringprotected XMLGregorianCalendarprotected double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averageHeartRateBpm property.intGets the value of the calories property.doubleGets the value of the distanceMeters property.getNotes()Gets the value of the notes property.Gets the value of the startTime property.doubleGets the value of the totalTimeSeconds property.Gets the value of the tracks property.voidsetAverageHeartRateBpm(Short value) Sets the value of the averageHeartRateBpm property.voidsetCalories(int value) Sets the value of the calories property.voidsetDistanceMeters(double value) Sets the value of the distanceMeters property.voidSets the value of the notes property.voidsetStartTime(XMLGregorianCalendar value) Sets the value of the startTime property.voidsetTotalTimeSeconds(double value) Sets the value of the totalTimeSeconds property.
-
Field Details
-
totalTimeSeconds
protected double totalTimeSeconds -
distanceMeters
protected double distanceMeters -
calories
protected int calories -
averageHeartRateBpm
-
tracks
-
notes
-
startTime
-
-
Constructor Details
-
LapT
public LapT()
-
-
Method Details
-
getTotalTimeSeconds
public double getTotalTimeSeconds()Gets the value of the totalTimeSeconds property. -
setTotalTimeSeconds
public void setTotalTimeSeconds(double value) Sets the value of the totalTimeSeconds property. -
getDistanceMeters
public double getDistanceMeters()Gets the value of the distanceMeters property. -
setDistanceMeters
public void setDistanceMeters(double value) Sets the value of the distanceMeters property. -
getCalories
public int getCalories()Gets the value of the calories property. -
setCalories
public void setCalories(int value) Sets the value of the calories property. -
getAverageHeartRateBpm
Gets the value of the averageHeartRateBpm property.- Returns:
- possible object is
Short
-
setAverageHeartRateBpm
Sets the value of the averageHeartRateBpm property.- Parameters:
value- allowed object isShort
-
getTracks
Gets the value of the tracks 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
setmethod for the tracks property.For example, to add a new item, do as follows:
getTracks().add(newItem);Objects of the following type(s) are allowed in the list
TrackT- Returns:
- The value of the tracks property.
-
getNotes
Gets the value of the notes property.- Returns:
- possible object is
String
-
setNotes
Sets the value of the notes property.- Parameters:
value- allowed object isString
-
getStartTime
Gets the value of the startTime property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStartTime
Sets the value of the startTime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-