Enum Category

    • Enum Constant Detail

      • DOING_CHORES

        public static final Category DOING_CHORES
        Doing chores.
      • DRINKING

        public static final Category DRINKING
        Drinking.
      • EATING

        public static final Category EATING
        Eating.
      • EXERCISING

        public static final Category EXERCISING
        Exercising.
      • GROOMING

        public static final Category GROOMING
        Grooming.
      • HAVING_APPOINTMENT

        public static final Category HAVING_APPOINTMENT
        Having appointment.
      • INACTIVE

        public static final Category INACTIVE
        Inactive.
      • RELAXING

        public static final Category RELAXING
        Relaxing.
      • TALKING

        public static final Category TALKING
        Talking.
      • TRAVELING

        public static final Category TRAVELING
        Traveling.
      • UNDEFINED

        public static final Category UNDEFINED
        Undefined.
      • WORKING

        public static final Category WORKING
        Working.
    • Method Detail

      • values

        public static Category[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Category c : Category.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Category valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null