Class Category

  • All Implemented Interfaces:
    java.io.Serializable

    public class Category
    extends java.lang.Object
    implements java.io.Serializable
    This element is used to specify OpenNMS specific categories. Note: currently, these categories are defined in a separate configuration file and are related directly to monitored services. I have separated out this element so that it can be referenced by other entities (nodes, interfaces, etc.) however, they will be ignored until the domain model is changed and the service layer is adapted for this behavior.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Category()  
      Category​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()  
      int hashCode()  
      void setName​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Category

        public Category()
      • Category

        public Category​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object