org.jpox.annotations
Annotation Type Array


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

Annotation for defining the persistence of an array. This is mandatory for an array field if

If generics are used then the element type can be determined from the generic type.

Version:
$Revision: 1.2 $

Optional Element Summary
 java.lang.String dependentElement
          Whether the element is dependent and so is deleted when the owner is deleted (true/false).
 java.lang.String elementType
          Type of the element.
 java.lang.String embeddedElement
          Whether the element is embedded in the join table (true/false).
 java.lang.String serializedElement
          Whether the element is serialised into a column the join table (true/false).
 

elementType

public abstract java.lang.String elementType
Type of the element.

Default:
""

embeddedElement

public abstract java.lang.String embeddedElement
Whether the element is embedded in the join table (true/false).

Default:
""

serializedElement

public abstract java.lang.String serializedElement
Whether the element is serialised into a column the join table (true/false).

Default:
""

dependentElement

public abstract java.lang.String dependentElement
Whether the element is dependent and so is deleted when the owner is deleted (true/false).

Default:
""


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