javax.jdo.spi.RegisterClassEvent - JDO class
javax.jdo.spi
Class RegisterClassEvent
java.lang.Object
java.util.EventObject
javax.jdo.spi.RegisterClassEvent
- Implemented Interfaces:
-
Serializable
A
RegisterClassEvent
event gets delivered whenever a persistence-capable class registers itself with the JDOImplHelper
. - Since:
- JDO 1.0
RegisterClassEvent( JDOImplHelper helper, Class registeredClass, String[] fieldNames, Class[] fieldTypes, byte[] fieldFlags, Class persistenceCapableSuperclass)
Constructs a new
RegisterClassEvent
. - Parameters:
-
helper
- theJDOImplHelper
instanceregisteredClass
- 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
- Since:
- JDO 1.0
byte[] getFieldFlags()
Returns the flags of the managed field of the persistence-capable class.
- Returns:
- the flags of the managed fields
- Since:
- JDO 1.0
String[] getFieldNames()
Returns the names of the managed field of the persistence-capable class.
- Returns:
- the names of the managed fields
- Since:
- JDO 1.0
Class[] getFieldTypes()
Returns the types of the managed field of the persistence-capable class.
- Returns:
- the types of the managed fields
- Since:
- JDO 1.0
Class getPersistenceCapableSuperclass()
Returns the class object of the persistence-capable superclass.
- Returns:
- the persistence-capable superclass.
- Since:
- JDO 1.0
Class getRegisteredClass()
Returns the class object of the registered persistence-capable class.
- Returns:
- the persistence-capable class.
- Since:
- JDO 1.0
Object getSource()
String toString()