org.apache.poi.ss.formula
Interface EvaluationCell


public interface EvaluationCell

Abstracts a cell for the purpose of formula evaluation. This interface represents both formula and non-formula cells.
For POI internal use only


Method Summary
 boolean getBooleanCellValue()
           
 int getCachedFormulaResultType()
          Deprecated. 3.15. Will return a CellType enum in the future.
 CellType getCachedFormulaResultTypeEnum()
          Deprecated. POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791.
 int getCellType()
          Deprecated. 3.15. Will return a CellType enum in the future.
 CellType getCellTypeEnum()
          Deprecated. POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791.
 int getColumnIndex()
           
 int getErrorCellValue()
           
 java.lang.Object getIdentityKey()
           
 double getNumericCellValue()
           
 int getRowIndex()
           
 EvaluationSheet getSheet()
           
 java.lang.String getStringCellValue()
           
 

Method Detail

getIdentityKey

java.lang.Object getIdentityKey()
Returns:
an Object that identifies the underlying cell, suitable for use as a key in a HashMap

getSheet

EvaluationSheet getSheet()

getRowIndex

int getRowIndex()

getColumnIndex

int getColumnIndex()

getCellType

int getCellType()
Deprecated. 3.15. Will return a CellType enum in the future.

Will return CellType in a future version of POI. For forwards compatibility, do not hard-code cell type literals in your code.

Returns:
cell type

getCellTypeEnum

CellType getCellTypeEnum()
Deprecated. POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791.

Since:
POI 3.15 beta 3

getNumericCellValue

double getNumericCellValue()

getStringCellValue

java.lang.String getStringCellValue()

getBooleanCellValue

boolean getBooleanCellValue()

getErrorCellValue

int getErrorCellValue()

getCachedFormulaResultType

int getCachedFormulaResultType()
Deprecated. 3.15. Will return a CellType enum in the future.

Will return CellType in a future version of POI. For forwards compatibility, do not hard-code cell type literals in your code.

Returns:
cell type of cached formula result

getCachedFormulaResultTypeEnum

CellType getCachedFormulaResultTypeEnum()
Deprecated. POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791.

Since:
POI 3.15 beta 3