Enum Class MergeOptions.AsymmetricMergeMode
java.lang.Object
java.lang.Enum<MergeOptions.AsymmetricMergeMode>
de.gustavblass.fsu.fmi.roombooking.model.room.schedule.MergeOptions.AsymmetricMergeMode
- All Implemented Interfaces:
Serializable, Comparable<MergeOptions.AsymmetricMergeMode>, Constable
- Enclosing class:
MergeOptions
Specifies which RoomScheduleItems are allowed to be merged.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll RoomScheduleItems are allowed to be merged, even if theRoomScheduleItem.statusis not the same for the two items.Absolutely no RoomScheduleItems shall be merged.Only pairs of RoomScheduleItems where for both theRoomScheduleItem.statusisRoomStatus.PARTIALLY_OCCUPIEDshall be merged. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MergeOptions.AsymmetricMergeMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
All RoomScheduleItems are allowed to be merged, even if theRoomScheduleItem.statusis not the same for the two items. -
PARTIAL_OCCUPANCIES
Only pairs of RoomScheduleItems where for both theRoomScheduleItem.statusisRoomStatus.PARTIALLY_OCCUPIEDshall be merged. No other pairings are allowed to be merged. -
NONE
Absolutely no RoomScheduleItems shall be merged.
-
-
Field Details
-
value
-
-
Constructor Details
-
AsymmetricMergeMode
-
-
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
-