Package javax.jdo.annotations
Annotation Type Embedded
Annotation to define that the object is embedded into the table of the
owning object.
Corresponds to the xml element "embedded".
- Since:
- 2.1
- Version:
- 2.1
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionMembers for this embedding.The column in the embedded object used to judge if the embedded object is null.The value in the null column to interpret the object as being null.The member in the embedded object that links back to the owning object where it has a bidirectional relationship.
-
Element Details
-
ownerMember
String ownerMemberThe 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:
""
-
nullIndicatorColumn
String nullIndicatorColumnThe column in the embedded object used to judge if the embedded object is null.- Returns:
- the null indicator column
- Default:
""
-
nullIndicatorValue
String nullIndicatorValueThe value in the null column to interpret the object as being null.- Returns:
- the null indicator value
- Default:
""
-
members
Persistent[] membersMembers for this embedding.- Returns:
- the members embedded in the field or property being annotated
- Default:
{}
-