Key
Target: ElementType.FIELD, ElementType.METHOD
- Implemented Interfaces:
Annotation
Annotation for the key of a map relation. Corresponds to the xml element "key".
- Since:
- JDO 2.1
Public Annotation Attributes
String column default ""
- Since:
- JDO 2.1
- Since:
- JDO 2.1
String dependent default ""
- Since:
- JDO 2.1
String embedded default ""
- Since:
- JDO 2.1
- Since:
- JDO 2.1
- Since:
- JDO 2.1
String foreignKey default ""
- Since:
- JDO 2.1
String generateForeignKey default ""
Specify "true" or "false".
- Since:
- JDO 2.1
String index default ""
- Since:
- JDO 2.1
String indexed default ""
- Since:
- JDO 2.1
String mappedBy default ""
- Since:
- JDO 2.1
String serialized default ""
- Since:
- JDO 2.1
String table default ""
- Since:
- JDO 2.1
Class[] types default {}
This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types.
- Since:
- JDO 2.1
String unique default ""
- Since:
- JDO 2.1
String uniqueKey default ""
- Since:
- JDO 2.1
- Since:
- JDO 2.1