public class ExerciseInfo extends Serializer
Modifier and Type | Field and Description |
---|---|
double |
_dblDate
Work-out Date
|
double |
_dblExerciseFactor
Work-out Factor
|
int |
_iWOType
Work out Type
|
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 |
---|---|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
byte[] |
serialize()
Serialize into a byte array.
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public double _dblDate
public double _dblExerciseFactor
public int _iWOType
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 NextExerciseInfo cannot be properly de-serializedpublic byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer