public class RegisterClassEvent
extends java.util.EventObject
RegisterClassEvent
event gets delivered whenever a persistence-capable
class registers itself with the JDOImplHelper
.Modifier and Type | Field and Description |
---|---|
protected byte[] |
fieldFlags
The flags of managed fields of the persistence-capable class
|
protected java.lang.String[] |
fieldNames
The names of managed fields of the persistence-capable class
|
protected java.lang.Class[] |
fieldTypes
The types of managed fields of the persistence-capable class
|
protected java.lang.Class |
pcClass
The class object of the registered persistence-capable class
|
protected java.lang.Class |
persistenceCapableSuperclass |
Constructor and Description |
---|
RegisterClassEvent(JDOImplHelper helper,
java.lang.Class registeredClass,
java.lang.String[] fieldNames,
java.lang.Class[] fieldTypes,
byte[] fieldFlags,
java.lang.Class persistenceCapableSuperclass)
Constructs a new
RegisterClassEvent . |
Modifier and Type | Method and Description |
---|---|
byte[] |
getFieldFlags()
Returns the flags of the managed field of the persistence-capable class.
|
java.lang.String[] |
getFieldNames()
Returns the names of the managed field of the persistence-capable class.
|
java.lang.Class[] |
getFieldTypes()
Returns the types of the managed field of the persistence-capable class.
|
java.lang.Class |
getPersistenceCapableSuperclass()
Returns the class object of the persistence-capable superclass.
|
java.lang.Class |
getRegisteredClass()
Returns the class object of the registered persistence-capable class.
|
protected java.lang.Class pcClass
protected java.lang.String[] fieldNames
protected java.lang.Class[] fieldTypes
protected byte[] fieldFlags
protected java.lang.Class persistenceCapableSuperclass
public RegisterClassEvent(JDOImplHelper helper, java.lang.Class registeredClass, java.lang.String[] fieldNames, java.lang.Class[] fieldTypes, byte[] fieldFlags, java.lang.Class persistenceCapableSuperclass)
RegisterClassEvent
.helper
- the JDOImplHelper
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 superclasspublic java.lang.Class getRegisteredClass()
public java.lang.String[] getFieldNames()
public java.lang.Class[] getFieldTypes()
public byte[] getFieldFlags()
public java.lang.Class getPersistenceCapableSuperclass()