Class Variable

  • All Implemented Interfaces:
    ExpressionItem

    public final class Variable
    extends java.lang.Object
    implements ExpressionItem
    The class describes an expression variable
    • Field Detail

      • variableName

        private final java.lang.String variableName
        The variable contains the expression variable name
    • Constructor Detail

      • Variable

        public Variable​(java.lang.String varName)
        The constructor
        Parameters:
        varName - the variable name, it must not be null
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the variable name
        Returns:
        the name saved by the object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object