protected static enum AbstractMessage.Cardinality extends Enum<AbstractMessage.Cardinality>
Enum Constant and Description |
---|
OPTIONAL |
OPTIONAL_REPEATING |
REQUIRED |
REQUIRED_REPEATING |
Modifier and Type | Method and Description |
---|---|
static AbstractMessage.Cardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMessage.Cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMessage.Cardinality REQUIRED
public static final AbstractMessage.Cardinality OPTIONAL
public static final AbstractMessage.Cardinality REQUIRED_REPEATING
public static final AbstractMessage.Cardinality OPTIONAL_REPEATING
public static AbstractMessage.Cardinality[] values()
for (AbstractMessage.Cardinality c : AbstractMessage.Cardinality.values()) System.out.println(c);
public static AbstractMessage.Cardinality 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 © 2018 Open eHealth Foundation. All rights reserved.