org.jpox.store.rdbms.typeinfo
Class PostgreSQLForeignKeyInfo

java.lang.Object
  extended byorg.jpox.store.rdbms.typeinfo.ForeignKeyInfo
      extended byorg.jpox.store.rdbms.typeinfo.PostgreSQLForeignKeyInfo

public class PostgreSQLForeignKeyInfo
extends ForeignKeyInfo

Represents the metadata of a table's foreign key column in PostgreSQL.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.jpox.store.rdbms.typeinfo.ForeignKeyInfo
deferrability, deleteRule, fkColumnName, fkName, fkTableCat, fkTableName, fkTableSchem, keySeq, pkColumnName, pkName, pkTableCat, pkTableName, pkTableSchem, updateRule
 
Constructor Summary
PostgreSQLForeignKeyInfo(java.sql.ResultSet rs)
          Constructs a foreign key information object from the current row of the given result set.
 
Methods inherited from class org.jpox.store.rdbms.typeinfo.ForeignKeyInfo
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostgreSQLForeignKeyInfo

public PostgreSQLForeignKeyInfo(java.sql.ResultSet rs)
Constructs a foreign key information object from the current row of the given result set. The ResultSet object passed must have been obtained from a call to DatabaseMetaData.getImportedKeys() or DatabaseMetaData.getExportedKeys().

This method only retrieves the values from the current row; the caller is required to advance to the next row with ResultSet.next().

Parameters:
rs - The result set returned from DatabaseMetaData.getImportedKeys()/DatabaseMetaData.getExportedKeys()


Copyright © -2007 . All Rights Reserved.