public enum PartOccurrenceMode extends Enum<PartOccurrenceMode>
| Enum Constant and Description |
|---|
EXCLUSIVE
The part has to occur once without any other parts occurring, or not at all.
|
FIX
The part has to occur exactly once.
|
OPTIONAL
The part has to occur once or not at all.
|
| Modifier and Type | Method and Description |
|---|---|
static PartOccurrenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartOccurrenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartOccurrenceMode FIX
public static final PartOccurrenceMode OPTIONAL
public static final PartOccurrenceMode EXCLUSIVE
public static PartOccurrenceMode[] values()
for (PartOccurrenceMode c : PartOccurrenceMode.values()) System.out.println(c);
public static PartOccurrenceMode 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 nullCopyright © 2020. All rights reserved.