Class Category


  • public class Category
    extends Object
    An object describing identified category.
    • Constructor Detail

      • Category

        public Category()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public Category withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the Category object itself.
      • score

        public double score()
        Get the score value.
        Returns:
        the score value
      • withScore

        public Category withScore​(double score)
        Set the score value.
        Parameters:
        score - the score value to set
        Returns:
        the Category object itself.
      • detail

        public CategoryDetail detail()
        Get the detail value.
        Returns:
        the detail value
      • withDetail

        public Category withDetail​(CategoryDetail detail)
        Set the detail value.
        Parameters:
        detail - the detail value to set
        Returns:
        the Category object itself.