Class Category

    • Constructor Detail

      • Category

        protected Category​(java.lang.String name,
                           java.lang.String description,
                           int order)
    • Method Detail

      • values

        public static java.util.List<Categoryvalues()
        Get all the registered Categories
        Returns:
        a list of categories
      • registerCategory

        public static void registerCategory​(Category category)
        Register a category
        Parameters:
        category - the category
      • name

        public java.lang.String name()
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • order

        public int order()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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