public class MetaClassRegistryChangeEvent
extends java.util.EventObject
| Constructor and Description | 
|---|
MetaClassRegistryChangeEvent(java.lang.Object source,
                            java.lang.Object instance,
                            java.lang.Class clazz,
                            MetaClass oldMetaClass,
                            MetaClass newMetaClass)
Constructs a new MetaClassRegistryChangeEvent Object 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Class | 
getClassToUpdate()
Get the class that is updated. 
 | 
java.lang.Object | 
getInstance()
Returns the instance this event is for. 
 | 
MetaClass | 
getNewMetaClass()
Get the new MetaClass 
 | 
MetaClass | 
getOldMetaClass()
Get the old MetaClass 
 | 
MetaClassRegistry | 
getRegistry()
Get the MetaClassRegistry that originates this change 
 | 
boolean | 
isPerInstanceMetaClassChange()
Determines if this event is for a change for a single instance or all instances of the Class. 
 | 
public MetaClassRegistryChangeEvent(java.lang.Object source,
                                    java.lang.Object instance,
                                    java.lang.Class clazz,
                                    MetaClass oldMetaClass,
                                    MetaClass newMetaClass)
source - The object the the event originates at.instance - Object instance  the MetaClass change is on.clazz - The class that is affected by the registry changeoldMetaClass - The old MetaClassnewMetaClass - The new MetaClasspublic java.lang.Class getClassToUpdate()
public MetaClass getNewMetaClass()
public MetaClass getOldMetaClass()
public boolean isPerInstanceMetaClassChange()
public java.lang.Object getInstance()
public MetaClassRegistry getRegistry()