org.eclipse.datatools.sqltools.sql.reference.internal
Class Table
java.lang.Object
org.eclipse.datatools.sqltools.sql.reference.DBObject
org.eclipse.datatools.sqltools.sql.reference.internal.Table
- All Implemented Interfaces:
- ITable
public class Table
- extends DBObject
- implements ITable
- Author:
- Li Huang
| 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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Table
public Table()
Table
public Table(java.lang.String owner,
java.lang.String name,
int type)
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