cern::laser::guiplatform::category::helpers::CategoryImpl Class Reference

Inheritance diagram for cern::laser::guiplatform::category::helpers::CategoryImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::category::helpers::CategoryImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CategoryImpl (String _name, String _description)
 CategoryImpl (String _name, String _description, int _categoryId, String _categoryPath, boolean _leaf)
Integer getCategoryId ()
String getName ()
String getDescription ()
String getPath ()
boolean isLeaf ()
String toString ()
Object clone () throws CloneNotSupportedException

Private Member Functions

 CategoryImpl (Category category)

Private Attributes

final Integer categoryId
final String name
final String description
final String path
final boolean leaf

Constructor & Destructor Documentation

cern::laser::guiplatform::category::helpers::CategoryImpl::CategoryImpl ( String  _name,
String  _description 
) [inline]

Referenced by clone().

cern::laser::guiplatform::category::helpers::CategoryImpl::CategoryImpl ( String  _name,
String  _description,
int  _categoryId,
String  _categoryPath,
boolean  _leaf 
) [inline]

References categoryId, description, leaf, name, and path.

cern::laser::guiplatform::category::helpers::CategoryImpl::CategoryImpl ( Category  category  )  [inline, private]

Member Function Documentation

Object cern::laser::guiplatform::category::helpers::CategoryImpl::clone (  )  throws CloneNotSupportedException [inline]

Cloning method. The cloned object is a deep copy.

Returns:
a deep copy of the object
Exceptions:
CloneNotSupportedException if clone failed

Implements cern::laser::client::data::Category.

References CategoryImpl().

Integer cern::laser::guiplatform::category::helpers::CategoryImpl::getCategoryId (  )  [inline]

Accessor method.

Returns:
the category unique identifier

Implements cern::laser::client::data::Category.

References categoryId.

Referenced by toString().

String cern::laser::guiplatform::category::helpers::CategoryImpl::getDescription (  )  [inline]

Accessor method.

Returns:
the category description

Implements cern::laser::client::data::Category.

References description.

Referenced by toString().

String cern::laser::guiplatform::category::helpers::CategoryImpl::getName (  )  [inline]

Accessor method.

Returns:
the category name

Implements cern::laser::client::data::Category.

References name.

Referenced by toString().

String cern::laser::guiplatform::category::helpers::CategoryImpl::getPath (  )  [inline]

Accessor method.

Returns:
the category path from the category root (name.name.name...name)

Implements cern::laser::client::data::Category.

References path.

Referenced by toString().

boolean cern::laser::guiplatform::category::helpers::CategoryImpl::isLeaf (  )  [inline]

Accessor method.

Returns:
true iff the category is a leaf in the category tree

Implements cern::laser::client::data::Category.

References leaf.

Referenced by toString().

String cern::laser::guiplatform::category::helpers::CategoryImpl::toString (  )  [inline]

Member Data Documentation

Referenced by CategoryImpl(), and getCategoryId().

Referenced by CategoryImpl(), and getDescription().

Referenced by CategoryImpl(), and isLeaf().

Referenced by CategoryImpl(), and getName().

Referenced by CategoryImpl(), and getPath().


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

Generated by  doxygen 1.6.2