Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.biosoft.access
Interface Filter

All Known Subinterfaces:
  QueryFilter

All Known Implementing Classes:
  EModel.VariableFilter, Filter.IncludeAllFilter, Filter.IncludeNoneFilter, MutableFilter

public interface Filter

Used for filtering data elements.

Nested Class Summary
`static class` | `Filter.IncludeAllFilter` Implementation of filter that accept any data element.
`static class` | `Filter.IncludeNoneFilter` Implementation of filter that accept nothing.

Field Summary
`static Filter` | `INCLUDE_ALL_FILTER` Default filter that accept any data element.
`static Filter` | `INCLUDE_NONE_FILTER` Default filter that accept nothing.

Method Summary
`boolean` | `isAcceptable(DataElement de)` Return is data element accepted by filter.
`boolean` | `isEnabled()` Indicates whether a filter should be used.

Field Detail

### INCLUDE_ALL_FILTER

    public static final Filter INCLUDE_ALL_FILTER

  Default filter that accept any data element.

### INCLUDE_NONE_FILTER

    public static final Filter INCLUDE_NONE_FILTER

  Default filter that accept nothing.

Method Detail

### isEnabled

    public boolean isEnabled()

  Indicates whether a filter should be used.

### isAcceptable

    public boolean isAcceptable(DataElement de)

  Return is data element accepted by filter.

  Parameters:
    `de` - Data element.
  Returns:
    `true` - if filter accept specified data element, `false` otherwise.
  See Also:
    `DataElement`

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.