Class SchemeEvent
An instance of this class describes changes to an instance of
IScheme.
This class is not intended to be extended by clients.
- Since:
- 3.1
- See Also:
-
Field Summary
Fields inherited from class AbstractNamedHandleEvent
CHANGED_DESCRIPTION, CHANGED_NAME, LAST_USED_BITFields inherited from class AbstractHandleObjectEvent
CHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLEFields inherited from class AbstractBitSetEvent
changedValues -
Constructor Summary
ConstructorsConstructorDescriptionSchemeEvent(Scheme scheme, boolean definedChanged, boolean nameChanged, boolean descriptionChanged, boolean parentIdChanged) Creates a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionfinal SchemeReturns the instance of the scheme that changed.final booleanReturns whether or not the parentId property changed.Methods inherited from class AbstractNamedHandleEvent
isDescriptionChanged, isNameChangedMethods inherited from class AbstractHandleObjectEvent
isDefinedChanged
-
Constructor Details
-
SchemeEvent
public SchemeEvent(Scheme scheme, boolean definedChanged, boolean nameChanged, boolean descriptionChanged, boolean parentIdChanged) Creates a new instance of this class.- Parameters:
scheme- the instance of the interface that changed; must not benull.definedChanged- true, iff the defined property changed.nameChanged- true, iff the name property changed.descriptionChanged-trueif the description property changed;falseotherwise.parentIdChanged- true, iff the parentId property changed.
-
-
Method Details
-
getScheme
Returns the instance of the scheme that changed.- Returns:
- the instance of the scheme that changed. Guaranteed not to be
null.
-
isParentIdChanged
public final boolean isParentIdChanged()Returns whether or not the parentId property changed.- Returns:
- true, iff the parentId property changed.
-