Home » JDO » Annotations » Field Modifiers » Embedded

javax.jdo.annotations.Embedded - JDO annotation

javax.jdo.annotations
Annotation Embedded

Target:
Fields (including property get methods)
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
Members for this embedding.
Members for this embedding.
Returns:
the members embedded in the field or property being annotated
Default value:
{}
Since:
JDO 2.1
The column in the embedded object used to judge if the embedded object is null.
The column in the embedded object used to judge if the embedded object is null.
Returns:
the null indicator column
Default value:
""
Since:
JDO 2.1
The value in the null column to interpret the object as being null.
The value in the null column to interpret the object as being null.
Returns:
the null indicator value
Default value:
""
Since:
JDO 2.1
String ownerMember
The member in the embedded object that links back to the owning object where it has a bidirectional relationship.
The member in the embedded object that links back to the owning object where it has a bidirectional relationship.
Returns:
the member that refers to the owner
Default value:
""
Since:
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.