Package com.independentsoft.office.odf
Class NamedExpression
java.lang.Object
com.independentsoft.office.odf.NamedElement
com.independentsoft.office.odf.NamedExpression
Represents an expression with a name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets an address of the base cell for relative addresses in formulas that occur within a condition.Gets the expression.getName()Gets the name of the expression.voidsetBaseCellAddress(String baseCellAddress)Sets an address of the base cell for relative addresses in formulas that occur within a condition.voidsetExpression(String expression)Sets the expression.voidSets the name of the expression.toString()Converts the value of the current NamedExpression object to its equivalent string representation.
-
Constructor Details
-
NamedExpression
public NamedExpression()Initializes a new instance of the NamedExpression class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein classNamedElement- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current NamedExpression object to its equivalent string representation. -
getName
Gets the name of the expression.- Returns:
- the name
-
setName
Sets the name of the expression.- Parameters:
name- the new name
-
getExpression
Gets the expression.- Returns:
- the expression
-
setExpression
Sets the expression.- Parameters:
expression- the new expression
-
getBaseCellAddress
Gets an address of the base cell for relative addresses in formulas that occur within a condition.- Returns:
- the base cell address
-
setBaseCellAddress
Sets an address of the base cell for relative addresses in formulas that occur within a condition.- Parameters:
baseCellAddress- the new base cell address
-