com.garmin.fit
Class SubField

java.lang.Object
  extended by com.garmin.fit.SubField

public class SubField
extends java.lang.Object


Field Summary
protected  java.util.ArrayList<FieldComponent> components
           
protected  java.lang.String name
           
protected  double offset
           
protected  double scale
           
protected  int type
           
protected  java.lang.String units
           
 
Constructor Summary
protected SubField(java.lang.String name, int type, double scale, double offset, java.lang.String units)
           
protected SubField(SubField subField)
           
 
Method Summary
protected  void addComponent(FieldComponent component)
           
protected  void addMap(int refFieldNum, long refFieldValue)
           
 boolean canMesgSupport(Mesg mesg)
           
protected  java.lang.String getName()
           
protected  int getType()
           
protected  java.lang.String getUnits()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

type

protected int type

scale

protected double scale

offset

protected double offset

units

protected java.lang.String units

components

protected java.util.ArrayList<FieldComponent> components
Constructor Detail

SubField

protected SubField(SubField subField)

SubField

protected SubField(java.lang.String name,
                   int type,
                   double scale,
                   double offset,
                   java.lang.String units)
Method Detail

getName

protected java.lang.String getName()

getType

protected int getType()

getUnits

protected java.lang.String getUnits()

addMap

protected void addMap(int refFieldNum,
                      long refFieldValue)

addComponent

protected void addComponent(FieldComponent component)

canMesgSupport

public boolean canMesgSupport(Mesg mesg)