Interface IFilteredCollectionFactory
-
- All Known Implementing Classes:
OutlierFilteredFactory,WarmupFilteredFactory
public interface IFilteredCollectionFactoryDeprecated.Superseded by EDP2.Factory interface for creating the filtered collection - cf. java.util.Collection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancanFilter(Collection<Measurement> filtrate, Number attribute)Deprecated.Check whether this filter factory can filter the given collection.NumberconvertToType(String type)Deprecated.TODO add documentation hereAbstractMeasurementsCollectiongetFilteredCollection(Collection<Measurement> filtrate)Deprecated.Factory method.AbstractMeasurementsCollectiongetFilteredCollection(Collection<Measurement> filtrate, Number parameter)Deprecated.Factory method.StringgetFilterFactoryID()Deprecated.PropertiesgetProperties()Deprecated.Get the properties used to configure the filtervoidsetProperties(Properties newProperties)Deprecated.Set the properties of this filter.
-
-
-
Method Detail
-
canFilter
boolean canFilter(Collection<Measurement> filtrate, Number attribute)
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
AbstractMeasurementsCollection getFilteredCollection(Collection<Measurement> filtrate)
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
void setProperties(Properties newProperties)
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
-
-