HEADER

ru.biosoft.access
Interface Filter

All Known Subinterfaces:
DiagramFilter
All Known Implementing Classes:
DiagramFilter, Filter.IncludeAllFilter, Filter.IncludeNoneFilter, MutableFilter

public interface Filter

Used for filtering data elements.


Field Summary
 final static FilterINCLUDE_ALL_FILTER
          Default filter that accept any data element.
 final static FilterINCLUDE_NONE_FILTER
          Default filter that accept nothing.

Method Summary
 booleanisAcceptable(DataElement de)
          Return is data element accepted by filter.
 booleanisEnabled()
          Indicates whether a filter should be used.

Field Detail

INCLUDE_ALL_FILTER

public final static Filter INCLUDE_ALL_FILTER
Default filter that accept any data element.

INCLUDE_NONE_FILTER

public final static Filter INCLUDE_NONE_FILTER
Default filter that accept nothing.
Method Detail

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

isEnabled

public boolean isEnabled()
Indicates whether a filter should be used.

Association Links

to Class ru.biosoft.access.Filter

Default filter that accept any data element.

to Class ru.biosoft.access.Filter

Default filter that accept nothing.

FOOTER

BOTTOM