Class Category

java.lang.Object
org.imixs.workflow.engine.index.Category

public class Category extends Object
Stores the result of a Facets search.

It includes a map with all labels within a specific category.

Version:
1.0
  • Constructor Details

    • Category

      public Category(String name, int count)
      Creates a Category
      Parameters:
      name - Name of category
      count - count
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getCount

      public int getCount()
    • setCount

      public void setCount(int count)
    • getLabels

      public Map<String,Integer> getLabels()
    • setLabel

      public void setLabel(String label, int count)
    • getCount

      public int getCount(String label)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object