| java.lang.Object com.triactive.jdo.store.ForeignKeyInfo
All known Subclasses: com.triactive.jdo.store.PostgreSQLForeignKeyInfo,
Constructor Summary | |
public | ForeignKeyInfo(ResultSet rs) Constructs a foreign key information object from the current row of the
given result set. | public | ForeignKeyInfo(String pkTableCat, String pkTableSchem, String pkTableName, String pkColumnName, String fkTableCat, String fkTableSchem, String fkTableName, String fkColumnName, short keySeq, short updateRule, short deleteRule, String fkName, String pkName, short deferrability) Constructs a foreign key information object from its individual
attributes. |
Method Summary | |
final public boolean | equals(Object obj) Indicates whether some object is "equal to" this one. | final public int | hashCode() Returns a hash code value for this object. | public String | toString() Returns the string representation of this object. |
fkColumnName | public String fkColumnName(Code) | | The foreign key column name.
|
fkTableCat | public String fkTableCat(Code) | | The foreign key table catalog, which may be null.
|
fkTableName | public String fkTableName(Code) | | The foreign key table name.
|
fkTableSchem | public String fkTableSchem(Code) | | The foreign key table schema, which may be null.
|
keySeq | public short keySeq(Code) | | The sequence number within the foreign key, base 1.
|
pkColumnName | public String pkColumnName(Code) | | The primary key column name.
|
pkTableCat | public String pkTableCat(Code) | | The primary key table catalog, which may be null.
|
pkTableName | public String pkTableName(Code) | | The primary key table name.
|
pkTableSchem | public String pkTableSchem(Code) | | The primary key table schema, which may be null.
|
ForeignKeyInfo | public ForeignKeyInfo(ResultSet rs) throws JDOFatalDataStoreException(Code) | | 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.getImportedKeys().
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(). exception: JDOFatalDataStoreException - if a column of foreign key information could not be retrieved from theresult set. |
ForeignKeyInfo | public ForeignKeyInfo(String pkTableCat, String pkTableSchem, String pkTableName, String pkColumnName, String fkTableCat, String fkTableSchem, String fkTableName, String fkColumnName, short keySeq, short updateRule, short deleteRule, String fkName, String pkName, short deferrability)(Code) | | Constructs a foreign key information object from its individual
attributes.
This can be useful to subclasses and/or custom DatabaseAdapters that
need to modify and/or correct the metadata returned by the JDBC driver.
|
equals | final public boolean equals(Object obj)(Code) | | Indicates whether some object is "equal to" this one.
Two ForeignKeyInfo objects are considered equal if their
catalog, schema, table, and column names, both primary and foreign, are
all equal.
Parameters: obj - the reference object with which to compare true if this object is equal to the obj argument;false otherwise. |
hashCode | final public int hashCode()(Code) | | Returns a hash code value for this object.
a hash code value for this object. |
toString | public String toString()(Code) | | Returns the string representation of this object.
string representation of this object. |
|
|