FileDocCategorySizeDatePackage
IdentificationVariable.javaAPI DocGlassfish v2 API3171Fri May 04 22:34:50 BST 2007com.sun.jdo.spi.persistence.support.ejb.ejbqlc

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

Fields Summary
private String
name
The name of the identification variable.
private Object
typeInfo
The type of the identification variable.
Constructors Summary
public IdentificationVariable(String name, Object typeInfo)
Creates an identification variable declaration for use during semantic analysis.

param
name the name of the identification variable.
param
typeInfo the type of the identification variable.

        this.name = name;
        this.typeInfo = typeInfo;
    
Methods Summary
public java.lang.StringgetName()
Returns the name of the IdentificationVariable.

return
the name

        return name;
    
public java.lang.ObjectgetTypeInfo()
Returns the type of the IdentificationVariable.

return
the type

        return typeInfo;