Class WorklistItemUpdate<T extends WorklistItem>

  • 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 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object