|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MappingInfo.ForeignKeyDefaults
Supplies default foreign key information.
Method Summary | |
---|---|
ForeignKey |
get(Table local,
Table foreign,
boolean inverse)
Return a default foreign key for the given tables, or null to create a logical foreign key only. |
void |
populate(Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Populate the given foreign key column with defaults. |
Method Detail |
---|
ForeignKey get(Table local, Table foreign, boolean inverse)
void populate(Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)
target
- the target column or constant valuepos
- the index of this column in the foreign keycols
- the number of columns in the foreign key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |