Package io.keikai.model.impl
Class NameImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractNameAdv
-
- io.keikai.model.impl.NameImpl
-
- All Implemented Interfaces:
FormulaContent,LinkedModelObject,SName,Serializable
- Direct Known Subclasses:
TableNameImpl
public class NameImpl extends AbstractNameAdv
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameImpl(AbstractBookAdv book, String id, String name, String applyToSheetName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckOrphan()voidclearFormulaResultCache()Clear the formula result cache if there is evaluation resultvoiddestroy()Destroy / release this model object, for example all the dependency, parent linking.StringgetApplyToSheetName()AbstractBookAdvgetBook()StringgetId()StringgetName()CellRegiongetRefersToCellRegion()StringgetRefersToFormula()FormulaExpressiongetRefersToFormulaExpression()StringgetRefersToSheetName()booleanisFormulaParsingError()voidsetApplyToSheetName(String sheetName)voidsetRefersToFormula(FormulaExpression refersToExpr)voidsetRefersToFormula(String refersToExpr)
-
-
-
Constructor Detail
-
NameImpl
public NameImpl(AbstractBookAdv book, String id, String name, String applyToSheetName)
-
-
Method Detail
-
getName
public String getName()
-
getRefersToSheetName
public String getRefersToSheetName()
-
getRefersToCellRegion
public CellRegion getRefersToCellRegion()
-
getRefersToFormula
public String getRefersToFormula()
-
destroy
public void destroy()
Description copied from interface:LinkedModelObjectDestroy / release this model object, for example all the dependency, parent linking. this method has to be called before remove this linking from parent object
-
checkOrphan
public void checkOrphan()
-
getId
public String getId()
-
setRefersToFormula
public void setRefersToFormula(String refersToExpr)
-
isFormulaParsingError
public boolean isFormulaParsingError()
- Returns:
- returns TRUE if it has parsing error, FALSE if no error found or not a formula content
-
getBook
public AbstractBookAdv getBook()
-
clearFormulaResultCache
public void clearFormulaResultCache()
Description copied from interface:FormulaContentClear the formula result cache if there is evaluation result
-
getApplyToSheetName
public String getApplyToSheetName()
-
getRefersToFormulaExpression
public FormulaExpression getRefersToFormulaExpression()
- Specified by:
getRefersToFormulaExpressionin classAbstractNameAdv- Returns:
-
setRefersToFormula
public void setRefersToFormula(FormulaExpression refersToExpr)
- Specified by:
setRefersToFormulain classAbstractNameAdv
-
setApplyToSheetName
public void setApplyToSheetName(String sheetName)
-
-