| java.lang.Object org.dbunit.util.search.Edge org.dbunit.database.search.ForeignKeyRelationshipEdge
ForeignKeyRelationshipEdge | public class ForeignKeyRelationshipEdge extends Edge (Code) | | Implementation of an edge representing a foreign key (FK) relationship between two
tables.
The from node is the table which have the FK, while the
to node is the table with the PK. In other words, the edge
A->B means FK(A) = PK(B).
NOTE: only single-column PKs are supported at this moment
author: Felipe Leme version: $Revision: 554 $ since: Sep 9, 2005 |
ForeignKeyRelationshipEdge | public ForeignKeyRelationshipEdge(String tableFrom, String tableTo, String fkColumn, String pkColumn)(Code) | | Creates an edge representing a FK.
Parameters: tableFrom - table that has the FK Parameters: tableTo - table that has the PK Parameters: fkColumn - name of the FK column on tableFrom Parameters: pkColumn - name of the PK column on tableTo |
getFKColumn | public String getFKColumn()(Code) | | Gets the name of the foreign key column in the relationship.
name of the foreign key column in the relationship. |
getPKColumn | public String getPKColumn()(Code) | | Gets the name of the primary key column in the relationship.
name of the primary key column in the relationship. |
|
|