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

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.AbstractColumn
      extended by org.apache.ws.jaxme.sqls.impl.ColumnImpl
          extended by org.apache.ws.jaxme.sqls.db2.DB2ColumnImpl
All Implemented Interfaces:
BinaryColumn, Column, DB2Column, StringColumn

public class DB2ColumnImpl
extends ColumnImpl
implements DB2Column

Default implementation of a column in a DB2 database.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ws.jaxme.sqls.impl.ColumnImpl
ColumnImpl.NameImpl, ColumnImpl.TypeImpl
 
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Column
Column.Name, Column.Type
 
Constructor Summary
protected DB2ColumnImpl(Table pTable, Column.Name pName, Column.Type pType)
           
 
Method Summary
 java.lang.String getGeneratedAs()
          Returns the columns "generated as" clause.
 void setGeneratedAs(java.lang.String pGeneratedAs)
          Sets the columns "generated as" clause.
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.ColumnImpl
getQName, getTable, isPrimaryKeyPart, isVirtual
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.AbstractColumn
equals, getCustomData, getLength, getName, getType, hasFixedLength, hashCode, isBinaryColumn, isNullable, isStringColumn, setCustomData, setLength, setLength, setNullable
 
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.Column
getCustomData, getName, getQName, getTable, getType, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, isVirtual, setCustomData, setNullable
 

Constructor Detail

DB2ColumnImpl

protected DB2ColumnImpl(Table pTable,
                        Column.Name pName,
                        Column.Type pType)
Method Detail

getGeneratedAs

public java.lang.String getGeneratedAs()
Description copied from interface: DB2Column

Returns the columns "generated as" clause.

Specified by:
getGeneratedAs in interface DB2Column

setGeneratedAs

public void setGeneratedAs(java.lang.String pGeneratedAs)
Description copied from interface: DB2Column

Sets the columns "generated as" clause.

Specified by:
setGeneratedAs in interface DB2Column