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

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

List of all members.

Public Member Functions

 CategorySelectionImpl ()
boolean add (Category category)
boolean addAll (Collection categories)
boolean remove (Category category)
boolean contains (Category category)
Category[] list ()
String toString ()

Private Attributes

Set categorySet = null

Constructor & Destructor Documentation

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

References categorySet.


Member Function Documentation

boolean cern::laser::client::impl::services::selection::CategorySelectionImpl::add ( Category  category  )  [inline]
boolean cern::laser::client::impl::services::selection::CategorySelectionImpl::addAll ( Collection  categories  )  [inline]

Adds all of the categories 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:
categories collection whose elements are to be added to this selection

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

References categorySet.

boolean cern::laser::client::impl::services::selection::CategorySelectionImpl::contains ( Category  category  )  [inline]

Check if the category is part of the selection.

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

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

References categorySet.

Category [] cern::laser::client::impl::services::selection::CategorySelectionImpl::list (  )  [inline]

List the selected categories.

Returns:
an array containing the selected categories

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

References categorySet.

boolean cern::laser::client::impl::services::selection::CategorySelectionImpl::remove ( Category  category  )  [inline]

Remove a category from the selection.

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

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

References categorySet.

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

References categorySet.


Member Data Documentation


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

Generated by  doxygen 1.6.2