public static enum Encoding.Presence extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014-2017 Real Logic Ltd. All Rights Reserved.