Class RegisterClassEvent
java.lang.Object
java.util.EventObject
javax.jdo.spi.RegisterClassEvent
- All Implemented Interfaces:
Serializable
A
RegisterClassEvent event gets delivered whenever a persistence-capable
class registers itself with the JDOImplHelper.- Version:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]The flags of managed fields of the persistence-capable classprotected String[]The names of managed fields of the persistence-capable classprotected Class[]The types of managed fields of the persistence-capable classprotected ClassThe class object of the registered persistence-capable classprotected ClassFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionRegisterClassEvent(JDOImplHelper helper, Class registeredClass, String[] fieldNames, Class[] fieldTypes, byte[] fieldFlags, Class persistenceCapableSuperclass) Constructs a newRegisterClassEvent. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the flags of the managed field of the persistence-capable class.String[]Returns the names of the managed field of the persistence-capable class.Class[]Returns the types of the managed field of the persistence-capable class.Returns the class object of the persistence-capable superclass.Returns the class object of the registered persistence-capable class.Methods inherited from class EventObject
getSource, toString
-
Field Details
-
pcClass
The class object of the registered persistence-capable class -
fieldNames
The names of managed fields of the persistence-capable class -
fieldTypes
The types of managed fields of the persistence-capable class -
fieldFlags
protected byte[] fieldFlagsThe flags of managed fields of the persistence-capable class -
persistenceCapableSuperclass
-
-
Constructor Details
-
RegisterClassEvent
public RegisterClassEvent(JDOImplHelper helper, Class registeredClass, String[] fieldNames, Class[] fieldTypes, byte[] fieldFlags, Class persistenceCapableSuperclass) Constructs a newRegisterClassEvent.- Parameters:
helper- theJDOImplHelperinstanceregisteredClass- the persistence-capable classfieldNames- the names of the managed fieldsfieldTypes- the types of the managed fieldsfieldFlags- the flags of the managed fieldspersistenceCapableSuperclass- the persistence-capable superclass
-
-
Method Details
-
getRegisteredClass
Returns the class object of the registered persistence-capable class.- Returns:
- the persistence-capable class.
-
getFieldNames
Returns the names of the managed field of the persistence-capable class.- Returns:
- the names of the managed fields
-
getFieldTypes
Returns the types of the managed field of the persistence-capable class.- Returns:
- the types of the managed fields
-
getFieldFlags
public byte[] getFieldFlags()Returns the flags of the managed field of the persistence-capable class.- Returns:
- the flags of the managed fields
-
getPersistenceCapableSuperclass
Returns the class object of the persistence-capable superclass.- Returns:
- the persistence-capable superclass.
-