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 PurgeIndicatorDateTypeEnum
getDateType()
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.Date
getFromDate()
Returns the from date.java.util.List<com.onwbp.adaptation.PrimaryKey>
getIndicators()
Returns the primary keys of indicators used by the Purge indicator service.PurgeIndicatorStorageEnum
getStorage()
Returns the storage.java.util.Date
getToDate()
Returns the to date.boolean
isKeepLastValue()
Returnstrue
if keep the last data.boolean
isPurgeFlatTable()
Returnstrue
if purge data from flat table.boolean
isPurgeReportTable()
Returnstrue
if purge data from flat table.void
setDateType(PurgeIndicatorDateTypeEnum dateType)
SpecifiesDateTypeEnum
for the Purge indicator service.void
setDECs(java.util.List<com.onwbp.adaptation.PrimaryKey> decPrimarykeys)
Specifies the primary key list of D.E.C.s to purge.void
setFromDate(java.util.Date fromDate)
SpecifiesDate
for the Purge indicator service.void
setIndicators(java.util.List<com.onwbp.adaptation.PrimaryKey> indicatorPrimarykeys)
Specifies a primary key list of indicators to purge.void
setKeepLastValue(boolean keepLastValue)
Activates the keep the last data option.void
setPurgeFlatTable(boolean purgeFlatTable)
Activates the purge data from flat table.void
setPurgeReportTable(boolean purgeReportTable)
Activates the purge data from report table.void
setStorage(PurgeIndicatorStorageEnum storageEnum)
Specifies storage.void
setToDate(java.util.Date toDate)
SpecifiesDate
for 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()
Returnstrue
if purge data from flat table. Returnsfalse
.
-
setPurgeFlatTable
public void setPurgeFlatTable(boolean purgeFlatTable)
Activates the purge data from flat table.
-
isPurgeReportTable
public boolean isPurgeReportTable()
Returnstrue
if 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()
Returnstrue
if 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)
SpecifiesDateTypeEnum
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)
SpecifiesDate
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)
SpecifiesDate
for Purge indicator.- Parameters:
toDate
- the definition of from date.
-
-