com.garmin.fit
Class DiveAlarmMesg

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

public class DiveAlarmMesg
extends Mesg


Field Summary
static int AlarmTypeFieldNum
           
static int DepthFieldNum
           
protected static Mesg diveAlarmMesg
           
static int DiveTypesFieldNum
           
static int EnabledFieldNum
           
static int MessageIndexFieldNum
           
static int SoundFieldNum
           
static int TimeFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
DiveAlarmMesg()
           
DiveAlarmMesg(Mesg mesg)
           
 
Method Summary
 DiveAlarmType getAlarmType()
          Get alarm_type field
 java.lang.Float getDepth()
          Get depth field Units: m
 SubSport[] getDiveTypes()
           
 SubSport getDiveTypes(int index)
          Get dive_types field
 Bool getEnabled()
          Get enabled field
 java.lang.Integer getMessageIndex()
          Get message_index field Comment: Index of the alarm
 int getNumDiveTypes()
           
 Tone getSound()
          Get sound field
 java.lang.Integer getTime()
          Get time field Units: s
 void setAlarmType(DiveAlarmType alarmType)
          Set alarm_type field
 void setDepth(java.lang.Float depth)
          Set depth field Units: m
 void setDiveTypes(int index, SubSport diveTypes)
          Set dive_types field
 void setEnabled(Bool enabled)
          Set enabled field
 void setMessageIndex(java.lang.Integer messageIndex)
          Set message_index field Comment: Index of the alarm
 void setSound(Tone sound)
          Set sound field
 void setTime(java.lang.Integer time)
          Set time 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

DepthFieldNum

public static final int DepthFieldNum
See Also:
Constant Field Values

TimeFieldNum

public static final int TimeFieldNum
See Also:
Constant Field Values

EnabledFieldNum

public static final int EnabledFieldNum
See Also:
Constant Field Values

AlarmTypeFieldNum

public static final int AlarmTypeFieldNum
See Also:
Constant Field Values

SoundFieldNum

public static final int SoundFieldNum
See Also:
Constant Field Values

DiveTypesFieldNum

public static final int DiveTypesFieldNum
See Also:
Constant Field Values

diveAlarmMesg

protected static final Mesg diveAlarmMesg
Constructor Detail

DiveAlarmMesg

public DiveAlarmMesg()

DiveAlarmMesg

public DiveAlarmMesg(Mesg mesg)
Method Detail

getMessageIndex

public java.lang.Integer getMessageIndex()
Get message_index field Comment: Index of the alarm

Returns:
message_index

setMessageIndex

public void setMessageIndex(java.lang.Integer messageIndex)
Set message_index field Comment: Index of the alarm

Parameters:
messageIndex -

getDepth

public java.lang.Float getDepth()
Get depth field Units: m

Returns:
depth

setDepth

public void setDepth(java.lang.Float depth)
Set depth field Units: m

Parameters:
depth -

getTime

public java.lang.Integer getTime()
Get time field Units: s

Returns:
time

setTime

public void setTime(java.lang.Integer time)
Set time field Units: s

Parameters:
time -

getEnabled

public Bool getEnabled()
Get enabled field

Returns:
enabled

setEnabled

public void setEnabled(Bool enabled)
Set enabled field

Parameters:
enabled -

getAlarmType

public DiveAlarmType getAlarmType()
Get alarm_type field

Returns:
alarm_type

setAlarmType

public void setAlarmType(DiveAlarmType alarmType)
Set alarm_type field

Parameters:
alarmType -

getSound

public Tone getSound()
Get sound field

Returns:
sound

setSound

public void setSound(Tone sound)
Set sound field

Parameters:
sound -

getDiveTypes

public SubSport[] getDiveTypes()

getNumDiveTypes

public int getNumDiveTypes()
Returns:
number of dive_types

getDiveTypes

public SubSport getDiveTypes(int index)
Get dive_types field

Parameters:
index - of dive_types
Returns:
dive_types

setDiveTypes

public void setDiveTypes(int index,
                         SubSport diveTypes)
Set dive_types field

Parameters:
index - of dive_types
diveTypes -