public static enum Encoding.Presence extends Enum<Encoding.Presence>
Enum Constant and Description |
---|
CONSTANT
The field presence is a constant.
|
OPTIONAL
The field presence is optional.
|
REQUIRED
The field presence is required.
|
Modifier and Type | Method and Description |
---|---|
static Encoding.Presence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encoding.Presence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoding.Presence REQUIRED
public static final Encoding.Presence OPTIONAL
public static final Encoding.Presence CONSTANT
public static Encoding.Presence[] values()
for (Encoding.Presence c : Encoding.Presence.values()) System.out.println(c);
public static Encoding.Presence 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 © 2013-2020 Real Logic Limited. All Rights Reserved.