registerClass(pcClass, fieldNames, fieldTypes, fieldFlags, persistenceCapableSuperclass, pc) - JDO JDOImplHelper's static method
Static Method javax.jdo.spi.JDOImplHelper
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 fieldspersistenceCapableSuperclass
- the most immediate superclass that isPersistenceCapable
pc
- an instance of thePersistenceCapable
class
- Since:
- JDO 1.0