|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FkNamingConvention
Generates foreign key for some table.
| Method Summary | |
|---|---|
java.lang.String |
resolveFkName(DbEntityDescriptor foreignTable,
DbEntityDescriptor thisTable)
Resolve foreign key name from foreign table and this table. |
| Method Detail |
|---|
java.lang.String resolveFkName(DbEntityDescriptor foreignTable,
DbEntityDescriptor thisTable)
Example: Lets have table GIRL that has an ID column. Lets have table BOY that has a foreign key to a GIRL. In this example, method will receive following arguments:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||