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
public class WorklistItemUpdate<T extends WorklistItem> extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorklistItemUpdate(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)WorklistConstants.WorklistItemUpdateTypegetUpdateType()Gets the type of the update of the worklist item, that is, whether the item is added, changed or removed.TgetWorklistItem()Gets the worklist item of this update.inthashCode()
-
-
-
Constructor Detail
-
WorklistItemUpdate
public WorklistItemUpdate(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.- 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 Detail
-
getWorklistItem
public T getWorklistItem()
Gets the worklist item of this update.- Returns:
- The worklist item of this update.
-
getUpdateType
public WorklistConstants.WorklistItemUpdateType 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.
-
-