Class AbstractProfileActivityT
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BikeProfileActivityT,ProfileActivityT
Java class for AbstractProfileActivity_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractProfileActivity_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="MaximumHeartRateBpm" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}HeartRateInBeatsPerMinute_t"/>
<element name="GearWeightKilograms" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="HeartRateZones" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}ProfileHeartRateZone_t" maxOccurs="5" minOccurs="5"/>
<element name="SpeedZones" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}ProfileSpeedZone_t" maxOccurs="10" minOccurs="10"/>
<element name="Extensions" type="{http://www.garmin.com/xmlschemas/UserProfile/v1}Extensions_t" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionsTprotected doubleprotected List<ProfileHeartRateZoneT> protected HeartRateInBeatsPerMinuteTprotected List<ProfileSpeedZoneT> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the extensions property.doubleGets the value of the gearWeightKilograms property.Gets the value of the heartRateZones property.Gets the value of the maximumHeartRateBpm property.Gets the value of the speedZones property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetGearWeightKilograms(double value) Sets the value of the gearWeightKilograms property.voidSets the value of the maximumHeartRateBpm property.
-
Field Details
-
maximumHeartRateBpm
-
gearWeightKilograms
protected double gearWeightKilograms -
heartRateZones
-
speedZones
-
extensions
-
-
Constructor Details
-
AbstractProfileActivityT
public AbstractProfileActivityT()
-
-
Method Details
-
getMaximumHeartRateBpm
Gets the value of the maximumHeartRateBpm property.- Returns:
- possible object is
HeartRateInBeatsPerMinuteT
-
setMaximumHeartRateBpm
Sets the value of the maximumHeartRateBpm property.- Parameters:
value- allowed object isHeartRateInBeatsPerMinuteT
-
getGearWeightKilograms
public double getGearWeightKilograms()Gets the value of the gearWeightKilograms property. -
setGearWeightKilograms
public void setGearWeightKilograms(double value) Sets the value of the gearWeightKilograms property. -
getHeartRateZones
Gets the value of the heartRateZones 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 heartRateZones property.For example, to add a new item, do as follows:
getHeartRateZones().add(newItem);Objects of the following type(s) are allowed in the list
ProfileHeartRateZoneT- Returns:
- The value of the heartRateZones property.
-
getSpeedZones
Gets the value of the speedZones 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 speedZones property.For example, to add a new item, do as follows:
getSpeedZones().add(newItem);Objects of the following type(s) are allowed in the list
ProfileSpeedZoneT- Returns:
- The value of the speedZones property.
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsT
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsT
-