public class FormulaRecordAggregate extends Record implements CellValueRecordInterface, Comparable
| Modifier and Type | Field and Description |
|---|---|
private FormulaRecord |
formulaRecord |
static short |
sid |
private StringRecord |
stringRecord |
| 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
private FormulaRecord formulaRecord
private StringRecord stringRecord
public FormulaRecordAggregate(FormulaRecord formulaRecord, StringRecord stringRecord)
protected void validateSid(short id)
RecordvalidateSid in class Recordid - alleged id for this recordprotected void fillFields(RecordInputStream in)
RecordfillFields in class Recordin - the RecordInputstream to read the record frompublic int serialize(int offset,
byte[] data)
public int getRecordSize()
getRecordSize in class Recordpublic short getSid()
public void setStringRecord(StringRecord stringRecord)
public void setFormulaRecord(FormulaRecord formulaRecord)
public FormulaRecord getFormulaRecord()
public StringRecord getStringRecord()
public boolean isEqual(CellValueRecordInterface i)
CellValueRecordInterfaceisEqual in interface CellValueRecordInterfacei - record to comparepublic boolean isAfter(CellValueRecordInterface i)
CellValueRecordInterfaceisAfter in interface CellValueRecordInterfacei - record to comparepublic boolean isBefore(CellValueRecordInterface i)
CellValueRecordInterfaceisBefore in interface CellValueRecordInterfacei - another cell interface record to comparepublic short getXFIndex()
getXFIndex in interface CellValueRecordInterfacepublic void setXFIndex(short xf)
setXFIndex in interface CellValueRecordInterfacepublic void setColumn(short col)
CellValueRecordInterfacesetColumn in interface CellValueRecordInterfacecol - the column this cell definespublic void setRow(int row)
CellValueRecordInterfacesetRow in interface CellValueRecordInterfacerow - the row this cell occurs withinpublic short getColumn()
CellValueRecordInterfacegetColumn in interface CellValueRecordInterfacepublic int getRow()
CellValueRecordInterfacegetRow in interface CellValueRecordInterfacepublic int compareTo(Object o)
compareTo in interface Comparablepublic String toString()
Recordpublic Object clone()
clone in interface CellValueRecordInterfaceclone in class RecordObject.clone()public boolean isInValueSection()
RecordisInValueSection in class Recordpublic String getStringValue()
Copyright © 2015 Open Microscopy Environment