butler.ext.sequence
Class GeneratorTable

java.lang.Object
  extended by butler.util.BaseGroovyObjectSupport
      extended by butler.sql.metadata.Table
          extended by butler.sql.metadata.GeneratedTable
              extended by butler.ext.sequence.GeneratorTable
All Implemented Interfaces:
groovy.lang.GroovyObject

public class GeneratorTable
extends GeneratedTable

Author:
Fredrik Bertilsson

Field Summary
 
Fields inherited from class butler.sql.metadata.Table
_fks, _name, DUMMY
 
Constructor Summary
GeneratorTable(Schema schema)
           
 
Method Summary
 SequenceGenerator getSequenceGenerator()
           
 Record newRecord()
          Creates a new empty record.
 Column no()
           
 Column tabname()
           
 
Methods inherited from class butler.sql.metadata.GeneratedTable
load, loadAll, loadFKs
 
Methods inherited from class butler.sql.metadata.Table
addForeignKey, addIndex, addRecord, addRecordListener, addRelation, copy, create, createColumn, createColumn, createColumn, createColumn, createColumn, createColumn, createDeleteQuery, createQuery, createRecord, drop, equals, equals, exists, findAll, findByPK, findByPK, findByPK0, findByPKIfExists, findByPKIfExists, getAuthorizator, getCaption, getColumn, getColumns, getDatabase, getDataColumns, getExportedForeignKeys, getForeignKey, getForeignKey, getForeignKeyNames, getForeignKeys, getImportedForeignKeys, getIndex, getIndexes, getLocalizedCaption, getLogicalColumns, getName, getPath, getPhysicalColumns, getPhysicalName, getPrimaryKeyColumns, getProperty, getQualifiedName, getQuery, getRecordComparator, getRecordListeners, getRelation, getSchema, getTable, getTable, getValidator, hashCode, invokeMethod, isDummy, registerColumn, registerQuery, setAuthorizator, setRecordComparator, setSchema, setValidator, toXML, unload, upgrade
 
Methods inherited from class butler.util.BaseGroovyObjectSupport
getMetaClass, setMetaClass, setProperty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorTable

public GeneratorTable(Schema schema)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

tabname

public Column tabname()
               throws java.lang.Exception
Throws:
java.lang.Exception

no

public Column no()
          throws java.lang.Exception
Throws:
java.lang.Exception

newRecord

public Record newRecord()
Description copied from class: Table
Creates a new empty record.

Overrides:
newRecord in class Table

getSequenceGenerator

public SequenceGenerator getSequenceGenerator()