org.acmsl.queryj
Class TableAlias

java.lang.Object
  |
  +--org.acmsl.queryj.TableAlias

public abstract class TableAlias
extends java.lang.Object

Represents SQL fields.

Version:
$Revision: 1.1 $
Author:
Jose San Leandro

Constructor Summary
TableAlias(java.lang.String name, Table table)
          Creates a table alias using given information.
 
Method Summary
 java.lang.String getName()
          Retrieves the alias name.
 Table getTable()
          Retrieves the table.
protected  void setName(java.lang.String name)
          Specifies the alias name.
protected  void setTable(Table table)
          Specifies the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableAlias

public TableAlias(java.lang.String name,
                  Table table)
Creates a table alias using given information.

Parameters:
name - the field name.
table - the table.
Method Detail

setName

protected void setName(java.lang.String name)
Specifies the alias name.

Parameters:
name - the name.

getName

public java.lang.String getName()
Retrieves the alias name.

Returns:
such reference.

setTable

protected void setTable(Table table)
Specifies the table.

Parameters:
table - the table.

getTable

public Table getTable()
Retrieves the table.

Returns:
such reference.


Copyright © 2003 ACM S.L.. All Rights Reserved.