Enum Class EstadoOcupacionLocalidad

java.lang.Object
java.lang.Enum<EstadoOcupacionLocalidad>
es.mdef.gaip_libreria.constantes.EstadoOcupacionLocalidad
All Implemented Interfaces:
EstadoDeUnaLocalidad, Serializable, Comparable<EstadoOcupacionLocalidad>, Constable

public enum EstadoOcupacionLocalidad extends Enum<EstadoOcupacionLocalidad> implements EstadoDeUnaLocalidad
Enumeración que representa los estados de ocupación de una localidad.
  • Enum Constant Details

    • LIBRE

      public static final EstadoOcupacionLocalidad LIBRE
      Indica que la localidad está libre y disponible para ser ocupada.
    • OCUPADA

      public static final EstadoOcupacionLocalidad OCUPADA
      Indica que la localidad está actualmente ocupada.
  • Method Details

    • values

      public static EstadoOcupacionLocalidad[] 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 EstadoOcupacionLocalidad 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