openjava.ptree
Class TableReference
java.lang.Object
|
+--openjava.ptree.ParseTreeObject
|
+--openjava.ptree.NonLeaf
|
+--openjava.ptree.FieldAccess
|
+--openjava.ptree.TableReference
- All Implemented Interfaces:
- Cloneable, Expression, ParseTree, VariableInitializer
- public class TableReference
- extends FieldAccess
TableReference specialized FieldAccess to hold information about the table
being accessed.
Fields inherited from class openjava.ptree.NonLeaf |
|
Methods inherited from class openjava.ptree.NonLeaf |
childrenAccept, childrenAreEqual, elementAt, getComment, getContents, getLength, getRowType, makeRecursiveCopy, replaceChildWith, set, set, set, set, set, set, set, set, set, setComment, setElementAt |
Methods inherited from class openjava.ptree.ParseTreeObject |
clone, eq, eq, equal, flushPrintWriter, getDebugFlag, getNest, getObjectID, getParent, getPrintWriter, getTab, hashCode, lastObjectID, makeCopy, popNest, popPrintWriter, pushNest, pushPrintWriter, replace, setDebugFlag, setDebugLevel, setNest, setParent, setPrintStream, setTab, toFlattenString, toString, writeDebug, writeDebugL, writeDebugLln, writeDebugln, writeDebugLR, writeDebugR, writeDebugRln, writeTab |
TableReference
public TableReference(Expression expr,
String schemaName,
String tableName)
- An access to the specified table.
getQualifier
public String getQualifier()
equals
public boolean equals(ParseTree o)
- Description copied from interface:
ParseTree
- Tests if this parse-tree-node's value equals to the specified
ptree-node's.
- Specified by:
equals
in interface ParseTree
- Overrides:
equals
in class FieldAccess
- Returns:
- true if two values are same.
getType
public OJClass getType(Environment env)
throws Exception
- Specified by:
getType
in interface Expression
- Overrides:
getType
in class FieldAccess
Exception