Enum Class Departamento

java.lang.Object
java.lang.Enum<Departamento>
pinkGuards.Departamento
All Implemented Interfaces:
Serializable, Comparable<Departamento>, Constable

public enum Departamento extends Enum<Departamento>
Enumerado que representa los departamentos asignados a los Workers de los Pink Guards.

Cada constante define un departamento específico.

Version:
1.0
Author:
Mikael
See Also:
  • Enum Constant Details

    • LIMPIEZA_ELIMINADOS

      public static final Departamento LIMPIEZA_ELIMINADOS
      Departamento de limpieza de eliminados.
    • PREPARACION_JUEGOS

      public static final Departamento PREPARACION_JUEGOS
      Departamento de preparación de juegos.
    • LIMPIEZA_Y_MANTENIMIENTO

      public static final Departamento LIMPIEZA_Y_MANTENIMIENTO
      Departamento de limpieza y mantenimiento.
    • DISTRIBUCION_ALIMENTOS

      public static final Departamento DISTRIBUCION_ALIMENTOS
      Departamento de distribución de alimentos.
  • Method Details

    • values

      public static Departamento[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Departamento valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null