Class Variable
java.lang.Object
com.igormaznitsa.jcp.expression.Variable
- All Implemented Interfaces:
ExpressionItem
The class describes an expression variable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe variable contains the expression variable name -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
variableName
The variable contains the expression variable name
-
-
Constructor Details
-
Variable
The constructor- Parameters:
varName- the variable name, it must not be null
-
-
Method Details
-
getName
-
getExpressionItemType
Get the expression item type- Specified by:
getExpressionItemTypein interfaceExpressionItem- Returns:
- it returns only ExpressionItemType.VARIABLE
-
getExpressionItemPriority
Get the expression item priority- Specified by:
getExpressionItemPriorityin interfaceExpressionItem- Returns:
- it returns only ExpressionItemPriority.VALUE
-
toString
-