com.garmin.fit
Class SegmentFileMesg

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

public class SegmentFileMesg
extends Mesg


Field Summary
static int DefaultRaceLeaderFieldNum
           
static int EnabledFieldNum
           
static int FileUuidFieldNum
           
static int LeaderActivityIdFieldNum
           
static int LeaderActivityIdStringFieldNum
           
static int LeaderGroupPrimaryKeyFieldNum
           
static int LeaderTypeFieldNum
           
static int MessageIndexFieldNum
           
protected static Mesg segmentFileMesg
           
static int UserProfilePrimaryKeyFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
SegmentFileMesg()
           
SegmentFileMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Short getDefaultRaceLeader()
          Get default_race_leader field Comment: Index for the Leader Board entry selected as the default race participant
 Bool getEnabled()
          Get enabled field Comment: Enabled state of the segment file
 java.lang.String getFileUuid()
          Get file_uuid field Comment: UUID of the segment file
 java.lang.Long[] getLeaderActivityId()
           
 java.lang.Long getLeaderActivityId(int index)
          Get leader_activity_id field Comment: Activity ID of each leader in the segment file
 java.lang.String[] getLeaderActivityIdString()
           
 java.lang.String getLeaderActivityIdString(int index)
          Get leader_activity_id_string field Comment: String version of the activity ID of each leader in the segment file.
 java.lang.Long[] getLeaderGroupPrimaryKey()
           
 java.lang.Long getLeaderGroupPrimaryKey(int index)
          Get leader_group_primary_key field Comment: Group primary key of each leader in the segment file
 SegmentLeaderboardType[] getLeaderType()
           
 SegmentLeaderboardType getLeaderType(int index)
          Get leader_type field Comment: Leader type of each leader in the segment file
 java.lang.Integer getMessageIndex()
          Get message_index field
 int getNumLeaderActivityId()
           
 int getNumLeaderActivityIdString()
           
 int getNumLeaderGroupPrimaryKey()
           
 int getNumLeaderType()
           
 java.lang.Long getUserProfilePrimaryKey()
          Get user_profile_primary_key field Comment: Primary key of the user that created the segment file
 void setDefaultRaceLeader(java.lang.Short defaultRaceLeader)
          Set default_race_leader field Comment: Index for the Leader Board entry selected as the default race participant
 void setEnabled(Bool enabled)
          Set enabled field Comment: Enabled state of the segment file
 void setFileUuid(java.lang.String fileUuid)
          Set file_uuid field Comment: UUID of the segment file
 void setLeaderActivityId(int index, java.lang.Long leaderActivityId)
          Set leader_activity_id field Comment: Activity ID of each leader in the segment file
 void setLeaderActivityIdString(int index, java.lang.String leaderActivityIdString)
          Set leader_activity_id_string field Comment: String version of the activity ID of each leader in the segment file.
 void setLeaderGroupPrimaryKey(int index, java.lang.Long leaderGroupPrimaryKey)
          Set leader_group_primary_key field Comment: Group primary key of each leader in the segment file
 void setLeaderType(int index, SegmentLeaderboardType leaderType)
          Set leader_type field Comment: Leader type of each leader in the segment file
 void setMessageIndex(java.lang.Integer messageIndex)
          Set message_index field
 void setUserProfilePrimaryKey(java.lang.Long userProfilePrimaryKey)
          Set user_profile_primary_key field Comment: Primary key of the user that created the segment file
 
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

FileUuidFieldNum

public static final int FileUuidFieldNum
See Also:
Constant Field Values

EnabledFieldNum

public static final int EnabledFieldNum
See Also:
Constant Field Values

UserProfilePrimaryKeyFieldNum

public static final int UserProfilePrimaryKeyFieldNum
See Also:
Constant Field Values

LeaderTypeFieldNum

public static final int LeaderTypeFieldNum
See Also:
Constant Field Values

LeaderGroupPrimaryKeyFieldNum

public static final int LeaderGroupPrimaryKeyFieldNum
See Also:
Constant Field Values

LeaderActivityIdFieldNum

public static final int LeaderActivityIdFieldNum
See Also:
Constant Field Values

LeaderActivityIdStringFieldNum

public static final int LeaderActivityIdStringFieldNum
See Also:
Constant Field Values

DefaultRaceLeaderFieldNum

public static final int DefaultRaceLeaderFieldNum
See Also:
Constant Field Values

