Interface IFilteredCollectionFactory
- All Known Implementing Classes:
OutlierFilteredFactory
,WarmupFilteredFactory
public interface IFilteredCollectionFactory
Deprecated.
Superseded by EDP2.
Factory interface for creating the filtered collection - cf. java.util.Collection.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canFilter
(Collection<Measurement> filtrate, Number attribute) Deprecated.Check whether this filter factory can filter the given collection.convertToType
(String type) Deprecated.TODO add documentation heregetFilteredCollection
(Collection<Measurement> filtrate) Deprecated.Factory method.getFilteredCollection
(Collection<Measurement> filtrate, Number parameter) Deprecated.Factory method.Deprecated.Deprecated.Get the properties used to configure the filtervoid
setProperties
(Properties newProperties) Deprecated.Set the properties of this filter.
-
Method Details
-
canFilter
Deprecated.Check whether this filter factory can filter the given collection.- Parameters:
filtrate
- The collection to filterattribute
- The object of the required input attribute- Returns:
- true if this factory can create filtered collection of the required type, false otherwise
-
getFilteredCollection
Deprecated.Factory method. Creates a new filter with default parameter- Parameters:
filtrate
- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getFilteredCollection
AbstractMeasurementsCollection getFilteredCollection(Collection<Measurement> filtrate, Number parameter) Deprecated.Factory method. Creates a new filter of this factory's type- Parameters:
filtrate
- The data source to filtering- Returns:
- A data adapter which adapts the given data source
-
getFilterFactoryID
String getFilterFactoryID()Deprecated.- Returns:
- A unique id for this filter factory
-
getProperties
Properties getProperties()Deprecated.Get the properties used to configure the filter- Returns:
- This filters properties
-
setProperties
Deprecated.Set the properties of this filter. Properties can be used to control the filters's parameter.- Parameters:
newProperties
- The new properties to be used in this adapter
-
convertToType
Deprecated.TODO add documentation here- Parameters:
type
-- Returns:
-