Class PurgeIndicatorSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.service.ServiceSpec
-
- com.orchestranetworks.addon.dqid.service.purgeindicator.PurgeIndicatorSpec
-
public final class PurgeIndicatorSpec extends ServiceSpec
Defines the input of the Purge indicator service.- Since:
- 2.7.0
-
-
Constructor Summary
Constructors Constructor Description PurgeIndicatorSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeIndicatorDateTypeEnumgetDateType()Returns the date type used by the Purge indicator service.java.util.List<com.onwbp.adaptation.PrimaryKey>getDECs()Returns the primary keys of D.E.C.s used by the Purge indicator service.java.util.DategetFromDate()Returns the from date.java.util.List<com.onwbp.adaptation.PrimaryKey>getIndicators()Returns the primary keys of indicators used by the Purge indicator service.PurgeIndicatorStorageEnumgetStorage()Returns the storage.java.util.DategetToDate()Returns the to date.booleanisKeepLastValue()Returnstrueif keep the last data.booleanisPurgeFlatTable()Returnstrueif purge data from flat table.booleanisPurgeReportTable()Returnstrueif purge data from flat table.voidsetDateType(PurgeIndicatorDateTypeEnum dateType)SpecifiesDateTypeEnumfor the Purge indicator service.voidsetDECs(java.util.List<com.onwbp.adaptation.PrimaryKey> decPrimarykeys)Specifies the primary key list of D.E.C.s to purge.voidsetFromDate(java.util.Date fromDate)SpecifiesDatefor the Purge indicator service.voidsetIndicators(java.util.List<com.onwbp.adaptation.PrimaryKey> indicatorPrimarykeys)Specifies a primary key list of indicators to purge.voidsetKeepLastValue(boolean keepLastValue)Activates the keep the last data option.voidsetPurgeFlatTable(boolean purgeFlatTable)Activates the purge data from flat table.voidsetPurgeReportTable(boolean purgeReportTable)Activates the purge data from report table.voidsetStorage(PurgeIndicatorStorageEnum storageEnum)Specifies storage.voidsetToDate(java.util.Date toDate)SpecifiesDatefor Purge indicator.-
Methods inherited from class com.orchestranetworks.addon.dqid.service.ServiceSpec
getRepository, getSession, setRepository, setSession
-
-
-
-
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()
Returnstrueif purge data from flat table. Returnsfalse.
-
setPurgeFlatTable
public void setPurgeFlatTable(boolean purgeFlatTable)
Activates the purge data from flat table.
-
isPurgeReportTable
public boolean isPurgeReportTable()
Returnstrueif purge data from flat table. Returnsfalse.
-
setPurgeReportTable
public void setPurgeReportTable(boolean purgeReportTable)
Activates the purge data from report table.
-
getStorage
public PurgeIndicatorStorageEnum getStorage()
Returns the storage.
-
setStorage
public void setStorage(PurgeIndicatorStorageEnum storageEnum)
Specifies storage.- Parameters:
storageEnum- the definition of the list indicator storage.
-
isKeepLastValue
public boolean isKeepLastValue()
Returnstrueif keep the last data. Returnsfalse.
-
setKeepLastValue
public void setKeepLastValue(boolean keepLastValue)
Activates the keep the last data option.
-
getDateType
public PurgeIndicatorDateTypeEnum getDateType()
Returns the date type used by the Purge indicator service.
-
setDateType
public void setDateType(PurgeIndicatorDateTypeEnum dateType)
SpecifiesDateTypeEnumfor 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)
SpecifiesDatefor 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)
SpecifiesDatefor Purge indicator.- Parameters:
toDate- the definition of from date.
-
-