segmentFileMesg

protected static final Mesg segmentFileMesg
Constructor Detail

SegmentFileMesg

public SegmentFileMesg()

SegmentFileMesg

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

getFileUuid

public java.lang.String getFileUuid()
Get file_uuid field Comment: UUID of the segment file

Returns:
file_uuid

setFileUuid

public void setFileUuid(java.lang.String fileUuid)
Set file_uuid field Comment: UUID of the segment file

Parameters:
fileUuid -

getEnabled

public Bool getEnabled()
Get enabled field Comment: Enabled state of the segment file

Returns:
enabled

setEnabled

public void setEnabled(Bool enabled)
Set enabled field Comment: Enabled state of the segment file

Parameters:
enabled -

getUserProfilePrimaryKey

public java.lang.Long getUserProfilePrimaryKey()
Get user_profile_primary_key field Comment: Primary key of the user that created the segment file

Returns:
user_profile_primary_key

setUserProfilePrimaryKey

public void setUserProfilePrimaryKey(java.lang.Long userProfilePrimaryKey)
Set user_profile_primary_key field Comment: Primary key of the user that created the segment file

Parameters:
userProfilePrimaryKey -

getLeaderType

public SegmentLeaderboardType[] getLeaderType()

getNumLeaderType

public int getNumLeaderType()
Returns:
number of leader_type

getLeaderType

public SegmentLeaderboardType getLeaderType(int index)
Get leader_type field Comment: Leader type of each leader in the segment file

Parameters:
index - of leader_type
Returns:
leader_type

setLeaderType

public void setLeaderType(int index,
                          SegmentLeaderboardType leaderType)
Set leader_type field Comment: Leader type of each leader in the segment file

Parameters:
index - of leader_type
leaderType -

getLeaderGroupPrimaryKey

public java.lang.Long[] getLeaderGroupPrimaryKey()

getNumLeaderGroupPrimaryKey

public int getNumLeaderGroupPrimaryKey()
Returns:
number of leader_group_primary_key

getLeaderGroupPrimaryKey

public java.lang.Long getLeaderGroupPrimaryKey(int index)
Get leader_group_primary_key field Comment: Group primary key of each leader in the segment file

Parameters:
index - of leader_group_primary_key
Returns:
leader_group_primary_key

setLeaderGroupPrimaryKey

public void setLeaderGroupPrimaryKey(int index,
                                     java.lang.Long leaderGroupPrimaryKey)
Set leader_group_primary_key field Comment: Group primary key of each leader in the segment file

Parameters:
index - of leader_group_primary_key
leaderGroupPrimaryKey -

getLeaderActivityId

public java.lang.Long[] getLeaderActivityId()

getNumLeaderActivityId

public int getNumLeaderActivityId()
Returns:
number of leader_activity_id

getLeaderActivityId

public java.lang.Long getLeaderActivityId(int index)
Get leader_activity_id field Comment: Activity ID of each leader in the segment file

Parameters:
index - of leader_activity_id
Returns:
leader_activity_id

setLeaderActivityId

public void setLeaderActivityId(int index,
                                java.lang.Long leaderActivityId)
Set leader_activity_id field Comment: Activity ID of each leader in the segment file

Parameters:
index - of leader_activity_id
leaderActivityId -

getLeaderActivityIdString

public java.lang.String[] getLeaderActivityIdString()

getNumLeaderActivityIdString

public int getNumLeaderActivityIdString()
Returns:
number of leader_activity_id_string

getLeaderActivityIdString

public java.lang.String getLeaderActivityIdString(int index)
Get leader_activity_id_string field Comment: String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal

Parameters:
index - of leader_activity_id_string
Returns:
leader_activity_id_string

setLeaderActivityIdString

public void setLeaderActivityIdString(int index,
                                      java.lang.String leaderActivityIdString)
Set leader_activity_id_string field Comment: String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal

Parameters:
index - of leader_activity_id_string
leaderActivityIdString -

getDefaultRaceLeader

public java.lang.Short getDefaultRaceLeader()
Get default_race_leader field Comment: Index for the Leader Board entry selected as the default race participant

Returns:
default_race_leader

setDefaultRaceLeader

public void setDefaultRaceLeader(java.lang.Short defaultRaceLeader)
Set default_race_leader field Comment: Index for the Leader Board entry selected as the default race participant

Parameters:
defaultRaceLeader -