public class LengthMesg extends Mesg implements MesgWithEvent
Modifier and Type | Field and Description |
---|---|
static int |
AvgRespirationRateFieldNum |
static int |
AvgSpeedFieldNum |
static int |
AvgSwimmingCadenceFieldNum |
static int |
EnhancedAvgRespirationRateFieldNum |
static int |
EnhancedMaxRespirationRateFieldNum |
static int |
EventFieldNum |
static int |
EventGroupFieldNum |
static int |
EventTypeFieldNum |
protected static Mesg |
lengthMesg |
static int |
LengthTypeFieldNum |
static int |
MaxRespirationRateFieldNum |
static int |
MessageIndexFieldNum |
static int |
OpponentScoreFieldNum |
static int |
PlayerScoreFieldNum |
static int |
StartTimeFieldNum |
static int |
StrokeCountFieldNum |
static int |
SwimStrokeFieldNum |
static int |
TimestampFieldNum |
static int |
TotalCaloriesFieldNum |
static int |
TotalElapsedTimeFieldNum |
static int |
TotalStrokesFieldNum |
static int |
TotalTimerTimeFieldNum |
static int |
ZoneCountFieldNum |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
LengthMesg() |
LengthMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
getAvgRespirationRate()
Get avg_respiration_rate field
|
java.lang.Float |
getAvgSpeed()
Get avg_speed field
Units: m/s
|
java.lang.Short |
getAvgSwimmingCadence()
Get avg_swimming_cadence field
Units: strokes/min
|
java.lang.Float |
getEnhancedAvgRespirationRate()
Get enhanced_avg_respiration_rate field
Units: Breaths/min
|
java.lang.Float |
getEnhancedMaxRespirationRate()
Get enhanced_max_respiration_rate field
Units: Breaths/min
|
Event |
getEvent()
Get event field
|
java.lang.Short |
getEventGroup()
Get event_group field
|
EventType |
getEventType()
Get event_type field
|
LengthType |
getLengthType()
Get length_type field
|
java.lang.Short |
getMaxRespirationRate()
Get max_respiration_rate field
|
java.lang.Integer |
getMessageIndex()
Get message_index field
|
int |
getNumStrokeCount() |
int |
getNumZoneCount() |
java.lang.Integer |
getOpponentScore()
Get opponent_score field
|
java.lang.Integer |
getPlayerScore()
Get player_score field
|
DateTime |
getStartTime()
Get start_time field
|
java.lang.Integer[] |
getStrokeCount() |
java.lang.Integer |
getStrokeCount(int index)
Get stroke_count field
Units: counts
Comment: stroke_type enum used as the index
|
SwimStroke |
getSwimStroke()
Get swim_stroke field
Units: swim_stroke
|
DateTime |
getTimestamp()
Get timestamp field
|
java.lang.Integer |
getTotalCalories()
Get total_calories field
Units: kcal
|
java.lang.Float |
getTotalElapsedTime()
Get total_elapsed_time field
Units: s
|
java.lang.Integer |
getTotalStrokes()
Get total_strokes field
Units: strokes
|
java.lang.Float |
getTotalTimerTime()
Get total_timer_time field
Units: s
|
java.lang.Integer[] |
getZoneCount() |
java.lang.Integer |
getZoneCount(int index)
Get zone_count field
Units: counts
Comment: zone number used as the index
|
void |
setAvgRespirationRate(java.lang.Short avgRespirationRate)
Set avg_respiration_rate field
|
void |
setAvgSpeed(java.lang.Float avgSpeed)
Set avg_speed field
Units: m/s
|
void |
setAvgSwimmingCadence(java.lang.Short avgSwimmingCadence)
Set avg_swimming_cadence field
Units: strokes/min
|
void |
setEnhancedAvgRespirationRate(java.lang.Float enhancedAvgRespirationRate)
Set enhanced_avg_respiration_rate field
Units: Breaths/min
|
void |
setEnhancedMaxRespirationRate(java.lang.Float enhancedMaxRespirationRate)
Set enhanced_max_respiration_rate field
Units: Breaths/min
|
void |
setEvent(Event event)
Set event field
|
void |
setEventGroup(java.lang.Short eventGroup)
Set event_group field
|
void |
setEventType(EventType eventType)
Set event_type field
|
void |
setLengthType(LengthType lengthType)
Set length_type field
|
void |
setMaxRespirationRate(java.lang.Short maxRespirationRate)
Set max_respiration_rate field
|
void |
setMessageIndex(java.lang.Integer messageIndex)
Set message_index field
|
void |
setOpponentScore(java.lang.Integer opponentScore)
Set opponent_score field
|
void |
setPlayerScore(java.lang.Integer playerScore)
Set player_score field
|
void |
setStartTime(DateTime startTime)
Set start_time field
|
void |
setStrokeCount(int index,
java.lang.Integer strokeCount)
Set stroke_count field
Units: counts
Comment: stroke_type enum used as the index
|
void |
setSwimStroke(SwimStroke swimStroke)
Set swim_stroke field
Units: swim_stroke
|
void |
setTimestamp(DateTime timestamp)
Set timestamp field
|
void |
setTotalCalories(java.lang.Integer totalCalories)
Set total_calories field
Units: kcal
|
void |
setTotalElapsedTime(java.lang.Float totalElapsedTime)
Set total_elapsed_time field
Units: s
|
void |
setTotalStrokes(java.lang.Integer totalStrokes)
Set total_strokes field
Units: strokes
|
void |
setTotalTimerTime(java.lang.Float totalTimerTime)
Set total_timer_time field
Units: s
|
void |
setZoneCount(int index,
java.lang.Integer zoneCount)
Set zone_count field
Units: counts
Comment: zone number used as the index
|
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
public static final int MessageIndexFieldNum
public static final int TimestampFieldNum
public static final int EventFieldNum
public static final int EventTypeFieldNum
public static final int StartTimeFieldNum
public static final int TotalElapsedTimeFieldNum
public static final int TotalTimerTimeFieldNum
public static final int TotalStrokesFieldNum
public static final int AvgSpeedFieldNum
public static final int SwimStrokeFieldNum
public static final int AvgSwimmingCadenceFieldNum
public static final int EventGroupFieldNum
public static final int TotalCaloriesFieldNum
public static final int LengthTypeFieldNum
public static final int PlayerScoreFieldNum
public static final int OpponentScoreFieldNum
public static final int StrokeCountFieldNum
public static final int ZoneCountFieldNum
public static final int EnhancedAvgRespirationRateFieldNum
public static final int EnhancedMaxRespirationRateFieldNum
public static final int AvgRespirationRateFieldNum
public static final int MaxRespirationRateFieldNum
protected static final Mesg lengthMesg
public LengthMesg()
public LengthMesg(Mesg mesg)
public java.lang.Integer getMessageIndex()
public void setMessageIndex(java.lang.Integer messageIndex)
messageIndex
- The new messageIndex value to be setpublic DateTime getTimestamp()
getTimestamp
in interface MesgWithEvent
public void setTimestamp(DateTime timestamp)
setTimestamp
in interface MesgWithEvent
timestamp
- The new timestamp value to be setpublic Event getEvent()
getEvent
in interface MesgWithEvent
public void setEvent(Event event)
setEvent
in interface MesgWithEvent
event
- The new event value to be setpublic EventType getEventType()
getEventType
in interface MesgWithEvent
public void setEventType(EventType eventType)
setEventType
in interface MesgWithEvent
eventType
- The new eventType value to be setpublic DateTime getStartTime()
public void setStartTime(DateTime startTime)
startTime
- The new startTime value to be setpublic java.lang.Float getTotalElapsedTime()
public void setTotalElapsedTime(java.lang.Float totalElapsedTime)
totalElapsedTime
- The new totalElapsedTime value to be setpublic java.lang.Float getTotalTimerTime()
public void setTotalTimerTime(java.lang.Float totalTimerTime)
totalTimerTime
- The new totalTimerTime value to be setpublic java.lang.Integer getTotalStrokes()
public void setTotalStrokes(java.lang.Integer totalStrokes)
totalStrokes
- The new totalStrokes value to be setpublic java.lang.Float getAvgSpeed()
public void setAvgSpeed(java.lang.Float avgSpeed)
avgSpeed
- The new avgSpeed value to be setpublic SwimStroke getSwimStroke()
public void setSwimStroke(SwimStroke swimStroke)
swimStroke
- The new swimStroke value to be setpublic java.lang.Short getAvgSwimmingCadence()
public void setAvgSwimmingCadence(java.lang.Short avgSwimmingCadence)
avgSwimmingCadence
- The new avgSwimmingCadence value to be setpublic java.lang.Short getEventGroup()
getEventGroup
in interface MesgWithEvent
public void setEventGroup(java.lang.Short eventGroup)
setEventGroup
in interface MesgWithEvent
eventGroup
- The new eventGroup value to be setpublic java.lang.Integer getTotalCalories()
public void setTotalCalories(java.lang.Integer totalCalories)
totalCalories
- The new totalCalories value to be setpublic LengthType getLengthType()
public void setLengthType(LengthType lengthType)
lengthType
- The new lengthType value to be setpublic java.lang.Integer getPlayerScore()
public void setPlayerScore(java.lang.Integer playerScore)
playerScore
- The new playerScore value to be setpublic java.lang.Integer getOpponentScore()
public void setOpponentScore(java.lang.Integer opponentScore)
opponentScore
- The new opponentScore value to be setpublic java.lang.Integer[] getStrokeCount()
public int getNumStrokeCount()
public java.lang.Integer getStrokeCount(int index)
index
- of stroke_countpublic void setStrokeCount(int index, java.lang.Integer strokeCount)
index
- of stroke_countstrokeCount
- The new strokeCount value to be setpublic java.lang.Integer[] getZoneCount()
public int getNumZoneCount()
public java.lang.Integer getZoneCount(int index)
index
- of zone_countpublic void setZoneCount(int index, java.lang.Integer zoneCount)
index
- of zone_countzoneCount
- The new zoneCount value to be setpublic java.lang.Float getEnhancedAvgRespirationRate()
public void setEnhancedAvgRespirationRate(java.lang.Float enhancedAvgRespirationRate)
enhancedAvgRespirationRate
- The new enhancedAvgRespirationRate value to be setpublic java.lang.Float getEnhancedMaxRespirationRate()
public void setEnhancedMaxRespirationRate(java.lang.Float enhancedMaxRespirationRate)
enhancedMaxRespirationRate
- The new enhancedMaxRespirationRate value to be setpublic java.lang.Short getAvgRespirationRate()
public void setAvgRespirationRate(java.lang.Short avgRespirationRate)
avgRespirationRate
- The new avgRespirationRate value to be setpublic java.lang.Short getMaxRespirationRate()
public void setMaxRespirationRate(java.lang.Short maxRespirationRate)
maxRespirationRate
- The new maxRespirationRate value to be set