cern::laser::client::impl::services::selection::FilterSelectionImpl Class Reference

Inheritance diagram for cern::laser::client::impl::services::selection::FilterSelectionImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::client::impl::services::selection::FilterSelectionImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FilterSelectionImpl ()
boolean add (Filter filter)
boolean addAll (Collection filters)
boolean remove (Filter filter)
boolean contains (Filter filter)
Filter[] list ()
String toSQLString ()
String toString ()

Private Attributes

Set filterSet = null

Constructor & Destructor Documentation

cern::laser::client::impl::services::selection::FilterSelectionImpl::FilterSelectionImpl (  )  [inline]

References filterSet.


Member Function Documentation

boolean cern::laser::client::impl::services::selection::FilterSelectionImpl::add ( Filter  filter  )  [inline]

Add a new filter.

Parameters:
filter the filter to add
Returns:
true if this selection did not already contain the specified filter

Implements cern::laser::client::services::selection::FilterSelection.

References filterSet.

boolean cern::laser::client::impl::services::selection::FilterSelectionImpl::addAll ( Collection  filters  )  [inline]

Adds all of the filters in the specified collection to this selection if they're not already present.

Returns:
true if this selection changed as a result of the call
Parameters:
filters collection whose elements are to be added to this selection

Implements cern::laser::client::services::selection::FilterSelection.

References filterSet.

boolean cern::laser::client::impl::services::selection::FilterSelectionImpl::contains ( Filter  filter  )  [inline]

Check if the filter is already defined.

Parameters:
filter the filter to check
Returns:
true iff the filter is part of the selection

Implements cern::laser::client::services::selection::FilterSelection.

References filterSet.

Filter [] cern::laser::client::impl::services::selection::FilterSelectionImpl::list (  )  [inline]

List the defined filters.

Returns:
an array containing the defined alarm property filters

Implements cern::laser::client::services::selection::FilterSelection.

References filterSet.

boolean cern::laser::client::impl::services::selection::FilterSelectionImpl::remove ( Filter  filter  )  [inline]

Remove a filter.

Parameters:
filter the filter to be removed
Returns:
true if the selection contained the specified filter

Implements cern::laser::client::services::selection::FilterSelection.

References filterSet.

String cern::laser::client::impl::services::selection::FilterSelectionImpl::toSQLString (  )  [inline]
String cern::laser::client::impl::services::selection::FilterSelectionImpl::toString (  )  [inline]

References filterSet.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2