public class FormulaRecordAggregate extends Record implements CellValueRecordInterface, Comparable
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
FormulaRecordAggregate(FormulaRecord formulaRecord,
StringRecord stringRecord) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(Object o) |
boolean |
equals(Object obj) |
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
short |
getColumn()
get the column this cell defines within the row
|
FormulaRecord |
getFormulaRecord() |
int |
getRecordSize()
gives the current serialized size of the record.
|
int |
getRow()
get the row this cell occurs on
|
short |
getSid()
return the non static version of the id for this record.
|
StringRecord |
getStringRecord() |
String |
getStringValue() |
short |
getXFIndex() |
boolean |
isAfter(CellValueRecordInterface i)
returns whether this cell is after the passed in cell
|
boolean |
isBefore(CellValueRecordInterface i)
returns whether this cell is before the passed in cell
|
boolean |
isEqual(CellValueRecordInterface i)
returns whether this cell represents the same cell (NOT VALUE)
|
boolean |
isInValueSection()
DBCELL, ROW, VALUES all say yes
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setColumn(short col)
set the column this cell defines within the row
|
void |
setFormulaRecord(FormulaRecord formulaRecord) |
void |
setRow(int row)
set the row this cell occurs on
|
void |
setStringRecord(StringRecord stringRecord) |
void |
setXFIndex(short xf) |
String |
toString()
get a string representation of the record (for biffview/debugging)
|
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
|
public static final short sid
public FormulaRecordAggregate(FormulaRecord formulaRecord, StringRecord stringRecord)
protected void validateSid(short id)
Record
validateSid
in class Record
id
- alleged id for this recordprotected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic int serialize(int offset, byte[] data)
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
public void setStringRecord(StringRecord stringRecord)
public void setFormulaRecord(FormulaRecord formulaRecord)
public FormulaRecord getFormulaRecord()
public StringRecord getStringRecord()
public boolean isEqual(CellValueRecordInterface i)
CellValueRecordInterface
isEqual
in interface CellValueRecordInterface
i
- record to comparepublic boolean isAfter(CellValueRecordInterface i)
CellValueRecordInterface
isAfter
in interface CellValueRecordInterface
i
- record to comparepublic boolean isBefore(CellValueRecordInterface i)
CellValueRecordInterface
isBefore
in interface CellValueRecordInterface
i
- another cell interface record to comparepublic short getXFIndex()
getXFIndex
in interface CellValueRecordInterface
public void setXFIndex(short xf)
setXFIndex
in interface CellValueRecordInterface
public void setColumn(short col)
CellValueRecordInterface
setColumn
in interface CellValueRecordInterface
col
- the column this cell definespublic void setRow(int row)
CellValueRecordInterface
setRow
in interface CellValueRecordInterface
row
- the row this cell occurs withinpublic short getColumn()
CellValueRecordInterface
getColumn
in interface CellValueRecordInterface
public int getRow()
CellValueRecordInterface
getRow
in interface CellValueRecordInterface
public int compareTo(Object o)
compareTo
in interface Comparable
public String toString()
Record
public Object clone()
clone
in interface CellValueRecordInterface
clone
in class Record
Object.clone()
public boolean isInValueSection()
Record
isInValueSection
in class Record
public String getStringValue()
Copyright © 2014 Open Microscopy Environment