JDO Annotation

Embedded

Target: ElementType.FIELD, ElementType.METHOD
Implemented Interfaces:
Annotation

Annotation to define that the object is embedded into the table of the owning object. Corresponds to the xml element "embedded".
Since:
JDO 2.1

Public Annotation Attributes

Persistent[] members default {}
Members for this embedding.
Since:
JDO 2.1
String nullIndicatorColumn default ""
The column in the embedded object used to judge if the embedded object is null.
Since:
JDO 2.1
String nullIndicatorValue default ""
The value in the null column to interpret the object as being null.
Since:
JDO 2.1
String ownerMember default ""
The member in the embedded object that links back to the owning object where it has a bidirectional relationship.
Since:
JDO 2.1