public class ExerciseInfo extends Serializer
NULL_SER_STRING, VERSION
Constructor and Description |
---|
ExerciseInfo(byte[] ab)
ExerciseInfo de-serialization from input byte array
|
ExerciseInfo(double dblDate,
double dblExerciseFactor,
int iWOType)
Constructs the ExerciseInfo from the work-out date, type, and the exercise factor
|
Modifier and Type | Method and Description |
---|---|
double |
date()
Retrieve the Exercise Date
|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
double |
factor()
Retrieve the Exercise Factor
|
byte[] |
serialize()
Serialize into a byte array.
|
int |
workoutType()
Retrieve the Work-out Type
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public ExerciseInfo(double dblDate, double dblExerciseFactor, int iWOType) throws java.lang.Exception
dblDate
- Work-out DatedblExerciseFactor
- Work-out FactoriWOType
- Work out Typejava.lang.Exception
- Thrown if input is invalidpublic ExerciseInfo(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if ExerciseInfo cannot be properly de-serializedpublic double date()
public double factor()
public int workoutType()
public byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer