Public Member Functions | |
CategoryImpl () | |
CategoryImpl (CategoryDefinition definition) | |
CategoryImpl (Integer categoryId, String name, String description, String path, boolean isLeaf) | |
Integer | getCategoryId () |
String | getName () |
String | getDescription () |
Integer | getParentId () |
void | addChildCategory (Category category) |
void | removeChildCategory (Category category) |
boolean | isLeaf () |
void | addAlarm (Alarm alarm) |
void | removeAlarm (Alarm alarm) |
boolean | containsAlarm (Alarm alarm) |
String | getPath () |
CategoryDefinition | getDefinition () |
void | setDefinition (CategoryDefinition definition) |
void | setCategoryId (Integer newCategoryId) |
void | setName (String newName) |
void | setDescription (String newDescription) |
void | setParentId (Integer newParentId) |
void | setPath (String newPath) |
boolean | equals (Object obj) |
int | hashCode () |
Object | clone () |
String | toString () |
Set | getChildrenIds () |
void | setChildrenIds (Set newChildren) |
Set | getAlarmIds () |
void | setAlarmIds (Set newAlarms) |
Private Attributes | |
Integer | categoryId |
String | name |
String | description |
Integer | parentId |
Set | childrenIds |
Set | alarmIds |
String | path |
boolean | isLeaf |
Katarina Sigerud
|
Empty constructor for Hibernate. |
|
|
|
|
|
Sets up the bi-directional relationship between this category and the given alarm.
|
|
Implements cern::laser::business::data::Category.
|
|
|
|
Implements cern::laser::business::data::Category.
|
|
|
|
.set name="getAlarmIds" table="ALARM_CATEGORY" inverse="false" lazy="true" .collection-key column="CATEGORY_ID" .collection-element column="ALARM_ID" type="string" |
|
.id generator-class="sequence" column="CATEGORY_ID" unsaved-value="null" .generator-param name="sequence" value="SQ_PK_CATEGORY" Implements cern::laser::business::data::Category.
|
|
.set name="getChildrenIds" table="CATEGORY" inverse="true" cascade="all-delete-orphan" lazy="true" .collection-key column="PARENT_ID" .collection-element column="CATEGORY_ID" type="integer" hib |
|
Implements cern::laser::business::data::Category.
|
|
Implements cern::laser::business::data::Category.
|
|
Implements cern::laser::business::data::Category.
|
|
Implements cern::laser::business::data::Category.
|
|
.property name="getPath" column="PATH" not-null="false" unique="false"
Implements cern::laser::business::data::Category.
|
|
|
|
Implements cern::laser::business::data::Category.
|
|
Removes the bi-directional relationship between this category and the given alarm.
Implements cern::laser::business::data::Category.
|
|
Implements cern::laser::business::data::Category.
|
|
|
|
|
|
|
|
Implements cern::laser::business::data::Category.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|