public class SeriesRecord extends Record
Modifier and Type | Field and Description |
---|---|
static short |
BUBBLE_SERIES_TYPE_DATES |
static short |
BUBBLE_SERIES_TYPE_NUMERIC |
static short |
BUBBLE_SERIES_TYPE_SEQUENCE |
static short |
BUBBLE_SERIES_TYPE_TEXT |
static short |
CATEGORY_DATA_TYPE_DATES |
static short |
CATEGORY_DATA_TYPE_NUMERIC |
static short |
CATEGORY_DATA_TYPE_SEQUENCE |
static short |
CATEGORY_DATA_TYPE_TEXT |
private short |
field_1_categoryDataType |
private short |
field_2_valuesDataType |
private short |
field_3_numCategories |
private short |
field_4_numValues |
private short |
field_5_bubbleSeriesType |
private short |
field_6_numBubbleValues |
static short |
sid |
static short |
VALUES_DATA_TYPE_DATES |
static short |
VALUES_DATA_TYPE_NUMERIC |
static short |
VALUES_DATA_TYPE_SEQUENCE |
static short |
VALUES_DATA_TYPE_TEXT |
Constructor and Description |
---|
SeriesRecord() |
SeriesRecord(RecordInputStream in)
Constructs a Series record and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
short |
getBubbleSeriesType()
Get the bubble series type field for the Series record.
|
short |
getCategoryDataType()
Get the category data type field for the Series record.
|
short |
getNumBubbleValues()
Get the num bubble values field for the Series record.
|
short |
getNumCategories()
Get the num categories field for the Series record.
|
short |
getNumValues()
Get the num values field for the Series record.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getValuesDataType()
Get the values data type field for the Series record.
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setBubbleSeriesType(short field_5_bubbleSeriesType)
Set the bubble series type field for the Series record.
|
void |
setCategoryDataType(short field_1_categoryDataType)
Set the category data type field for the Series record.
|
void |
setNumBubbleValues(short field_6_numBubbleValues)
Set the num bubble values field for the Series record.
|
void |
setNumCategories(short field_3_numCategories)
Set the num categories field for the Series record.
|
void |
setNumValues(short field_4_numValues)
Set the num values field for the Series record.
|
void |
setValuesDataType(short field_2_valuesDataType)
Set the values data type field for the Series record.
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
protected void |
validateSid(short id)
Checks the sid matches the expected side for this record
|
isInValueSection, isValue, serialize
public static final short sid
private short field_1_categoryDataType
public static final short CATEGORY_DATA_TYPE_DATES
public static final short CATEGORY_DATA_TYPE_NUMERIC
public static final short CATEGORY_DATA_TYPE_SEQUENCE
public static final short CATEGORY_DATA_TYPE_TEXT
private short field_2_valuesDataType
public static final short VALUES_DATA_TYPE_DATES
public static final short VALUES_DATA_TYPE_NUMERIC
public static final short VALUES_DATA_TYPE_SEQUENCE
public static final short VALUES_DATA_TYPE_TEXT
private short field_3_numCategories
private short field_4_numValues
private short field_5_bubbleSeriesType
public static final short BUBBLE_SERIES_TYPE_DATES
public static final short BUBBLE_SERIES_TYPE_NUMERIC
public static final short BUBBLE_SERIES_TYPE_SEQUENCE
public static final short BUBBLE_SERIES_TYPE_TEXT
private short field_6_numBubbleValues
public SeriesRecord()
public SeriesRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
Record
public int serialize(int offset, byte[] data)
Record
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
public short getCategoryDataType()
public void setCategoryDataType(short field_1_categoryDataType)
field_1_categoryDataType
- One of
CATEGORY_DATA_TYPE_DATES
CATEGORY_DATA_TYPE_NUMERIC
CATEGORY_DATA_TYPE_SEQUENCE
CATEGORY_DATA_TYPE_TEXTpublic short getValuesDataType()
public void setValuesDataType(short field_2_valuesDataType)
field_2_valuesDataType
- One of
VALUES_DATA_TYPE_DATES
VALUES_DATA_TYPE_NUMERIC
VALUES_DATA_TYPE_SEQUENCE
VALUES_DATA_TYPE_TEXTpublic short getNumCategories()
public void setNumCategories(short field_3_numCategories)
public short getNumValues()
public void setNumValues(short field_4_numValues)
public short getBubbleSeriesType()
public void setBubbleSeriesType(short field_5_bubbleSeriesType)
field_5_bubbleSeriesType
- One of
BUBBLE_SERIES_TYPE_DATES
BUBBLE_SERIES_TYPE_NUMERIC
BUBBLE_SERIES_TYPE_SEQUENCE
BUBBLE_SERIES_TYPE_TEXTpublic short getNumBubbleValues()
public void setNumBubbleValues(short field_6_numBubbleValues)
Copyright © 2016 Open Microscopy Environment