Package com.pnfsoftware.jeb.core.events
Class PropertyChangeNotification
java.lang.Object
com.pnfsoftware.jeb.core.events.PropertyChangeNotification
Event data issued with
J.PropertyChange to report changes in one or more JEB properties.
This object contains one or more updated properties, and their updated values.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA property change entry. -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty property-change notification.PropertyChangeNotification(String propfqn, Object value, IPropertyDefinition pd) Create a property-change notification containing a single entry. -
Method Summary
-
Constructor Details
-
PropertyChangeNotification
public PropertyChangeNotification()Create an empty property-change notification. -
PropertyChangeNotification
Create a property-change notification containing a single entry.- Parameters:
propfqn- property fully-qualified namevalue- updated value, ornullif the property was resetpd- optional property definition
-
-
Method Details
-
add
Add a property-change entry.- Parameters:
propfqn- property fully-qualified namevalue- updated value, ornullif the property was resetpd- optional property definition
-
entries
Get the recorded property-change entries.- Returns:
- the mutable backing list of entries
-
has
Determine if this object contains a change notification at least one of the provided property name.- Parameters:
propfqns- list of properties to be tested- Returns:
- if true, at least one of the provided properties is part of the list of updates stored in this notification object
-
toString
-