org.hibernate.tool.hbm2ddl
Class TableMetadata

java.lang.Object
  extended by org.hibernate.tool.hbm2ddl.TableMetadata

public class TableMetadata
extends Object

JDBC table metadata

Author:
Christoph Sturm, Max Rydahl Andersen

Method Summary
 void addColumn(ResultSet rs)
           
 String getCatalog()
           
 ColumnMetadata getColumnMetadata(String columnName)
           
 ForeignKeyMetadata getForeignKeyMetadata(ForeignKey fk)
           
 ForeignKeyMetadata getForeignKeyMetadata(String keyName)
           
 IndexMetadata getIndexMetadata(String indexName)
           
 String getName()
           
 String getSchema()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()

getCatalog

public String getCatalog()

getSchema

public String getSchema()

toString

public String toString()
Overrides:
toString in class Object

getColumnMetadata

public ColumnMetadata getColumnMetadata(String columnName)

getForeignKeyMetadata

public ForeignKeyMetadata getForeignKeyMetadata(String keyName)

getForeignKeyMetadata

public ForeignKeyMetadata getForeignKeyMetadata(ForeignKey fk)

getIndexMetadata

public IndexMetadata getIndexMetadata(String indexName)

addColumn

public void addColumn(ResultSet rs)
               throws SQLException
Throws:
SQLException


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.