Class PurgeIndicatorSpec


  • public final class PurgeIndicatorSpec
    extends ServiceSpec
    Defines the input of the Purge indicator service.
    Since:
    2.7.0
    • Constructor Detail

      • PurgeIndicatorSpec

        public PurgeIndicatorSpec()
    • Method Detail

      • getIndicators

        public java.util.List<com.onwbp.adaptation.PrimaryKey> getIndicators()
        Returns the primary keys of indicators used by the Purge indicator service.
      • setIndicators

        public void setIndicators​(java.util.List<com.onwbp.adaptation.PrimaryKey> indicatorPrimarykeys)
        Specifies a primary key list of indicators to purge.
        Parameters:
        indicatorPrimarykeys - the definition of the list of indicator primary keys.
      • getDECs

        public java.util.List<com.onwbp.adaptation.PrimaryKey> getDECs()
        Returns the primary keys of D.E.C.s used by the Purge indicator service.
      • setDECs

        public void setDECs​(java.util.List<com.onwbp.adaptation.PrimaryKey> decPrimarykeys)
        Specifies the primary key list of D.E.C.s to purge.
        Parameters:
        decPrimarykeys - the definition of the list of D.E.C. primary keys.
      • isPurgeFlatTable

        public boolean isPurgeFlatTable()
        Returns true if purge data from flat table. Returns false.
      • setPurgeFlatTable

        public void setPurgeFlatTable​(boolean purgeFlatTable)
        Activates the purge data from flat table.
      • isPurgeReportTable

        public boolean isPurgeReportTable()
        Returns true if purge data from flat table. Returns false.
      • setPurgeReportTable

        public void setPurgeReportTable​(boolean purgeReportTable)
        Activates the purge data from report table.
      • setStorage

        public void setStorage​(PurgeIndicatorStorageEnum storageEnum)
        Specifies storage.
        Parameters:
        storageEnum - the definition of the list indicator storage.
      • isKeepLastValue

        public boolean isKeepLastValue()
        Returns true if keep the last data. Returns false.
      • setKeepLastValue

        public void setKeepLastValue​(boolean keepLastValue)
        Activates the keep the last data option.
      • setDateType

        public void setDateType​(PurgeIndicatorDateTypeEnum dateType)
        Specifies DateTypeEnum for the Purge indicator service.
        Parameters:
        dateType - the definition of the date type
      • getFromDate

        public java.util.Date getFromDate()
        Returns the from date.
      • setFromDate

        public void setFromDate​(java.util.Date fromDate)
        Specifies Date for the Purge indicator service.
        Parameters:
        fromDate - the definition of from date.
      • getToDate

        public java.util.Date getToDate()
        Returns the to date.
      • setToDate

        public void setToDate​(java.util.Date toDate)
        Specifies Date for Purge indicator.
        Parameters:
        toDate - the definition of from date.