Package javax.jdo.spi
Class RegisterClassEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.jdo.spi.RegisterClassEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class RegisterClassEvent extends java.util.EventObject
ARegisterClassEvent
event gets delivered whenever a persistence-capable class registers itself with theJDOImplHelper
.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
fieldFlags
The flags of managed fields of the persistence-capable classprotected java.lang.String[]
fieldNames
The names of managed fields of the persistence-capable classprotected java.lang.Class[]
fieldTypes
The types of managed fields of the persistence-capable classprotected java.lang.Class
pcClass
The class object of the registered persistence-capable classprotected java.lang.Class
persistenceCapableSuperclass
-
Constructor Summary
Constructors Constructor Description RegisterClassEvent(JDOImplHelper helper, java.lang.Class registeredClass, java.lang.String[] fieldNames, java.lang.Class[] fieldTypes, byte[] fieldFlags, java.lang.Class persistenceCapableSuperclass)
Constructs a newRegisterClassEvent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
pcClass
protected java.lang.Class pcClass
The class object of the registered persistence-capable class
-
fieldNames
protected java.lang.String[] fieldNames
The names of managed fields of the persistence-capable class
-
fieldTypes
protected java.lang.Class[] fieldTypes
The types of managed fields of the persistence-capable class
-
fieldFlags
protected byte[] fieldFlags
The flags of managed fields of the persistence-capable class
-
persistenceCapableSuperclass
protected java.lang.Class persistenceCapableSuperclass
-
-
Constructor Detail
-
RegisterClassEvent
public RegisterClassEvent(JDOImplHelper helper, java.lang.Class registeredClass, java.lang.String[] fieldNames, java.lang.Class[] fieldTypes, byte[] fieldFlags, java.lang.Class persistenceCapableSuperclass)
Constructs a newRegisterClassEvent
.- 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
-
-
Method Detail
-
getRegisteredClass
public java.lang.Class getRegisteredClass()
Returns the class object of the registered persistence-capable class.- Returns:
- the persistence-capable class.
-
getFieldNames
public java.lang.String[] getFieldNames()
Returns the names of the managed field of the persistence-capable class.- Returns:
- the names of the managed fields
-
getFieldTypes
public java.lang.Class[] getFieldTypes()
Returns the types of the managed field of the persistence-capable class.- Returns:
- the types of the managed fields
-
getFieldFlags
public byte[] getFieldFlags()
Returns the flags of the managed field of the persistence-capable class.- Returns:
- the flags of the managed fields
-
getPersistenceCapableSuperclass
public java.lang.Class getPersistenceCapableSuperclass()
Returns the class object of the persistence-capable superclass.- Returns:
- the persistence-capable superclass.
-
-