org.apache.openjpa.persistence
Annotation Type PersistentCollection


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

Metadata annotation for a persistent collection field.

Since:
0.4.0
Author:
Abe White

Optional Element Summary
 CascadeType[] elementCascade
           
 boolean elementEmbedded
           
 Class elementType
           
 FetchType fetch
           
 String mappedBy
           
 

mappedBy

public abstract String mappedBy
Default:
""

elementType

public abstract Class elementType
Default:
void.class

elementCascade

public abstract CascadeType[] elementCascade
Default:
{}

elementEmbedded

public abstract boolean elementEmbedded
Default:
false

fetch

public abstract FetchType fetch
Default:
LAZY


Copyright © 2006 Apache Software Foundation. All Rights Reserved.