public class RegisterClassEvent extends 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 String[] |
fieldNames
The names of managed fields of the persistence-capable class
|
protected Class[] |
fieldTypes
The types of managed fields of the persistence-capable class
|
protected Class |
pcClass
The class object of the registered persistence-capable class
|
protected Class |
persistenceCapableSuperclass |
source| Constructor and Description |
|---|
RegisterClassEvent(JDOImplHelper helper,
Class registeredClass,
String[] fieldNames,
Class[] fieldTypes,
byte[] fieldFlags,
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.
|
String[] |
getFieldNames()
Returns the names of the managed field of the persistence-capable class.
|
Class[] |
getFieldTypes()
Returns the types of the managed field of the persistence-capable class.
|
Class |
getPersistenceCapableSuperclass()
Returns the class object of the persistence-capable superclass.
|
Class |
getRegisteredClass()
Returns the class object of the registered persistence-capable class.
|
getSource, toStringprotected Class pcClass
protected String[] fieldNames
protected Class[] fieldTypes
protected byte[] fieldFlags
protected Class persistenceCapableSuperclass
public RegisterClassEvent(JDOImplHelper helper, Class registeredClass, String[] fieldNames, Class[] fieldTypes, byte[] fieldFlags, 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 Class getRegisteredClass()
public String[] getFieldNames()
public Class[] getFieldTypes()
public byte[] getFieldFlags()
public Class getPersistenceCapableSuperclass()
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.