org.eclipse.datatools.sqltools.sql.reference.internal
Class Table

java.lang.Object
  extended by org.eclipse.datatools.sqltools.sql.reference.DBObject
      extended by org.eclipse.datatools.sqltools.sql.reference.internal.Table
All Implemented Interfaces:
ITable

public class Table
extends DBObject
implements ITable

Author:
Li Huang

Field Summary
 
Fields inherited from class org.eclipse.datatools.sqltools.sql.reference.DBObject
COLUMN, DATABASE, DATATYPE, EVENT, FUNCTION, GLOBAL_TEMPORARY_TABLE, LOCAL_TEMPORARY_TABLE, STORED_PROCEDURE, SYSTABLE, SYSTEM_FUNCTION, SYSTEM_STORED_PROCEDURE, SYSVIEW, TABLE, TABLE_ALIAS, TRIGGER, VIEW
 
Constructor Summary
Table()
           
Table(java.lang.String owner, java.lang.String name, int type)
           
 
Method Summary
 java.lang.String getAliasName()
          Return alias name of this table.
 int getTableType()
          Returns the tableType.
 boolean hasAliasName()
          Test if this table has alias name.
 void setAliasName(java.lang.String aliasName)
          Set alias name of this table;
 
Methods inherited from class org.eclipse.datatools.sqltools.sql.reference.DBObject
getName, getOwner, getType, setName, setOwner, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.sqltools.sql.reference.ITable
getName, getOwner
 

Constructor Detail

Table

public Table()

Table

public Table(java.lang.String owner,
             java.lang.String name,
             int type)
Method Detail

getTableType

public int getTableType()
Description copied from interface: ITable
Returns the tableType.

Specified by:
getTableType in interface ITable
Returns:
int

hasAliasName

public boolean hasAliasName()
Description copied from interface: ITable
Test if this table has alias name.

Specified by:
hasAliasName in interface ITable
Returns:
true if this table has alias name; false otherwise.

getAliasName

public java.lang.String getAliasName()
Description copied from interface: ITable
Return alias name of this table.

Specified by:
getAliasName in interface ITable
Returns:
alias name

setAliasName

public void setAliasName(java.lang.String aliasName)
Description copied from interface: ITable
Set alias name of this table;

Specified by:
setAliasName in interface ITable