RegisterClassEvent
java.lang.Object ∟ java.util.EventObject ∟ javax.jdo.spi.RegisterClassEvent
A
RegisterClassEvent
event gets delivered whenever a persistence-capable class registers itself with the JDOImplHelper
. - Since:
- JDO 1.0
Public Constructors
RegisterClassEvent(JDOImplHelper helper, Class registeredClass, String[] fieldNames, Class[] fieldTypes, byte[] fieldFlags, Class persistenceCapableSuperclass)
- 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
Public Methods
byte[] getFieldFlags()
- Return:
- the flags of the managed fields
- Since:
- JDO 1.0
String[] getFieldNames()
- Return:
- the names of the managed fields
- Since:
- JDO 1.0
Class[] getFieldTypes()
- Return:
- the types of the managed fields
- Since:
- JDO 1.0
Class getPersistenceCapableSuperclass()
- Return:
- the persistence-capable superclass.
- Since:
- JDO 1.0
Class getRegisteredClass()
- Return:
- the persistence-capable class.
- Since:
- JDO 1.0