org.jpox.annotations
Annotation Type Embedded


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Embedded

Annotation to define that the object is embedded into the table of the owning object. Maps across to the JDO2 element "embedded".

Version:
$Revision: 1.3 $

Optional Element Summary
 java.lang.String nullIndicatorColumn
          The column in the embedded object used to judge if the embedded object is null.
 java.lang.String nullIndicatorValue
          The value in the null column to interpret the object as being null.
 java.lang.String ownerField
          The field in the embedded object that links back to the owning object (where it has a bidirectional relation).
 

ownerField

public abstract java.lang.String ownerField
The field in the embedded object that links back to the owning object (where it has a bidirectional relation).

Default:
""

nullIndicatorColumn

public abstract java.lang.String nullIndicatorColumn
The column in the embedded object used to judge if the embedded object is null.

Default:
""

nullIndicatorValue

public abstract java.lang.String nullIndicatorValue
The value in the null column to interpret the object as being null.

Default:
""


Copyright © 2003-2008 Java Persistent Objects (JPOX). All Rights Reserved.