ObjectDB ObjectDB

Persistent.types - JDO annotation element

Annotation Element
javax.jdo.annotations.Persistent
Class[] types

Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type when used for persistence.
Returns:
the types
Default value:
{}
Since:
JDO 2.1