FileDocCategorySizeDatePackage
ForeignKeyMetadata.javaAPI DocHibernate 3.2.5815Fri Aug 13 03:05:48 BST 2004org.hibernate.tool.hbm2ddl

ForeignKeyMetadata

public class ForeignKeyMetadata extends Object
JDBC foreign key metadata
author
Christoph Sturm

Fields Summary
private final String
name
private final List
columns
Constructors Summary
ForeignKeyMetadata(ResultSet rs)


	    
		name = rs.getString("FK_NAME");
	
Methods Summary
voidaddColumn(ColumnMetadata column)

		if (column != null) columns.add(column);
	
public ColumnMetadata[]getColumns()

		return (ColumnMetadata[]) columns.toArray(new ColumnMetadata[0]);
	
public java.lang.StringgetName()

		return name;
	
public java.lang.StringtoString()

		return "ForeignKeyMetadata(" + name + ')";