Class AlarmCategory


  • public class AlarmCategory
    extends Object
    Alarm category template
    • Constructor Detail

      • AlarmCategory

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

        public AlarmCategory​(org.netxms.base.NXCPMessage msg,
                             long baseId)
        Create alarm category from NXCP message
        Parameters:
        msg - NXCP message
      • AlarmCategory

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

      • fillMessage

        public void fillMessage​(org.netxms.base.NXCPMessage msg)
        Fill NXCP message with alarm category data
      • 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 Long[] getAccessControl()
        Returns:
        Access List
      • setAccessControl

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