net.sf.jaxme.sqls.db2
Class DB2ColumnImpl

java.lang.Object
  extended bynet.sf.jaxme.sqls.impl.ColumnImpl
      extended bynet.sf.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 inherited from class net.sf.jaxme.sqls.impl.ColumnImpl
ColumnImpl.NameImpl, ColumnImpl.TypeImpl
 
Nested classes inherited from class net.sf.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 net.sf.jaxme.sqls.impl.ColumnImpl
equals, getLength, getName, getQName, getTable, getType, hasFixedLength, hashCode, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, setLength, setLength, setNullable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.sqls.Column
getName, getQName, getTable, getType, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, 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