public final class BoolErrRecord extends CellRecord
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
BoolErrRecord()
Creates new BoolErrRecord
|
BoolErrRecord(BoolErrRecord other) |
BoolErrRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
BoolErrRecord |
copy() |
boolean |
getBooleanValue()
get the value for the cell
|
byte |
getErrorValue()
get the error value for the cell
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
protected java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by
Record.toString(). |
short |
getSid()
return the non static version of the id for this record.
|
protected int |
getValueDataSize() |
boolean |
isBoolean()
Indicates whether the call holds a boolean value
|
boolean |
isError()
Indicates whether the call holds an error value
|
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
|
void |
setValue(boolean value)
set the boolean value for the cell
|
void |
setValue(byte value)
set the error value for the cell.
|
void |
setValue(FormulaError value)
set the error value for the cell
|
getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndexgetRecordSize, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic static final short sid
public BoolErrRecord()
public BoolErrRecord(BoolErrRecord other)
public BoolErrRecord(RecordInputStream in)
in - the RecordInputstream to read the record frompublic void setValue(boolean value)
value - representing the boolean valuepublic void setValue(byte value)
FormulaError for valid codes.value - error representing the error value
this value can only be 0,7,15,23,29,36 or 42
see bugzilla bug 16560 for an explanationpublic void setValue(FormulaError value)
value - error representing the error value
this value can only be 0,7,15,23,29,36 or 42
see bugzilla bug 16560 for an explanationpublic boolean getBooleanValue()
public byte getErrorValue()
public boolean isBoolean()
public boolean isError()
protected java.lang.String getRecordName()
CellRecordRecord.toString().getRecordName in class CellRecordprotected void serializeValue(LittleEndianOutput out)
CellRecordserializeValue in class CellRecordout - the outputprotected int getValueDataSize()
getValueDataSize in class CellRecordpublic short getSid()
Recordpublic BoolErrRecord copy()
copy in interface Duplicatablecopy in class CellRecordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class CellRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.