public enum Multiplicity extends Enum<Multiplicity>
Enum Constant and Description |
---|
MANY |
ONE |
ZERO_TO_ONE |
Modifier and Type | Method and Description |
---|---|
static Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Multiplicity ZERO_TO_ONE
public static final Multiplicity MANY
public static final Multiplicity ONE
public static Multiplicity[] values()
for (Multiplicity c : Multiplicity.values()) System.out.println(c);
public static Multiplicity 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 SAP SE. All rights reserved.