Class WorklistItemUpdate<T extends WorklistItem>
java.lang.Object
de.aristaflow.adept2.model.worklistmodel.WorklistItemUpdate<T>
- Type Parameters:
T- The type of the worklist items which are provided by this update.
- All Implemented Interfaces:
Serializable
This class encapsulates a worklist item update, that is, a worklist item and
how this needs to be adapted (added, changed or removed from the
corresponding worklist) based on a worklist update.
- Author:
- Ulrich Kreher
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorklistItemUpdate(T worklistItem, WorklistConstants.WorklistItemUpdateType updateType) Creates a new worklist item update, that is, the information on how a worklist item has changed within a worklist update. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the type of the update of the worklist item, that is, whether the item is added, changed or removed.Gets the worklist item of this update.inthashCode()
-
Constructor Details
-
WorklistItemUpdate
Creates a new worklist item update, that is, the information on how a worklist item has changed within a worklist update.- Parameters:
worklistItem- The worklist item of this update.updateType- The type of the update of the worklist item, that is, whether the item is added, changed or removed.
-
-
Method Details
-
getWorklistItem
Gets the worklist item of this update.- Returns:
- The worklist item of this update.
-
getUpdateType
Gets the type of the update of the worklist item, that is, whether the item is added, changed or removed.- Returns:
- The type of the update of the worklist item, that is, whether the item is added, changed or removed.
-
equals
-
hashCode
public int hashCode()
-