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()
String
getErrorMessage()
Get the expression parsing error message if anyString
getFormulaString()
Ptg[]
getPtgs()
Returns the cached parsing things.boolean
hasError()
indicated the expression has parsing errorboolean
isAreaRefs()
boolean
isMultipleAreaFormula()
Returns whether this is a multiple-area formula used in char data; e.g.
-
-
-
Method Detail
-
hasError
public boolean hasError()
Description copied from interface:FormulaExpression
indicated the expression has parsing error- Specified by:
hasError
in interfaceFormulaExpression
- Returns:
-
getErrorMessage
public String getErrorMessage()
Description copied from interface:FormulaExpression
Get the expression parsing error message if any- Specified by:
getErrorMessage
in interfaceFormulaExpression
- Returns:
-
getFormulaString
public String getFormulaString()
- Specified by:
getFormulaString
in interfaceFormulaExpression
-
isAreaRefs
public boolean isAreaRefs()
- Specified by:
isAreaRefs
in interfaceFormulaExpression
-
getAreaRefs
public Ref[] getAreaRefs()
- Specified by:
getAreaRefs
in interfaceFormulaExpression
-
getPtgs
public Ptg[] getPtgs()
Description copied from interface:FormulaExpression
Returns the cached parsing things.- Specified by:
getPtgs
in interfaceFormulaExpression
-
isMultipleAreaFormula
public boolean isMultipleAreaFormula()
Description copied from interface:FormulaExpression
Returns whether this is a multiple-area formula used in char data; e.g. (A1, B1, Sheet2!A1:B2).- Specified by:
isMultipleAreaFormula
in interfaceFormulaExpression
-
-