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
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNameImpl(AbstractBookAdv book, String id, String name, String applyToSheetName) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidClear the formula result cache if there is evaluation resultvoiddestroy()Destroy / release this model object, for example all the dependency, parent linking.getBook()getId()getName()booleanvoidsetApplyToSheetName(String sheetName) voidsetRefersToFormula(FormulaExpression refersToExpr) voidsetRefersToFormula(String refersToExpr)
-
Constructor Details
-
NameImpl
-
-
Method Details
-
getName
-
getRefersToSheetName
-
getRefersToCellRegion
-
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
-
setRefersToFormula
-
isFormulaParsingError
public boolean isFormulaParsingError()- Returns:
- returns TRUE if it has parsing error, FALSE if no error found or not a formula content
-
getBook
-
clearFormulaResultCache
public void clearFormulaResultCache()Description copied from interface:FormulaContentClear the formula result cache if there is evaluation result -
getApplyToSheetName
-
getRefersToFormulaExpression
- Specified by:
getRefersToFormulaExpressionin classAbstractNameAdv- Returns:
-
setRefersToFormula
- Specified by:
setRefersToFormulain classAbstractNameAdv
-
setApplyToSheetName
-