Class NamedVariableNode

All Implemented Interfaces:
IParseNode

public class NamedVariableNode extends VariableNode
This node represents a variable reference, which will usually be an attribute name.
Since:
6.4
Author:
F. van der Meer
  • Constructor Details

    • NamedVariableNode

      public NamedVariableNode(String instanceName, IdentifierNode entityName)
      Constructs the node with the name of the named variable.
      Parameters:
      instanceName - The name of the static instance.
      entityName - The name of the entity for which a static instance should be available.
  • Method Details

    • getInstanceName

      public String getInstanceName()
      This method returns the name of the instance.
      Returns:
      the name of the instance.
    • getEntityName

      public String getEntityName()
      This method returns the name of the entity.
      Returns:
      the name of the entity.
    • getFullName

      public String getFullName()
      Description copied from class: VariableNode
      Returns the full name with dotted notation from the variable node and it's parents.
      Overrides:
      getFullName in class VariableNode
      Returns:
      The full name with dotted notation from the variable node and it's parents.