Package slash.navigation.tcx.binding2
Class ActivityLapT
java.lang.Object
slash.navigation.tcx.binding2.ActivityLapT
Java class for ActivityLap_t complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityLap_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="MaximumSpeed" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="Calories" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
<element name="AverageHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
<element name="MaximumHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
<element name="Intensity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Intensity_t"/>
<element name="Cadence" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CadenceValue_t" minOccurs="0"/>
<element name="TriggerMethod" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}TriggerMethod_t"/>
<element name="Track" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Track_t" maxOccurs="unbounded" minOccurs="0"/>
<element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
</sequence>
<attribute name="StartTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HeartRateInBeatsPerMinuteTprotected Shortprotected intprotected doubleprotected ExtensionsTYou can extend Training Center by adding your own elements from another schema here.protected IntensityTprotected HeartRateInBeatsPerMinuteTprotected Doubleprotected Stringprotected XMLGregorianCalendarprotected doubleprotected TriggerMethodT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averageHeartRateBpm property.Gets the value of the cadence property.intGets the value of the calories property.doubleGets the value of the distanceMeters property.You can extend Training Center by adding your own elements from another schema here.Gets the value of the intensity property.Gets the value of the maximumHeartRateBpm property.Gets the value of the maximumSpeed property.getNotes()Gets the value of the notes property.Gets the value of the startTime property.doubleGets the value of the totalTimeSeconds property.getTrack()Gets the value of the track property.Gets the value of the triggerMethod property.voidSets the value of the averageHeartRateBpm property.voidsetCadence(Short value) Sets the value of the cadence property.voidsetCalories(int value) Sets the value of the calories property.voidsetDistanceMeters(double value) Sets the value of the distanceMeters property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetIntensity(IntensityT value) Sets the value of the intensity property.voidSets the value of the maximumHeartRateBpm property.voidsetMaximumSpeed(Double value) Sets the value of the maximumSpeed 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.voidsetTriggerMethod(TriggerMethodT value) Sets the value of the triggerMethod property.
-
Field Details
-
totalTimeSeconds
protected double totalTimeSeconds -
distanceMeters
protected double distanceMeters -
maximumSpeed
-
calories
protected int calories -
averageHeartRateBpm
-
maximumHeartRateBpm
-
intensity
-
cadence
-
triggerMethod
-
track
-
notes
-
extensions
You can extend Training Center by adding your own elements from another schema here. -
startTime
-
-
Constructor Details
-
ActivityLapT
public ActivityLapT()
-
-
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. -
getMaximumSpeed
Gets the value of the maximumSpeed property.- Returns:
- possible object is
Double
-
setMaximumSpeed
Sets the value of the maximumSpeed property.- Parameters:
value- allowed object isDouble
-
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
HeartRateInBeatsPerMinuteT
-
getMaximumHeartRateBpm
Gets the value of the maximumHeartRateBpm property.- Returns:
- possible object is
HeartRateInBeatsPerMinuteT
-
getIntensity
Gets the value of the intensity property.- Returns:
- possible object is
IntensityT
-
getCadence
Gets the value of the cadence property.- Returns:
- possible object is
Short
-
setCadence
Sets the value of the cadence property.- Parameters:
value- allowed object isShort
-
getTriggerMethod
Gets the value of the triggerMethod property.- Returns:
- possible object is
TriggerMethodT
-
getTrack
Gets the value of the track 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 track property.For example, to add a new item, do as follows:
getTrack().add(newItem);
Objects of the following type(s) are allowed in the list
TrackT- Returns:
- The value of the track 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
-
getExtensions
You can extend Training Center by adding your own elements from another schema here.- Returns:
- possible object is
ExtensionsT
-
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
-