void registerClass(
Class pcClass,
String[] fieldNames,
Class[] fieldTypes,
byte[] fieldFlags,
Class persistenceCapableSuperclass,
PersistenceCapable pc
)
Register metadata by class. The registration will be done in the class named
JDOImplHelper
loaded by the same or an ancestor class loader as the PersistenceCapable
class performing the registration. - Parameters:
pcClass
- thePersistenceCapable
class used as the key for lookup.fieldNames
- an array ofString
field names for persistent and transactional fieldsfieldTypes
- an array ofClass
field typesfieldFlags
- the Field Flags for persistent and transactional fieldspc
- an instance of thePersistenceCapable
classpersistenceCapableSuperclass
- the most immediate superclass that isPersistenceCapable
- Since:
- JDO 1.0