Class ProcessIndicatorItemWrapper<T>

  • Type Parameters:
    T - item type

    public class ProcessIndicatorItemWrapper<T>
    extends java.lang.Object
    Item wrapper useful in "process indicator" usecase, where input is marked as processed by the processor/writer. This requires passing a technical identifier of the input data so that it can be modified in later stages.
    Author:
    Robert Kasanicky
    See Also:
    StagingItemReader, StagingItemProcessor
    • Constructor Detail

      • ProcessIndicatorItemWrapper

        public ProcessIndicatorItemWrapper​(long id,
                                           T item)
    • Method Detail

      • getId

        public long getId()
        Returns:
        id identifying the input data (typically row in database)
      • getItem

        public T getItem()
        Returns:
        item (domain object for business processing)