Enum Class Accessibility

java.lang.Object
java.lang.Enum<Accessibility>
de.gustavblass.fsu.fmi.roombooking.model.room.Accessibility
All Implemented Interfaces:
Serializable, Comparable<Accessibility>, Constable

public enum Accessibility extends Enum<Accessibility>
Levels of accessibility to Rooms in terms of mobility.
  • Enum Constant Details

    • FULL

      public static final Accessibility FULL
      There is no known barrier hindering people with impaired mobility from accessing the Room.
    • PARTIAL

      public static final Accessibility PARTIAL
      There are known barriers hindering people with severely impaired mobility from accessing the Room. Some people with only minor mobility impairment may still be able to access the Room.
    • NONE

      public static final Accessibility NONE
      No one with any kind of mobility impairment is probably able to access the Room.
  • Field Details

    • value

      public final String value
  • Constructor Details

    • Accessibility

      private Accessibility(String value)
  • Method Details

    • values

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