com.triactive.jdo.store
Class PostgreSQLForeignKeyInfo

java.lang.Object
  extended by com.triactive.jdo.store.ForeignKeyInfo
      extended by com.triactive.jdo.store.PostgreSQLForeignKeyInfo

 class PostgreSQLForeignKeyInfo
extends ForeignKeyInfo

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

Author:
Mike Martin

Field Summary
 
Fields inherited from class com.triactive.jdo.store.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.
 
Method Summary
 
Methods inherited from class com.triactive.jdo.store.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.get??portedKeys().


Copyright ? 2001 TriActive, Inc. All Rights Reserved.