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 Details

  • Constructor Details

    • RawDataTypeFilter

      public RawDataTypeFilter​(RawDataType rdt)
  • Method Details

    • evaluate

      public boolean evaluate​(Annotatable item)
      Description copied from interface: Filter
      Evaluate if the given object should pass the filter or not.
      Specified by:
      evaluate in interface Filter<Annotatable>
      Parameters:
      item - The object to evaluate
      Returns:
      TRUE if the object passes the filter, FALSE otherwise