| |
|
| java.lang.Object xdoclet.modules.ojb.model.DefBase xdoclet.modules.ojb.model.ForeignkeyDef
ForeignkeyDef | public ForeignkeyDef(String name, String tableName)(Code) | | Creates a new foreignkey definition object.
Parameters: name - The name of the foreignkey element Parameters: tableName - The name of the remote table |
addColumnPair | public void addColumnPair(String localColumn, String remoteColumn)(Code) | | Adds a column pair to this foreignkey.
Parameters: localColumn - The column in the local table Parameters: remoteColumn - The column in the remote table |
getLocalColumn | public String getLocalColumn(int idx)(Code) | | Returns the local column of the specified pair.
Parameters: idx - Specifies the pair The local column of the pair |
getNumColumnPairs | public int getNumColumnPairs()(Code) | | Returns the number of column pairs of this foreignkey definition.
The number of pairs |
getRemoteColumn | public String getRemoteColumn(int idx)(Code) | | Returns the remote column of the specified pair.
Parameters: idx - Specifies the pair The remote column of the pair |
getTableName | public String getTableName()(Code) | | Returns the name of the referenced table.
The table name |
hashCode | public int hashCode()(Code) | | |
|
|
|