butler.ext.domain
Class DomainPrefixTable

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

public class DomainPrefixTable
extends GeneratedTable

Author:
Fredrik Bertilsson

Field Summary
 
Fields inherited from class butler.sql.metadata.Table
_fks, _name, DUMMY
 
Constructor Summary
DomainPrefixTable(java.lang.String name, Schema schema)
           
 
Method Summary
 ForeignKey getForeignKey(java.lang.String name)
          Returns the foreign key with the given name.
 java.util.List getForeignKeys()
          Returns the foreign keys for this table.
 Index getIndex(java.lang.String name)
          Returns the index with the given name.
 java.util.List getIndexes()
          Returns all indexes for this table.
 java.lang.String getPhysicalName()
           
 
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, getForeignKeyNames, getImportedForeignKeys, getLocalizedCaption, getLogicalColumns, getName, getPath, getPhysicalColumns, getPrimaryKeyColumns, getProperty, getQualifiedName, getQuery, getRecordComparator, getRecordListeners, getRelation, getSchema, getTable, getTable, getValidator, hashCode, invokeMethod, isDummy, 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

DomainPrefixTable

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

getPhysicalName

public java.lang.String getPhysicalName()
Overrides:
getPhysicalName in class Table

getForeignKey

public ForeignKey getForeignKey(java.lang.String name)
                         throws java.lang.Exception
Description copied from class: Table
Returns the foreign key with the given name.

Overrides:
getForeignKey in class Table
Throws:
java.lang.Exception

getForeignKeys

public java.util.List getForeignKeys()
                              throws java.lang.Exception
Description copied from class: Table
Returns the foreign keys for this table.

Overrides:
getForeignKeys in class Table
Throws:
java.lang.Exception

getIndexes

public java.util.List getIndexes()
                          throws java.lang.Exception
Description copied from class: Table
Returns all indexes for this table.

Overrides:
getIndexes in class Table
Throws:
java.lang.Exception

getIndex

public Index getIndex(java.lang.String name)
               throws java.lang.Exception
Description copied from class: Table
Returns the index with the given name.

Overrides:
getIndex in class Table
Throws:
java.lang.Exception