Class RawDataTypeFilter
java.lang.Object
net.sf.basedb.clients.web.extensions.list.RawDataTypeFilter
- All Implemented Interfaces:
Filter<Annotatable>
public class RawDataTypeFilter extends Object implements Filter<Annotatable>
Filter implementation that accept raw bioassay items of a given raw data type.
The filter can also be used to accept Item lists with a matching
ItemList.getRawDataType()
(or without raw data type if the member type matches).- Since:
- 3.17
- Author:
- nicklas
-
Field Summary
Fields Modifier and Type Field Description private RawDataType
rdt
-
Constructor Summary
Constructors Constructor Description RawDataTypeFilter(RawDataType rdt)
-
Method Summary
Modifier and Type Method Description boolean
evaluate(Annotatable item)
Evaluate if the given object should pass the filter or not.
-
Field Details
-
rdt
-
-
Constructor Details
-
RawDataTypeFilter
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not.- Specified by:
evaluate
in interfaceFilter<Annotatable>
- Parameters:
item
- The object to evaluate- Returns:
- TRUE if the object passes the filter, FALSE otherwise
-