org.apache.openjpa.persistence
Annotation Type PersistentCollection
- @Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface PersistentCollection
Metadata annotation for a persistent collection field. This should be
 used to annotate array field types as well as fields of type
 Collection.
- Since:
- 0.4.0
- Author:
- Abe White
 
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:
 
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.