com.garmin.fit
Class SetMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.SetMesg

public class SetMesg
extends Mesg


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 com.garmin.fit.Mesg
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

DurationFieldNum

public static final int DurationFieldNum
See Also:
Constant Field Values

RepetitionsFieldNum

public static final int RepetitionsFieldNum
See Also:
Constant Field Values

WeightFieldNum

public static final int WeightFieldNum
See Also:
Constant Field Values

SetTypeFieldNum

public static final int SetTypeFieldNum
See Also:
Constant Field Values

StartTimeFieldNum

public static final int StartTimeFieldNum
See Also:
Constant Field Values

CategoryFieldNum

public static final int CategoryFieldNum
See Also:
Constant Field Values

CategorySubtypeFieldNum

public static final int CategorySubtypeFieldNum
See Also:
Constant Field Values

WeightDisplayUnitFieldNum

public static final int WeightDisplayUnitFieldNum
See Also:
Constant Field Values

MessageIndexFieldNum

public static final int MessageIndexFieldNum
See Also:
Constant Field Values

WktStepIndexFieldNum

public static final int WktStepIndexFieldNum
See Also:
Constant Field Values

setMesg

protected static final Mesg setMesg
Constructor Detail

SetMesg

public SetMesg()

SetMesg

public SetMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Comment: Timestamp of the set

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Comment: Timestamp of the set

Parameters:
timestamp -

getDuration

public java.lang.Float getDuration()
Get duration field Units: s

Returns:
duration

setDuration

public void setDuration(java.lang.Float duration)
Set duration field Units: s

Parameters:
duration -

getRepetitions

public java.lang.Integer getRepetitions()
Get repetitions field Comment: # of repitions of the movement

Returns:
repetitions

setRepetitions

public void setRepetitions(java.lang.Integer repetitions)
Set repetitions field Comment: # of repitions of the movement

Parameters:
repetitions -

getWeight

public java.lang.Float getWeight()
Get weight field Units: kg Comment: Amount of weight applied for the set

Returns:
weight

setWeight

public void setWeight(java.lang.Float weight)
Set weight field Units: kg Comment: Amount of weight applied for the set

Parameters:
weight -

getSetType

public java.lang.Short getSetType()
Get set_type field

Returns:
set_type

setSetType

public void setSetType(java.lang.Short setType)
Set set_type field

Parameters:
setType -

getStartTime

public DateTime getStartTime()
Get start_time field Comment: Start time of the set

Returns:
start_time

setStartTime

public void setStartTime(DateTime startTime)
Set start_time field Comment: Start time of the set

Parameters:
startTime -

getCategory

public java.lang.Integer[] getCategory()

getNumCategory

public int getNumCategory()
Returns:
number of category

getCategory

public java.lang.Integer getCategory(int index)
Get category field

Parameters:
index - of category
Returns:
category

setCategory

public void setCategory(int index,
                        java.lang.Integer category)
Set category field

Parameters:
index - of category
category -

getCategorySubtype

public java.lang.Integer[] getCategorySubtype()

getNumCategorySubtype

public int getNumCategorySubtype()
Returns:
number of category_subtype

getCategorySubtype

public java.lang.Integer getCategorySubtype(int index)
Get category_subtype field Comment: Based on the associated category, see [category]_exercise_names

Parameters:
index - of category_subtype
Returns:
category_subtype

setCategorySubtype

public void setCategorySubtype(int index,
                               java.lang.Integer categorySubtype)
Set category_subtype field Comment: Based on the associated category, see [category]_exercise_names

Parameters:
index - of category_subtype
categorySubtype -

getWeightDisplayUnit

public java.lang.Integer getWeightDisplayUnit()
Get weight_display_unit field

Returns:
weight_display_unit

setWeightDisplayUnit

public void setWeightDisplayUnit(java.lang.Integer weightDisplayUnit)
Set weight_display_unit field

Parameters:
weightDisplayUnit -

getMessageIndex

public java.lang.Integer getMessageIndex()
Get message_index field

Returns:
message_index

setMessageIndex

public void setMessageIndex(java.lang.Integer messageIndex)
Set message_index field

Parameters:
messageIndex -

getWktStepIndex

public java.lang.Integer getWktStepIndex()
Get wkt_step_index field

Returns:
wkt_step_index

setWktStepIndex

public void setWktStepIndex(java.lang.Integer wktStepIndex)
Set wkt_step_index field

Parameters:
wktStepIndex -