Class OnmsCategory

    • Constructor Detail

      • OnmsCategory

        public OnmsCategory​(String name,
                            String descr)

        Constructor for OnmsCategory.

        Parameters:
        name - a String object.
        descr - a String object.
      • OnmsCategory

        public OnmsCategory()
        default constructor
      • OnmsCategory

        public OnmsCategory​(String name)

        Constructor for OnmsCategory.

        Parameters:
        name - a String object.
    • Method Detail

      • setId

        public void setId​(Integer id)

        setId

        Parameters:
        id - a Integer object.
      • getName

        public String getName()

        getName

        Returns:
        a String object.
      • setName

        public void setName​(String name)

        setName

        Parameters:
        name - a String object.
      • getDescription

        public String getDescription()

        getDescription

        Returns:
        a String object.
      • setDescription

        public void setDescription​(String description)

        setDescription

        Parameters:
        description - a String object.
      • getAuthorizedGroups

        public Set<String> getAuthorizedGroups()

        getAuthorizedGroups

        Returns:
        a Set object.
      • setAuthorizedGroups

        public void setAuthorizedGroups​(Set<String> authorizedGroups)

        setAuthorizedGroups

        Parameters:
        authorizedGroups - a Set object.
      • hashCode

        public int hashCode()

        hashCode

        Overrides:
        hashCode in class Object
        Returns:
        a int.