JDO Class

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)
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

Public Methods

byte[] getFieldFlags()
Returns the flags of the managed field of the persistence-capable class.
Return:
the flags of the managed fields
Since:
JDO 1.0
String[] getFieldNames()
Returns the names of the managed field of the persistence-capable class.
Return:
the names of the managed fields
Since:
JDO 1.0
Class[] getFieldTypes()
Returns the types of the managed field of the persistence-capable class.
Return:
the types of the managed fields
Since:
JDO 1.0
Returns the class object of the persistence-capable superclass.
Return:
the persistence-capable superclass.
Since:
JDO 1.0
Returns the class object of the registered persistence-capable class.
Return:
the persistence-capable class.
Since:
JDO 1.0

Method inherited from class java.util.EventObject

getSource, toString

Method inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait