Class IdentificationVariable


  • public class IdentificationVariable
    extends Object
    An instance of this class denotes an identification variable as declared in the from clause of an EJBQL query string. The compiler creates such an instance when analysing the from clause and stores it in the symbol table.
    Author:
    Michael Bouschen
    • Constructor Detail

      • IdentificationVariable

        public IdentificationVariable​(String name,
                                      Object typeInfo)
        Creates an identification variable declaration for use during semantic analysis.
        Parameters:
        name - the name of the identification variable.
        typeInfo - the type of the identification variable.
    • Method Detail

      • getName

        public String getName()
        Returns the name of the IdentificationVariable.
        Returns:
        the name
      • getTypeInfo

        public Object getTypeInfo()
        Returns the type of the IdentificationVariable.
        Returns:
        the type