Interface PropertyTracker
-
- All Known Subinterfaces:
Adept2EbpRefProperties
,InternalWorklistItemProperties
- All Known Implementing Classes:
ADEPT2ActivityReference
,ADEPT2EBPReference
,LWPActivityReference
public interface PropertyTracker
Interface to access details on what properties of an object have changed since its creation or the last resetting of the change tracking. Subclasses (or rather subinterfaces) usually just define the changed properties as constants.
Since properties are to be stored, the corresponding tracker (getChangedProperties(boolean)
) contain serializable values.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<ChangedProperty<? extends Serializable>>
getChangedProperties(boolean reset)
Gets all (types of) properties that have been changed since creation of the corresponding/implementing object or last resetting of the change tracking and resets the tracking afterwards if appropriate.
-
-
-
Method Detail
-
getChangedProperties
Set<ChangedProperty<? extends Serializable>> getChangedProperties(boolean reset)
Gets all (types of) properties that have been changed since creation of the corresponding/implementing object or last resetting of the change tracking and resets the tracking afterwards if appropriate.
The returned set is always a snapshot of the current state.- Parameters:
reset
- Whether to clear the changes.- Returns:
- All (types of) properties that have been changed since creation of this item or resetting the tracking and resets the tracking afterwards if appropriate.
-
-