com.garmin.fit
Class SegmentIdMesg

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

public class SegmentIdMesg
extends Mesg


Field Summary
static int DefaultRaceLeaderFieldNum
           
static int DeleteStatusFieldNum
           
static int DeviceIdFieldNum
           
static int EnabledFieldNum
           
static int NameFieldNum
           
protected static Mesg segmentIdMesg
           
static int SelectionTypeFieldNum
           
static int SportFieldNum
           
static int UserProfilePrimaryKeyFieldNum
           
static int UuidFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
SegmentIdMesg()
           
SegmentIdMesg(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
 SegmentDeleteStatus getDeleteStatus()
          Get delete_status field Comment: Indicates if any segments should be deleted
 java.lang.Long getDeviceId()
          Get device_id field Comment: ID of the device that created the segment
 Bool getEnabled()
          Get enabled field Comment: Segment enabled for evaluation
 java.lang.String getName()
          Get name field Comment: Friendly name assigned to segment
 SegmentSelectionType getSelectionType()
          Get selection_type field Comment: Indicates how the segment was selected to be sent to the device
 Sport getSport()
          Get sport field Comment: Sport associated with the segment
 java.lang.Long getUserProfilePrimaryKey()
          Get user_profile_primary_key field Comment: Primary key of the user that created the segment
 java.lang.String getUuid()
          Get uuid field Comment: UUID of the segment
 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 setDeleteStatus(SegmentDeleteStatus deleteStatus)
          Set delete_status field Comment: Indicates if any segments should be deleted
 void setDeviceId(java.lang.Long deviceId)
          Set device_id field Comment: ID of the device that created the segment
 void setEnabled(Bool enabled)
          Set enabled field Comment: Segment enabled for evaluation
 void setName(java.lang.String name)
          Set name field Comment: Friendly name assigned to segment
 void setSelectionType(SegmentSelectionType selectionType)
          Set selection_type field Comment: Indicates how the segment was selected to be sent to the device
 void setSport(Sport sport)
          Set sport field Comment: Sport associated with the segment
 void setUserProfilePrimaryKey(java.lang.Long userProfilePrimaryKey)
          Set user_profile_primary_key field Comment: Primary key of the user that created the segment
 void setUuid(java.lang.String uuid)
          Set uuid field Comment: UUID of the segment
 
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, 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

NameFieldNum

public static final int NameFieldNum
See Also:
Constant Field Values

UuidFieldNum

public static final int UuidFieldNum
See Also:
Constant Field Values

SportFieldNum

public static final int SportFieldNum
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

DeviceIdFieldNum

public static final int DeviceIdFieldNum
See Also:
Constant Field Values

DefaultRaceLeaderFieldNum

public static final int DefaultRaceLeaderFieldNum
See Also:
Constant Field Values

DeleteStatusFieldNum

public static final int DeleteStatusFieldNum
See Also:
Constant Field Values

SelectionTypeFieldNum

public static final int SelectionTypeFieldNum
See Also:
Constant Field Values

segmentIdMesg

protected static final Mesg segmentIdMesg
Constructor Detail

SegmentIdMesg

public SegmentIdMesg()

SegmentIdMesg

public SegmentIdMesg(Mesg mesg)
Method Detail

getName

public java.lang.String getName()
Get name field Comment: Friendly name assigned to segment

Overrides:
getName in class Mesg
Returns:
name

setName

public void setName(java.lang.String name)
Set name field Comment: Friendly name assigned to segment

Parameters:
name -

getUuid

public java.lang.String getUuid()
Get uuid field Comment: UUID of the segment

Returns:
uuid

setUuid

public void setUuid(java.lang.String uuid)
Set uuid field Comment: UUID of the segment

Parameters:
uuid -

getSport

public Sport getSport()
Get sport field Comment: Sport associated with the segment

Returns:
sport

setSport

public void setSport(Sport sport)
Set sport field Comment: Sport associated with the segment

Parameters:
sport -

getEnabled

public Bool getEnabled()
Get enabled field Comment: Segment enabled for evaluation

Returns:
enabled

setEnabled

public void setEnabled(Bool enabled)
Set enabled field Comment: Segment enabled for evaluation

Parameters:
enabled -

getUserProfilePrimaryKey

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

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

Parameters:
userProfilePrimaryKey -

getDeviceId

public java.lang.Long getDeviceId()
Get device_id field Comment: ID of the device that created the segment

Returns:
device_id

setDeviceId

public void setDeviceId(java.lang.Long deviceId)
Set device_id field Comment: ID of the device that created the segment

Parameters:
deviceId -

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 -

getDeleteStatus

public SegmentDeleteStatus getDeleteStatus()
Get delete_status field Comment: Indicates if any segments should be deleted

Returns:
delete_status

setDeleteStatus

public void setDeleteStatus(SegmentDeleteStatus deleteStatus)
Set delete_status field Comment: Indicates if any segments should be deleted

Parameters:
deleteStatus -

getSelectionType

public SegmentSelectionType getSelectionType()
Get selection_type field Comment: Indicates how the segment was selected to be sent to the device

Returns:
selection_type

setSelectionType

public void setSelectionType(SegmentSelectionType selectionType)
Set selection_type field Comment: Indicates how the segment was selected to be sent to the device

Parameters:
selectionType -