org.apache.openjpa.persistence
Annotation Type PersistentMap


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

Metadata annotation for a persistent map field.

Since:
0.4.0
Author:
Abe White

Optional Element Summary
 CascadeType[] elementCascade
           
 boolean elementEmbedded
           
 Class elementType
           
 FetchType fetch
           
 CascadeType[] keyCascade
           
 boolean keyEmbedded
           
 Class keyType
           
 

keyType

public abstract Class keyType
Default:
void.class

elementType

public abstract Class elementType
Default:
void.class

keyCascade

public abstract CascadeType[] keyCascade
Default:
{}

elementCascade

public abstract CascadeType[] elementCascade
Default:
{}

keyEmbedded

public abstract boolean keyEmbedded
Default:
false

elementEmbedded

public abstract boolean elementEmbedded
Default:
false

fetch

public abstract FetchType fetch
Default:
javax.persistence.FetchType.LAZY


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.