Class RowStatus.RowStatusFilter<R extends MOTableRow>

  • All Implemented Interfaces:
    MOTableRowFilter<R>
    Enclosing class:
    RowStatus<R extends MOTableRow>

    public static class RowStatus.RowStatusFilter<R extends MOTableRow>
    extends java.lang.Object
    implements MOTableRowFilter<R>
    The RowStatusFilter is a MOTableRowFilter that returns only those rows that have a status that equals one of those provided during creation of the filter.
    Since:
    3.0
    Version:
    3.0
    Author:
    Frank Fock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean passesFilter​(R row)
      Checks whether the supplied row passes the filter criteria implemented by this row filter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RowStatusFilter

        public RowStatusFilter​(int rowStatusColumnIndex,
                               java.util.Set<RowStatus.RowStatusEnum> passingStatusSet)
    • Method Detail

      • passesFilter

        public boolean passesFilter​(R row)
        Description copied from interface: MOTableRowFilter
        Checks whether the supplied row passes the filter criteria implemented by this row filter.
        Specified by:
        passesFilter in interface MOTableRowFilter<R extends MOTableRow>
        Parameters:
        row - a MOTableRow instance.
        Returns:
        true if the row passes the filter or false if not.