public enum SeatingStrategy extends Enum<SeatingStrategy>
Java class for seatingStrategy.
The following schema fragment specifies the expected content contained within this class.
Enum Constant and Description |
---|
AA_MANDATORY_PREFERENCES |
AA_OPTIONAL_PREFERENCES |
MANUAL_SEATING |
NO_AUTO_ALLOC |
Modifier and Type | Method and Description |
---|---|
static SeatingStrategy |
fromValue(String v) |
String |
value() |
static SeatingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeatingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeatingStrategy MANUAL_SEATING
public static final SeatingStrategy AA_MANDATORY_PREFERENCES
public static final SeatingStrategy AA_OPTIONAL_PREFERENCES
public static final SeatingStrategy NO_AUTO_ALLOC
public static SeatingStrategy[] values()
for (SeatingStrategy c : SeatingStrategy.values()) System.out.println(c);
public static SeatingStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static SeatingStrategy fromValue(String v)
Copyright © 2021. All rights reserved.