Class AlarmCategory

java.lang.Object
org.netxms.client.events.AlarmCategory

public class AlarmCategory extends Object
Alarm category template
  • Field Details

  • Constructor Details

    • AlarmCategory

      public AlarmCategory()
      Create new empty alarm category.
    • AlarmCategory

      public AlarmCategory(NXCPMessage msg, long baseId)
      Create alarm category from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base field ID
    • AlarmCategory

      public AlarmCategory(AlarmCategory src)
      Copy constructor for alarm category object.
      Parameters:
      src - Original alarm category object
  • Method Details

    • fillMessage

      public void fillMessage(NXCPMessage msg)
      Fill NXCP message with alarm category data.
      Parameters:
      msg - NXCP message
    • setAll

      public void setAll(AlarmCategory src)
      Set all attributes from another alarm category object.
      Parameters:
      src - Original alarm category object
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getId

      public long getId()
      Returns:
      the id
    • setId

      public void setId(long id)
      Parameters:
      id - to set
    • getAccessControl

      public Integer[] getAccessControl()
      Returns:
      Access List
    • setAccessControl

      public void setAccessControl(Integer[] accessControl)
      Parameters:
      accessControl - the access control to set