com.sas.dataselectors.filters.timebased
Class TimeBasedFilterAdapter

com.sas.dataselectors.filters.timebased.TimeBasedFilterAdapter
All Implemented Interfaces:
TimeBasedFilterAdapterInterface
Direct Known Subclasses:
OLAPTimeBasedFilterAdapter

public abstract class TimeBasedFilterAdapter
implements TimeBasedFilterAdapterInterface

Base class for either RelationalTimeBasedFilterAdapter or OLAPTimeBasedFilterAdapter


Field Summary
protected  com.sas.iquery.metadata.business.DataItem dataItem
          The DataItem being filtered.
 
Constructor Summary
TimeBasedFilterAdapter()
           
 
Method Summary
 java.lang.Object getDataItem()
          Returns the data item the time based filter is working with.
 void setDataItem(java.lang.Object dataItem)
          Sets the data item the time based filter is working with.
 

Field Detail

dataItem

protected com.sas.iquery.metadata.business.DataItem dataItem
The DataItem being filtered. Either it's or belongs to a 'Time' dimension.

Constructor Detail

TimeBasedFilterAdapter

public TimeBasedFilterAdapter()
Method Detail

setDataItem

public void setDataItem(java.lang.Object dataItem)
Description copied from interface: TimeBasedFilterAdapterInterface
Sets the data item the time based filter is working with.

Specified by:
setDataItem in interface TimeBasedFilterAdapterInterface
Parameters:
dataItem - the data item the time based filter is working with. It's a or belongs to a 'Time' dimension

getDataItem

public java.lang.Object getDataItem()
Description copied from interface: TimeBasedFilterAdapterInterface
Returns the data item the time based filter is working with.

Specified by:
getDataItem in interface TimeBasedFilterAdapterInterface
Returns:
the data item the time based filter is working with.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.