Class ActivityGoalT
java.lang.Object
org.bremersee.garmin.activitygoals.v1.model.ext.ActivityGoalT
- All Implemented Interfaces:
Serializable
Java class for ActivityGoal_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ActivityGoal_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Period" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}Period_t"/>
<element name="Extensions" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}Extensions_t" minOccurs="0"/>
</sequence>
<attribute name="Sport" use="required" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}Sport_t" />
<attribute name="Measure" use="required" type="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}Measure_t" />
<attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
<attribute name="Current" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatGets the value of the current property.Gets the value of the extensions property.Gets the value of the measure property.getName()Gets the value of the name property.Gets the value of the period property.getSport()Gets the value of the sport property.floatGets the value of the target property.voidsetCurrent(float value) Sets the value of the current property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetMeasure(MeasureT value) Sets the value of the measure property.voidSets the value of the name property.voidSets the value of the period property.voidSets the value of the sport property.voidsetTarget(float value) Sets the value of the target property.
-
Field Details
-
name
-
period
-
extensions
-
sport
-
measure
-
target
protected float target -
current
protected float current
-
-
Constructor Details
-
ActivityGoalT
public ActivityGoalT()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
PeriodT
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isPeriodT
-
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
-
getSport
Gets the value of the sport property.- Returns:
- possible object is
SportT
-
setSport
Sets the value of the sport property.- Parameters:
value- allowed object isSportT
-
getMeasure
Gets the value of the measure property.- Returns:
- possible object is
MeasureT
-
setMeasure
Sets the value of the measure property.- Parameters:
value- allowed object isMeasureT
-
getTarget
public float getTarget()Gets the value of the target property. -
setTarget
public void setTarget(float value) Sets the value of the target property. -
getCurrent
public float getCurrent()Gets the value of the current property. -
setCurrent
public void setCurrent(float value) Sets the value of the current property.
-