Public Member Functions

cern.laser.business.data.Category Interface Reference

Inheritance diagram for cern.laser.business.data.Category:
cern.laser.business.data.CategoryImpl

List of all members.

Public Member Functions

Integer getCategoryId ()
String getName ()
String getDescription ()
Integer getParentId ()
void addChildCategory (Category category)
void removeChildCategory (Category category)
boolean isLeaf ()
void removeAlarm (Alarm alarm)
boolean containsAlarm (Alarm alarm)
String getPath ()
CategoryDefinition getDefinition ()
void setDefinition (CategoryDefinition definition)

Detailed Description

Version:
Revision:
1.2
Date:
2006/09/25 08:52:36
Author:
Katarina Sigerud

Member Function Documentation

void cern.laser.business.data.Category.addChildCategory ( Category  category  ) 
boolean cern.laser.business.data.Category.containsAlarm ( Alarm  alarm  ) 
CategoryDefinition cern.laser.business.data.Category.getDefinition (  ) 
Returns:

Implemented in cern.laser.business.data.CategoryImpl.

String cern.laser.business.data.Category.getDescription (  ) 
String cern.laser.business.data.Category.getName (  ) 
Returns:
the name

Implemented in cern.laser.business.data.CategoryImpl.

boolean cern.laser.business.data.Category.isLeaf (  ) 
void cern.laser.business.data.Category.removeAlarm ( Alarm  alarm  ) 

public void addAlarm(Alarm alarm);

/** Removes the bi-directional relationship between this category and the given alarm.

Parameters:
alarm the alarm to remove. At the same time this category is removed from the alarm's collection of categories.

Implemented in cern.laser.business.data.CategoryImpl.

Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategoryLink(), and cern.laser.business.pojo.AlarmDefinitionServiceImpl.updateAlarm().

void cern.laser.business.data.Category.setDefinition ( CategoryDefinition  definition  ) 

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties