ForeignKey
Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD
- Implemented Interfaces:
Annotation
Annotation for a database foreign-key. Corresponds to the xml element "foreign-key".
- Since:
- JDO 2.1
Public Annotation Attributes
String deferred default ""
- Since:
- JDO 2.1
- Since:
- JDO 2.1
String[] members default {}
- Since:
- JDO 2.1
String name default ""
- Since:
- JDO 2.1
String table default ""
This is needed iff annotating a type where the foreign key is not defined on the primary table for the type.
- Since:
- JDO 2.1
String unique default ""
- Since:
- JDO 2.1
- Since:
- JDO 2.1