Class AbstractDataContainerDbReader<T extends DataContainer>

    • Field Detail

      • m_Raw

        protected boolean m_Raw
        whether to return the raw data or not.
      • m_Lenient

        protected boolean m_Lenient
        whether to ignore not finding any IDs.
    • Constructor Detail

      • AbstractDataContainerDbReader

        public AbstractDataContainerDbReader()
    • Method Detail

      • setRaw

        public void setRaw​(boolean value)
        Sets whether to return the raw data or not (only FilteredDataProviders).
        Parameters:
        value - true if transformation is to be skipped
        See Also:
        FilteredDataProvider
      • getRaw

        public boolean getRaw()
        Returns whether to return the raw data or not (only FilteredDataProviders).
        Returns:
        true if transformation is skipped
        See Also:
        FilteredDataProvider
      • rawTipText

        public String rawTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setLenient

        public void setLenient​(boolean value)
        Sets whether to ignore IDs that weren't found (warning rather than error).
        Specified by:
        setLenient in interface LenientModeSupporter
        Parameters:
        value - true if to ignore missing IDs
      • getLenient

        public boolean getLenient()
        Returns whether to ignore IDs that weren't found (warning rather than error).
        Specified by:
        getLenient in interface LenientModeSupporter
        Returns:
        true if to ignore missing IDs
      • lenientTipText

        public String lenientTipText()
        Returns the tip text for this property.
        Specified by:
        lenientTipText in interface LenientModeSupporter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPostProcessor

        public void setPostProcessor​(AbstractDataContainerPostProcessor value)
        Sets the post-processor to apply to the data.
        Parameters:
        value - the post-processor
      • postProcessorTipText

        public String postProcessorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        java.lang.Integer.class
      • generates

        public abstract Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        the data to retrieve from the database