SRJRCFrames
v0.1.296

de.schwarzrot.data.meta.support
Class DatabaseModelAccessor

java.lang.Object
  extended by de.schwarzrot.data.meta.support.DatabaseModelAccessor

public class DatabaseModelAccessor
extends Object


Constructor Summary
DatabaseModelAccessor()
           
 
Method Summary
 boolean columnExists(TableDefinition td, String columnName)
           
 Collection<String> columnNames(TableDefinition td)
           
 ColumnDefinition getColumn(TableDefinition td, String columnName)
           
 SchemaDefinition getSchema(DatabaseModel m, String schemaName)
           
 TableDefinition getTable(SchemaDefinition sd, String tableName)
           
 List<IndexDefinition> indexes(TableDefinition td)
           
 boolean schemaExists(DatabaseModel m, String schemaName)
           
 Collection<String> schemaNames(DatabaseModel m)
           
 boolean tableExists(SchemaDefinition sd, String tableName)
           
 Collection<String> tableNames(SchemaDefinition sd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseModelAccessor

public DatabaseModelAccessor()
Method Detail

columnExists

public boolean columnExists(TableDefinition td,
                            String columnName)

columnNames

public Collection<String> columnNames(TableDefinition td)

getColumn

public ColumnDefinition getColumn(TableDefinition td,
                                  String columnName)

getSchema

public SchemaDefinition getSchema(DatabaseModel m,
                                  String schemaName)

getTable

public TableDefinition getTable(SchemaDefinition sd,
                                String tableName)

indexes

public List<IndexDefinition> indexes(TableDefinition td)

schemaExists

public boolean schemaExists(DatabaseModel m,
                            String schemaName)

schemaNames

public Collection<String> schemaNames(DatabaseModel m)

tableExists

public boolean tableExists(SchemaDefinition sd,
                           String tableName)

tableNames

public Collection<String> tableNames(SchemaDefinition sd)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.