Home » JDO » RegisterClassEvent

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.
Constructs a new RegisterClassEvent.
Parameters:
helper - the JDOImplHelper instance
registeredClass - the persistence-capable class
fieldNames - the names of the managed fields
fieldTypes - the types of the managed fields
fieldFlags - the flags of the managed fields
persistenceCapableSuperclass - 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 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 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 field of the persistence-capable class.
Returns:
the types of the managed fields
Since:
JDO 1.0
Returns the class object of the persistence-capable superclass.
Returns the class object of the persistence-capable superclass.
Returns:
the persistence-capable superclass.
Since:
JDO 1.0
Returns the class object of the registered persistence-capable class.
Returns the class object of the registered persistence-capable class.
Returns:
the persistence-capable class.
Since:
JDO 1.0
Object getSource()
String toString()

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.