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,java.io.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, java.lang.String id, java.lang.String name, java.lang.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.java.lang.StringgetApplyToSheetName()AbstractBookAdvgetBook()java.lang.StringgetId()java.lang.StringgetName()CellRegiongetRefersToCellRegion()java.lang.StringgetRefersToFormula()FormulaExpressiongetRefersToFormulaExpression()java.lang.StringgetRefersToSheetName()booleanisFormulaParsingError()voidsetApplyToSheetName(java.lang.String sheetName)voidsetRefersToFormula(FormulaExpression refersToExpr)voidsetRefersToFormula(java.lang.String refersToExpr)
-
-
-
Constructor Detail
-
NameImpl
public NameImpl(AbstractBookAdv book, java.lang.String id, java.lang.String name, java.lang.String applyToSheetName)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getRefersToSheetName
public java.lang.String getRefersToSheetName()
-
getRefersToCellRegion
public CellRegion getRefersToCellRegion()
-
getRefersToFormula
public java.lang.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 java.lang.String getId()
-
setRefersToFormula
public void setRefersToFormula(java.lang.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 java.lang.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(java.lang.String sheetName)
-
-