org.apache.ws.jaxme.sqls.db2
Class DB2TableImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.TableImpl
      extended by org.apache.ws.jaxme.sqls.db2.DB2TableImpl
All Implemented Interfaces:
DB2Table, Table

public class DB2TableImpl
extends TableImpl
implements DB2Table

Default implementation of a table in a DB2 database.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ws.jaxme.sqls.impl.TableImpl
TableImpl.NameImpl
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Table
Table.Name
 
Constructor Summary
DB2TableImpl(Schema pSchema, Table.Name pName)
           
 
Method Summary
 TableSpace getIndexTableSpace()
          Returns the TableSpace, in which the tables indexes should be created physically.
 TableSpace getLongTableSpace()
          Returns the TableSpace, in which the tables LOB data should be physically stored.
 TableSpace getTableSpace()
          Returns the TableSpace, in which the table should be created physically.
 void setIndexTableSpace(TableSpace pTableSpace)
          Sets the TableSpace, in which the tables indexes should be created physically.
 void setLongTableSpace(TableSpace pTableSpace)
          Sets the TableSpace, in which the tables indexes should be created physically.
 void setTableSpace(TableSpace pTableSpace)
          Sets the TableSpace, in which the table should be created physically.
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.TableImpl
equals, getColumn, getColumn, getColumns, getDeleteStatement, getForeignKeys, getIndexes, getInsertStatement, getName, getPrimaryKey, getQName, getSchema, getSelectStatement, getUpdateStatement, hashCode, newColumn, newColumn, newForeignKey, newIndex, newKey, newPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.sqls.Table
getColumn, getColumn, getColumns, getDeleteStatement, getForeignKeys, getIndexes, getInsertStatement, getName, getPrimaryKey, getQName, getSchema, getSelectStatement, getUpdateStatement, newColumn, newColumn, newForeignKey, newIndex, newKey, newPrimaryKey
 

Constructor Detail

DB2TableImpl

public DB2TableImpl(Schema pSchema,
                    Table.Name pName)
Method Detail

setTableSpace

public void setTableSpace(TableSpace pTableSpace)
Description copied from interface: DB2Table

Sets the TableSpace, in which the table should be created physically. Null, if the database may choose a TableSpace.

Specified by:
setTableSpace in interface DB2Table

getTableSpace

public TableSpace getTableSpace()
Description copied from interface: DB2Table

Returns the TableSpace, in which the table should be created physically. Null, if the database may choose a TableSpace.

Specified by:
getTableSpace in interface DB2Table

setIndexTableSpace

public void setIndexTableSpace(TableSpace pTableSpace)
Description copied from interface: DB2Table

Sets the TableSpace, in which the tables indexes should be created physically. Null, if the tables main TableSpace should be choosen.

Specified by:
setIndexTableSpace in interface DB2Table

getIndexTableSpace

public TableSpace getIndexTableSpace()
Description copied from interface: DB2Table

Returns the TableSpace, in which the tables indexes should be created physically. Null, if the tables main TableSpace should be choosen.

Specified by:
getIndexTableSpace in interface DB2Table

setLongTableSpace

public void setLongTableSpace(TableSpace pTableSpace)
Description copied from interface: DB2Table

Sets the TableSpace, in which the tables indexes should be created physically. Null, if the tables main TableSpace should be choosen.

Specified by:
setLongTableSpace in interface DB2Table

getLongTableSpace

public TableSpace getLongTableSpace()
Description copied from interface: DB2Table

Returns the TableSpace, in which the tables LOB data should be physically stored. Null, if the tables main TableSpace should be choosen.

Specified by:
getLongTableSpace in interface DB2Table