Class 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:
  • Constructor Details

  • Method Details

    • 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 class AbstractNameAdv
      Returns:
    • setRefersToFormula

      public void setRefersToFormula(FormulaExpression refersToExpr)
      Specified by:
      setRefersToFormula in class AbstractNameAdv
    • setApplyToSheetName

      public void setApplyToSheetName(String sheetName)