Enum Class EquipmentCountCategory
java.lang.Object
java.lang.Enum<EquipmentCountCategory>
de.gustavblass.fsu.fmi.roombooking.model.room.equipment.EquipmentCountCategory
- All Implemented Interfaces:
Serializable, Comparable<EquipmentCountCategory>, Constable
The quantity of a specific piece of RoomEquipment relative to the respective Room's capacity.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll workstations are equipped, i.e.The equipment's quantity is unrelated to the number of workstations.Only one workstation is equipped, i.e.More than one workstation is equipped, but not all. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EquipmentCountCategoryReturns the enum constant of this class with the specified name.static EquipmentCountCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_WORKSTATIONS
All workstations are equipped, i.e. every occupant will have one piece of that equipment. -
SOME_WORKSTATIONS
More than one workstation is equipped, but not all. Not every occupant will have one piece of that equipment. -
ONE
Only one workstation is equipped, i.e. only one occupant will have that piece of that equipment. -
INDEPENDENT_FROM_WORKSTATIONS
The equipment's quantity is unrelated to the number of workstations.
-
-
Field Details
-
name
-
-
Constructor Details
-
EquipmentCountCategory
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-