Object
DB
Object
DB
ObjectDB
About ObjectDB
Get ObjectDB
Support
Manual
Quick Tour
Entity Classes
Using JPA
JPA Queries
Tools
and Utilities
Configuration
API
JPA
Reference
JDO
Reference
Tutorials
General JPA Tutorials
Web App JPA Tutorials
Admin
Home
»
JDO Reference
»
Annotations
»
Mapping (ORM)
»
Key
»
Key.types - JDO annotation element
JDO Reference
JDOHelper
PersistenceManagerFactory
PersistenceManager
Transaction
Query
Extent
Annotations
Class Modifiers
Field Modifiers
Index Definition
Fetch Settings
Miscellaneous
Mapping (ORM)
Column
Columns
Discriminator
DiscriminatorStrategy
Element
ForeignKey
ForeignKeyAction
ForeignKeys
Inheritance
InheritanceStrategy
Join
Joins
Key
Serialized
Value
Callbacks
Listeners
Predefined ID Classes
Miscellaneous
Exceptions
Key.types - JDO annotation element
Annotation Element
javax.jdo.annotations.Key
Class[] types
Types of the keys. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types.
Returns:
the types of keys
Default value:
{}
Since:
JDO 2.1
< Key
^ Key
Serialized >