com.sun.jdo.spi.persistence.support.ejb.ejbqlc
Class IdentificationVariable

java.lang.Object
  extended by com.sun.jdo.spi.persistence.support.ejb.ejbqlc.IdentificationVariable

public class IdentificationVariable
extends java.lang.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 Summary
IdentificationVariable(java.lang.String name, java.lang.Object typeInfo)
          Creates an identification variable declaration for use during semantic analysis.
 
Method Summary
 java.lang.String getName()
          Returns the name of the IdentificationVariable.
 java.lang.Object getTypeInfo()
          Returns the type of the IdentificationVariable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentificationVariable

public IdentificationVariable(java.lang.String name,
                              java.lang.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 java.lang.String getName()
Returns the name of the IdentificationVariable.

Returns:
the name

getTypeInfo

public java.lang.Object getTypeInfo()
Returns the type of the IdentificationVariable.

Returns:
the type


Copyright © 2012 GlassFish Community. All Rights Reserved.