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:
  • Constructor Details

    • 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 Details

    • getWorklistItem

      public T 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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object