Package org.netxms.client.events
Class AlarmCategory
java.lang.Object
org.netxms.client.events.AlarmCategory
Alarm category template
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final int
- 
Constructor SummaryConstructorsConstructorDescriptionCreate new empty alarm category.AlarmCategory(NXCPMessage msg, long baseId) Create alarm category from NXCP messageCopy constructor for alarm category object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillMessage(NXCPMessage msg) Fill NXCP message with alarm category data.Integer[]longgetId()getName()voidsetAccessControl(Integer[] accessControl) voidsetAll(AlarmCategory src) Set all attributes from another alarm category object.voidsetDescription(String description) voidsetId(long id) void
- 
Field Details- 
MODIFY_ALARM_CATEGORYpublic static final int MODIFY_ALARM_CATEGORY- See Also:
 
- 
MODIFY_ACCESS_CONTROLpublic static final int MODIFY_ACCESS_CONTROL- See Also:
 
 
- 
- 
Constructor Details- 
AlarmCategorypublic AlarmCategory()Create new empty alarm category.
- 
AlarmCategoryCreate alarm category from NXCP message- Parameters:
- msg- NXCP message
- baseId- base field ID
 
- 
AlarmCategoryCopy constructor for alarm category object.- Parameters:
- src- Original alarm category object
 
 
- 
- 
Method Details- 
fillMessageFill NXCP message with alarm category data.- Parameters:
- msg- NXCP message
 
- 
setAllSet all attributes from another alarm category object.- Parameters:
- src- Original alarm category object
 
- 
getName- Returns:
- the name
 
- 
setName- Parameters:
- name- the name to set
 
- 
getDescription- Returns:
- the description
 
- 
setDescription- Parameters:
- description- the description to set
 
- 
getIdpublic long getId()- Returns:
- the id
 
- 
setIdpublic void setId(long id) - Parameters:
- id- to set
 
- 
getAccessControl- Returns:
- Access List
 
- 
setAccessControl- Parameters:
- accessControl- the access control to set
 
 
-