Package io.keikai.model.impl.sys.formula
Class FormulaEngineImpl.ErrorFormulaExpressionImpl
- java.lang.Object
-
- io.keikai.model.impl.sys.formula.FormulaEngineImpl.ErrorFormulaExpressionImpl
-
- All Implemented Interfaces:
FormulaExpression,Serializable
- Enclosing class:
- FormulaEngineImpl
protected static class FormulaEngineImpl.ErrorFormulaExpressionImpl extends Object implements FormulaExpression, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorFormulaExpressionImpl(String formula, String erorrMessage, boolean multipleArea)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ref[]getAreaRefs()StringgetErrorMessage()Get the expression parsing error message if anyStringgetFormulaString()Ptg[]getPtgs()Returns the cached parsing things.booleanhasError()indicated the expression has parsing errorbooleanisAreaRefs()booleanisMultipleAreaFormula()Returns whether this is a multiple-area formula used in char data; e.g.
-
-
-
Method Detail
-
hasError
public boolean hasError()
Description copied from interface:FormulaExpressionindicated the expression has parsing error- Specified by:
hasErrorin interfaceFormulaExpression- Returns:
-
getErrorMessage
public String getErrorMessage()
Description copied from interface:FormulaExpressionGet the expression parsing error message if any- Specified by:
getErrorMessagein interfaceFormulaExpression- Returns:
-
getFormulaString
public String getFormulaString()
- Specified by:
getFormulaStringin interfaceFormulaExpression
-
isAreaRefs
public boolean isAreaRefs()
- Specified by:
isAreaRefsin interfaceFormulaExpression
-
getAreaRefs
public Ref[] getAreaRefs()
- Specified by:
getAreaRefsin interfaceFormulaExpression
-
getPtgs
public Ptg[] getPtgs()
Description copied from interface:FormulaExpressionReturns the cached parsing things.- Specified by:
getPtgsin interfaceFormulaExpression
-
isMultipleAreaFormula
public boolean isMultipleAreaFormula()
Description copied from interface:FormulaExpressionReturns whether this is a multiple-area formula used in char data; e.g. (A1, B1, Sheet2!A1:B2).- Specified by:
isMultipleAreaFormulain interfaceFormulaExpression
-
-