| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Object | |
| private final MetaClass | |
| private final MetaClass | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MetaClassRegistryChangeEvent(Object
The object the event originates at. source, Object Object instance the MetaClass change is on. instance, Class<T> The class that is affected by the registry change clazz, MetaClass The old MetaClass oldMetaClass, MetaClass The new MetaClass newMetaClass)Constructs a new MetaClassRegistryChangeEvent Object |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public Object | Returns: the instance or null if this event is for a change for all instances of a classReturns the instance this event is for. |
| public MetaClass | |
| public MetaClass | |
| public MetaClassRegistry | Returns: the source MetaClassRegistryGet the MetaClassRegistry that originates this change |
| public boolean | Returns: whether this event is for a single instanceDetermines if this event is for a change for a single instance or all instances of the Class. |
| clazz | back to summary |
|---|---|
| private final Class<T> clazz | |
| instance | back to summary |
|---|---|
| private final Object instance | |
| metaClass | back to summary |
|---|---|
| private final MetaClass metaClass | |
| oldMetaClass | back to summary |
|---|---|
| private final MetaClass oldMetaClass | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MetaClassRegistryChangeEvent | back to summary |
|---|---|
| public MetaClassRegistryChangeEvent(Object source, Object instance, Class<T> clazz, MetaClass oldMetaClass, MetaClass newMetaClass) Constructs a new MetaClassRegistryChangeEvent Object | |
| getClassToUpdate | back to summary |
|---|---|
| public Class Get the class that is updated.
| |
| getInstance | back to summary |
|---|---|
| public Object getInstance() Returns the instance this event is for.
| |
| getNewMetaClass | back to summary |
|---|---|
| public MetaClass getNewMetaClass() Get the new MetaClass
| |
| getOldMetaClass | back to summary |
|---|---|
| public MetaClass getOldMetaClass() Get the old MetaClass
| |
| getRegistry | back to summary |
|---|---|
| public MetaClassRegistry getRegistry() Get the MetaClassRegistry that originates this change
| |
| isPerInstanceMetaClassChange | back to summary |
|---|---|
| public boolean isPerInstanceMetaClassChange() Determines if this event is for a change for a single instance or all instances of the Class.
| |