butler.ext.sequence
Class SequenceColumn
java.lang.Object
butler.sql.metadata.Column
butler.ext.sequence.SequenceColumn
public class SequenceColumn
- extends Column
Column with a auto-generated sequence value.
- Author:
- Fredrik Bertilsson
Methods inherited from class butler.sql.metadata.Column |
copy, createDatatype, eq, equals, equals, ge, get, getCaption, getColumn, getColumnSize, getDatatype, getDecimalDigits, getDefaultValue, getHelp, getLocalizableCaption, getName, getSQL, getSQL, getSQL, getTable, getTableName, getType, gt, hashCode, isEditable, isInPrimaryKey, isPhysical, le, like, lt, ne, set, setCaption, setDatatype, setDefaultValue, setEditable, setInPrimaryKey, setNullable, toString, toXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SequenceColumn
public SequenceColumn(Column col,
SequenceGenerator generator)
throws java.lang.Exception
- Throws:
java.lang.Exception
SequenceColumn
public SequenceColumn(Column col)
throws java.lang.Exception
- Throws:
java.lang.Exception
setTable
public void setTable(Table tab)
throws java.lang.Exception
- Overrides:
setTable
in class Column
- Throws:
java.lang.Exception
getGenerator
public SequenceGenerator getGenerator()
getCreateSQL
public java.lang.String getCreateSQL()
throws java.lang.Exception
- Overrides:
getCreateSQL
in class Column
- Throws:
java.lang.Exception
isNullable
public boolean isNullable()
- Description copied from class:
Column
- Returns if the column is nullable or not.
- Overrides:
isNullable
in class Column