com.simba.dsi.ext
Class ColumnRef

java.lang.Object
  extended by com.simba.dsi.ext.ColumnRef

public final class ColumnRef
extends java.lang.Object

A class that represents a column reference.


Constructor Summary
ColumnRef(int colNumber, DSIExtResultSet table)
          Constructor.
 
Method Summary
 int getColNumber()
          Retrieve the column number.
 IResultSet getTable()
          Retrieve the table that the column references.
static ColumnRef getTableColRef(AEValueExpr valueExpr)
          Creates and returns a ColumnRef object if the given value expression is a column reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnRef

public ColumnRef(int colNumber,
                 DSIExtResultSet table)
Constructor.

Parameters:
colNumber - The column number.
table - The table that the column references.
Method Detail

getColNumber

public int getColNumber()
Retrieve the column number.

Returns:
The column number.

getTable

public IResultSet getTable()
Retrieve the table that the column references.

Returns:
The table that the column references.

getTableColRef

public static final ColumnRef getTableColRef(AEValueExpr valueExpr)
Creates and returns a ColumnRef object if the given value expression is a column reference.

Parameters:
valueExpr - A value expression node.
Returns:
The newly created ColumnRef object if the given value expression is a column reference, null otherwise.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.