butler.ext.attribute
Class AttributedTable

java.lang.Object
  extended by butler.util.BaseGroovyObjectSupport
      extended by butler.sql.metadata.Table
          extended by butler.ext.attribute.AttributedTable
All Implemented Interfaces:
groovy.lang.GroovyObject

public class AttributedTable
extends Table

Author:
Fredrik Bertilsson

Field Summary
 
Fields inherited from class butler.sql.metadata.Table
_fks, _name, DUMMY
 
Constructor Summary
AttributedTable(java.lang.String name, Schema schema)
           
 
Method Summary
 void addAttribute(java.lang.String name, Datatype datatype)
           
 java.util.List getAttributes()
           
 
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, load, loadAll, loadFKs, newRecord, 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

AttributedTable

public AttributedTable(java.lang.String name,
                       Schema schema)
Method Detail

addAttribute

public void addAttribute(java.lang.String name,
                         Datatype datatype)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getAttributes

public java.util.List getAttributes()