|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.garmin.fit.Mesg
com.garmin.fit.SetMesg
public class SetMesg
Field Summary | |
---|---|
static int |
CategoryFieldNum
|
static int |
CategorySubtypeFieldNum
|
static int |
DurationFieldNum
|
static int |
MessageIndexFieldNum
|
static int |
RepetitionsFieldNum
|
protected static Mesg |
setMesg
|
static int |
SetTypeFieldNum
|
static int |
StartTimeFieldNum
|
static int |
TimestampFieldNum
|
static int |
WeightDisplayUnitFieldNum
|
static int |
WeightFieldNum
|
static int |
WktStepIndexFieldNum
|
Fields inherited from class com.garmin.fit.Mesg |
---|
developerFields, fields, localNum, name, num, systemTimeOffset |
Constructor Summary | |
---|---|
SetMesg()
|
|
SetMesg(Mesg mesg)
|
Method Summary | |
---|---|
java.lang.Integer[] |
getCategory()
|
java.lang.Integer |
getCategory(int index)
Get category field |
java.lang.Integer[] |
getCategorySubtype()
|
java.lang.Integer |
getCategorySubtype(int index)
Get category_subtype field Comment: Based on the associated category, see [category]_exercise_names |
java.lang.Float |
getDuration()
Get duration field Units: s |
java.lang.Integer |
getMessageIndex()
Get message_index field |
int |
getNumCategory()
|
int |
getNumCategorySubtype()
|
java.lang.Integer |
getRepetitions()
Get repetitions field Comment: # of repitions of the movement |
java.lang.Short |
getSetType()
Get set_type field |
DateTime |
getStartTime()
Get start_time field Comment: Start time of the set |
DateTime |
getTimestamp()
Get timestamp field Comment: Timestamp of the set |
java.lang.Float |
getWeight()
Get weight field Units: kg Comment: Amount of weight applied for the set |
java.lang.Integer |
getWeightDisplayUnit()
Get weight_display_unit field |
java.lang.Integer |
getWktStepIndex()
Get wkt_step_index field |
void |
setCategory(int index,
java.lang.Integer category)
Set category field |
void |
setCategorySubtype(int index,
java.lang.Integer categorySubtype)
Set category_subtype field Comment: Based on the associated category, see [category]_exercise_names |
void |
setDuration(java.lang.Float duration)
Set duration field Units: s |
void |
setMessageIndex(java.lang.Integer messageIndex)
Set message_index field |
void |
setRepetitions(java.lang.Integer repetitions)
Set repetitions field Comment: # of repitions of the movement |
void |
setSetType(java.lang.Short setType)
Set set_type field |
void |
setStartTime(DateTime startTime)
Set start_time field Comment: Start time of the set |
void |
setTimestamp(DateTime timestamp)
Set timestamp field Comment: Timestamp of the set |
void |
setWeight(java.lang.Float weight)
Set weight field Units: kg Comment: Amount of weight applied for the set |
void |
setWeightDisplayUnit(java.lang.Integer weightDisplayUnit)
Set weight_display_unit field |
void |
setWktStepIndex(java.lang.Integer wktStepIndex)
Set wkt_step_index field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TimestampFieldNum
public static final int DurationFieldNum
public static final int RepetitionsFieldNum
public static final int WeightFieldNum
public static final int SetTypeFieldNum
public static final int StartTimeFieldNum
public static final int CategoryFieldNum
public static final int CategorySubtypeFieldNum
public static final int WeightDisplayUnitFieldNum
public static final int MessageIndexFieldNum
public static final int WktStepIndexFieldNum
protected static final Mesg setMesg
Constructor Detail |
---|
public SetMesg()
public SetMesg(Mesg mesg)
Method Detail |
---|
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- public java.lang.Float getDuration()
public void setDuration(java.lang.Float duration)
duration
- public java.lang.Integer getRepetitions()
public void setRepetitions(java.lang.Integer repetitions)
repetitions
- public java.lang.Float getWeight()
public void setWeight(java.lang.Float weight)
weight
- public java.lang.Short getSetType()
public void setSetType(java.lang.Short setType)
setType
- public DateTime getStartTime()
public void setStartTime(DateTime startTime)
startTime
- public java.lang.Integer[] getCategory()
public int getNumCategory()
public java.lang.Integer getCategory(int index)
index
- of category
public void setCategory(int index, java.lang.Integer category)
index
- of categorycategory
- public java.lang.Integer[] getCategorySubtype()
public int getNumCategorySubtype()
public java.lang.Integer getCategorySubtype(int index)
index
- of category_subtype
public void setCategorySubtype(int index, java.lang.Integer categorySubtype)
index
- of category_subtypecategorySubtype
- public java.lang.Integer getWeightDisplayUnit()
public void setWeightDisplayUnit(java.lang.Integer weightDisplayUnit)
weightDisplayUnit
- public java.lang.Integer getMessageIndex()
public void setMessageIndex(java.lang.Integer messageIndex)
messageIndex
- public java.lang.Integer getWktStepIndex()
public void setWktStepIndex(java.lang.Integer wktStepIndex)
wktStepIndex
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |