com.garmin.fit
Class SegmentPointMesg

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

public class SegmentPointMesg
extends Mesg


Field Summary
static int AltitudeFieldNum
           
static int DistanceFieldNum
           
static int LeaderTimeFieldNum
           
static int MessageIndexFieldNum
           
static int PositionLatFieldNum
           
static int PositionLongFieldNum
           
protected static Mesg segmentPointMesg
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
SegmentPointMesg()
           
SegmentPointMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Float getAltitude()
          Get altitude field Units: m Comment: Accumulated altitude along the segment at the described point
 java.lang.Float getDistance()
          Get distance field Units: m Comment: Accumulated distance along the segment at the described point
 java.lang.Float[] getLeaderTime()
           
 java.lang.Float getLeaderTime(int index)
          Get leader_time field Units: s Comment: Accumualted time each leader board member required to reach the described point.
 java.lang.Integer getMessageIndex()
          Get message_index field
 int getNumLeaderTime()
           
 java.lang.Integer getPositionLat()
          Get position_lat field Units: semicircles
 java.lang.Integer getPositionLong()
          Get position_long field Units: semicircles
 void setAltitude(java.lang.Float altitude)
          Set altitude field Units: m Comment: Accumulated altitude along the segment at the described point
 void setDistance(java.lang.Float distance)
          Set distance field Units: m Comment: Accumulated distance along the segment at the described point
 void setLeaderTime(int index, java.lang.Float leaderTime)
          Set leader_time field Units: s Comment: Accumualted time each leader board member required to reach the described point.
 void setMessageIndex(java.lang.Integer messageIndex)
          Set message_index field
 void setPositionLat(java.lang.Integer positionLat)
          Set position_lat field Units: semicircles
 void setPositionLong(java.lang.Integer positionLong)
          Set position_long field Units: semicircles
 
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

PositionLatFieldNum

public static final int PositionLatFieldNum
See Also:
Constant Field Values

PositionLongFieldNum

public static final int PositionLongFieldNum
See Also:
Constant Field Values

DistanceFieldNum

public static final int DistanceFieldNum
See Also:
Constant Field Values

AltitudeFieldNum

public static final int AltitudeFieldNum
See Also:
Constant Field Values

LeaderTimeFieldNum

public static final int LeaderTimeFieldNum
See Also:
Constant Field Values

segmentPointMesg

protected static final Mesg segmentPointMesg
Constructor Detail

SegmentPointMesg

public SegmentPointMesg()

SegmentPointMesg

public SegmentPointMesg(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 -

getPositionLat

public java.lang.Integer getPositionLat()
Get position_lat field Units: semicircles

Returns:
position_lat

setPositionLat

public void setPositionLat(java.lang.Integer positionLat)
Set position_lat field Units: semicircles

Parameters:
positionLat -

getPositionLong

public java.lang.Integer getPositionLong()
Get position_long field Units: semicircles

Returns:
position_long

setPositionLong

public void setPositionLong(java.lang.Integer positionLong)
Set position_long field Units: semicircles

Parameters:
positionLong -

getDistance

public java.lang.Float getDistance()
Get distance field Units: m Comment: Accumulated distance along the segment at the described point

Returns:
distance

setDistance

public void setDistance(java.lang.Float distance)
Set distance field Units: m Comment: Accumulated distance along the segment at the described point

Parameters:
distance -

getAltitude

public java.lang.Float getAltitude()
Get altitude field Units: m Comment: Accumulated altitude along the segment at the described point

Returns:
altitude

setAltitude

public void setAltitude(java.lang.Float altitude)
Set altitude field Units: m Comment: Accumulated altitude along the segment at the described point

Parameters:
altitude -

getLeaderTime

public java.lang.Float[] getLeaderTime()

getNumLeaderTime

public int getNumLeaderTime()
Returns:
number of leader_time

getLeaderTime

public java.lang.Float getLeaderTime(int index)
Get leader_time field Units: s Comment: Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.

Parameters:
index - of leader_time
Returns:
leader_time

setLeaderTime

public void setLeaderTime(int index,
                          java.lang.Float leaderTime)
Set leader_time field Units: s Comment: Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.

Parameters:
index - of leader_time
leaderTime -