Class AbstractDataContainerPostProcessor<T extends DataContainer>

    • Constructor Detail

      • AbstractDataContainerPostProcessor

        public AbstractDataContainerPostProcessor()
    • Method Detail

      • setOwner

        public void setOwner​(DataContainerDbReader value)
        Sets the owner of this preprocessor.
        Parameters:
        value - the owner
      • getOwner

        public DataContainerDbReader getOwner()
        Returns the current owner.
        Returns:
        the owner, null if none set
      • check

        protected void check​(T data)
        Checks the data to post-process.

        Default implementation only checks whether data is present.
        Parameters:
        data - the data to check
      • doPostProcess

        protected abstract T doPostProcess​(T data)
        Performs the actual post-processing.
        Parameters:
        data - the data to process
        Returns:
        the processed data
      • postProcess

        public T postProcess​(T data)
        Post-processes the data.
        Parameters:
        data - the data to post-process
        Returns:
        the processed data