54 words

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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.