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 void
checkOrphan()
void
clearFormulaResultCache()
Clear the formula result cache if there is evaluation resultvoid
destroy()
Destroy / release this model object, for example all the dependency, parent linking.String
getApplyToSheetName()
AbstractBookAdv
getBook()
String
getId()
String
getName()
CellRegion
getRefersToCellRegion()
String
getRefersToFormula()
FormulaExpression
getRefersToFormulaExpression()
String
getRefersToSheetName()
boolean
isFormulaParsingError()
void
setApplyToSheetName(String sheetName)
void
setRefersToFormula(FormulaExpression refersToExpr)
void
setRefersToFormula(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:LinkedModelObject
Destroy / 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:FormulaContent
Clear the formula result cache if there is evaluation result
-
getApplyToSheetName
public String getApplyToSheetName()
-
getRefersToFormulaExpression
public FormulaExpression getRefersToFormulaExpression()
- Specified by:
getRefersToFormulaExpression
in classAbstractNameAdv
- Returns:
-
setRefersToFormula
public void setRefersToFormula(FormulaExpression refersToExpr)
- Specified by:
setRefersToFormula
in classAbstractNameAdv
-
setApplyToSheetName
public void setApplyToSheetName(String sheetName)
-
-