Package org.apache.poi.hssf.record
Class NumberRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.CellRecord
org.apache.poi.hssf.record.NumberRecord
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord,CellValueRecordInterface
NUMBER (0x0203) Contains a numeric cell value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.hssf.record.CellRecord
getColumn, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndexMethods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
NumberRecord
public NumberRecord()Creates new NumberRecord -
NumberRecord
-
NumberRecord
- Parameters:
in- the RecordInputstream to read the record from
-
-
Method Details
-
setValue
public void setValue(double value) set the value for the cell- Parameters:
value- double representing the value
-
getValue
public double getValue()get the value for the cell- Returns:
- double representing the value
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classCellRecord
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classCellRecord
-