cern::laser::client::impl::data::CategoryImpl Class Reference

Inheritance diagram for cern::laser::client::impl::data::CategoryImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::client::impl::data::CategoryImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CategoryImpl (cern.laser.business.data.Category category)
Integer getCategoryId ()
String getName ()
String getDescription ()
String getPath ()
boolean isLeaf ()
void setCategoryId (Integer newCategoryId)
void setDescription (String newDescription)
void setLeaf (boolean newLeaf)
void setName (String newName)
void setPath (String newPath)
boolean equals (Object obj)
int hashCode ()
String toString ()
Object clone () throws CloneNotSupportedException

Private Attributes

Integer categoryId
String name
String description
String path
boolean leaf

Constructor & Destructor Documentation

cern::laser::client::impl::data::CategoryImpl::CategoryImpl ( cern.laser.business.data.Category  category  )  [inline]

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


Member Function Documentation

Object cern::laser::client::impl::data::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.

boolean cern::laser::client::impl::data::CategoryImpl::equals ( Object  obj  )  [inline]
Integer cern::laser::client::impl::data::CategoryImpl::getCategoryId (  )  [inline]

Accessor method.

Returns:
the category unique identifier

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

References categoryId.

Referenced by equals(), hashCode(), and toString().

String cern::laser::client::impl::data::CategoryImpl::getDescription (  )  [inline]

Accessor method.

Returns:
the category description

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

References description.

Referenced by toString().

String cern::laser::client::impl::data::CategoryImpl::getName (  )  [inline]

Accessor method.

Returns:
the category name

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

References name.

Referenced by toString().

String cern::laser::client::impl::data::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().

int cern::laser::client::impl::data::CategoryImpl::hashCode (  )  [inline]

References getCategoryId().

boolean cern::laser::client::impl::data::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().

void cern::laser::client::impl::data::CategoryImpl::setCategoryId ( Integer  newCategoryId  )  [inline]

References categoryId.

void cern::laser::client::impl::data::CategoryImpl::setDescription ( String  newDescription  )  [inline]

References description.

void cern::laser::client::impl::data::CategoryImpl::setLeaf ( boolean  newLeaf  )  [inline]

References leaf.

void cern::laser::client::impl::data::CategoryImpl::setName ( String  newName  )  [inline]

References name.

void cern::laser::client::impl::data::CategoryImpl::setPath ( String  newPath  )  [inline]

References path.

String cern::laser::client::impl::data::CategoryImpl::toString (  )  [inline]

Member Data Documentation

Referenced by CategoryImpl(), isLeaf(), and setLeaf().

Referenced by CategoryImpl(), getName(), and setName().

Referenced by CategoryImpl(), getPath(), and setPath().


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

Generated by  doxygen 1.6.2