public interface Category
extends java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarm(Alarm alarm) |
void |
addChildCategory(Category category) |
boolean |
containsAlarm(Alarm alarm) |
java.lang.Integer |
getCategoryId() |
CategoryDefinition |
getDefinition() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.Integer |
getParentId() |
java.lang.String |
getPath() |
boolean |
isLeaf() |
void |
removeAlarm(Alarm alarm)
Removes the bi-directional relationship between this category and the given alarm.
|
void |
removeChildCategory(Category category) |
void |
setDefinition(CategoryDefinition definition) |
java.lang.Integer getCategoryId()
java.lang.String getName()
java.lang.String getDescription()
java.lang.Integer getParentId()
void addChildCategory(Category category)
category - void removeChildCategory(Category category)
boolean isLeaf()
void addAlarm(Alarm alarm)
void removeAlarm(Alarm alarm)
alarm - the alarm to remove.
At the same time this category is removed from the alarm's collection of categories.boolean containsAlarm(Alarm alarm)
alarmId - java.lang.String getPath()
CategoryDefinition getDefinition()
void setDefinition(CategoryDefinition definition)