|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface ForeignKeyAnnotation for a JDO foreign-key. Maps across to the JDO2 element "foreign-key".
| Required Element Summary | |
|---|---|
java.lang.String |
name
Name of the foreign-key. |
java.lang.String |
table
Table for the foreign-key. |
| Optional Element Summary | |
|---|---|
boolean |
deferred
Whether this foreign-key is deferred |
ForeignKeyAction |
deleteAction
The delete action of this FK |
java.lang.String |
unique
Whether this foreign-key is unique |
ForeignKeyAction |
updateAction
The update action of this FK |
| Element Detail |
|---|
public abstract java.lang.String name
public abstract java.lang.String table
public abstract boolean deferred
public abstract java.lang.String unique
public abstract ForeignKeyAction deleteAction
public abstract ForeignKeyAction updateAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||