com.garmin.fit
Class TotalsMesg

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

public class TotalsMesg
extends Mesg


Field Summary
static int ActiveTimeFieldNum
           
static int CaloriesFieldNum
           
static int DistanceFieldNum
           
static int ElapsedTimeFieldNum
           
static int MessageIndexFieldNum
           
static int SessionsFieldNum
           
static int SportFieldNum
           
static int SportIndexFieldNum
           
static int TimerTimeFieldNum
           
static int TimestampFieldNum
           
protected static Mesg totalsMesg
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
TotalsMesg()
           
TotalsMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Long getActiveTime()
          Get active_time field Units: s
 java.lang.Long getCalories()
          Get calories field Units: kcal
 java.lang.Long getDistance()
          Get distance field Units: m
 java.lang.Long getElapsedTime()
          Get elapsed_time field Units: s Comment: Includes pauses
 java.lang.Integer getMessageIndex()
          Get message_index field
 java.lang.Integer getSessions()
          Get sessions field
 Sport getSport()
          Get sport field
 java.lang.Short getSportIndex()
          Get sport_index field
 java.lang.Long getTimerTime()
          Get timer_time field Units: s Comment: Excludes pauses
 DateTime getTimestamp()
          Get timestamp field Units: s
 void setActiveTime(java.lang.Long activeTime)
          Set active_time field Units: s
 void setCalories(java.lang.Long calories)
          Set calories field Units: kcal
 void setDistance(java.lang.Long distance)
          Set distance field Units: m
 void setElapsedTime(java.lang.Long elapsedTime)
          Set elapsed_time field Units: s Comment: Includes pauses
 void setMessageIndex(java.lang.Integer messageIndex)
          Set message_index field
 void setSessions(java.lang.Integer sessions)
          Set sessions field
 void setSport(Sport sport)
          Set sport field
 void setSportIndex(java.lang.Short sportIndex)
          Set sport_index field
 void setTimerTime(java.lang.Long timerTime)
          Set timer_time field Units: s Comment: Excludes pauses
 void setTimestamp(DateTime timestamp)
          Set timestamp field Units: s
 
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

MessageIndexFieldNum

public static final int MessageIndexFieldNum
See Also:
Constant Field Values

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

TimerTimeFieldNum

public static final int TimerTimeFieldNum
See Also:
Constant Field Values

DistanceFieldNum

public static final int DistanceFieldNum
See Also:
Constant Field Values

CaloriesFieldNum

public static final int CaloriesFieldNum
See Also:
Constant Field Values

SportFieldNum

public static final int SportFieldNum
See Also:
Constant Field Values

ElapsedTimeFieldNum

public static final int ElapsedTimeFieldNum
See Also:
Constant Field Values

SessionsFieldNum

public static final int SessionsFieldNum
See Also:
Constant Field Values

ActiveTimeFieldNum

public static final int ActiveTimeFieldNum
See Also:
Constant Field Values

SportIndexFieldNum

public static final int SportIndexFieldNum
See Also:
Constant Field Values

totalsMesg

protected static final Mesg totalsMesg
Constructor Detail

TotalsMesg

public TotalsMesg()

TotalsMesg

public TotalsMesg(Mesg mesg)
Method Detail

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 -

getTimestamp

public DateTime getTimestamp()
Get timestamp field Units: s

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Units: s

Parameters:
timestamp -

getTimerTime

public java.lang.Long getTimerTime()
Get timer_time field Units: s Comment: Excludes pauses

Returns:
timer_time

setTimerTime

public void setTimerTime(java.lang.Long timerTime)
Set timer_time field Units: s Comment: Excludes pauses

Parameters:
timerTime -

getDistance

public java.lang.Long getDistance()
Get distance field Units: m

Returns:
distance

setDistance

public void setDistance(java.lang.Long distance)
Set distance field Units: m

Parameters:
distance -

getCalories

public java.lang.Long getCalories()
Get calories field Units: kcal

Returns:
calories

setCalories

public void setCalories(java.lang.Long calories)
Set calories field Units: kcal

Parameters:
calories -

getSport

public Sport getSport()
Get sport field

Returns:
sport

setSport

public void setSport(Sport sport)
Set sport field

Parameters:
sport -

getElapsedTime

public java.lang.Long getElapsedTime()
Get elapsed_time field Units: s Comment: Includes pauses

Returns:
elapsed_time

setElapsedTime

public void setElapsedTime(java.lang.Long elapsedTime)
Set elapsed_time field Units: s Comment: Includes pauses

Parameters:
elapsedTime -

getSessions

public java.lang.Integer getSessions()
Get sessions field

Returns:
sessions

setSessions

public void setSessions(java.lang.Integer sessions)
Set sessions field

Parameters:
sessions -

getActiveTime

public java.lang.Long getActiveTime()
Get active_time field Units: s

Returns:
active_time

setActiveTime

public void setActiveTime(java.lang.Long activeTime)
Set active_time field Units: s

Parameters:
activeTime -

getSportIndex

public java.lang.Short getSportIndex()
Get sport_index field

Returns:
sport_index

setSportIndex

public void setSportIndex(java.lang.Short sportIndex)
Set sport_index field

Parameters:
sportIndex -