public static enum Requirement.Cardinality extends Enum<Requirement.Cardinality>
Enum Constant and Description |
---|
MULTIPLE
Indicates if the requirement can be wired multiple times.
|
SINGLE
Indicates if the requirement can only be wired a single time.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Requirement.Cardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requirement.Cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Requirement.Cardinality SINGLE
public static final Requirement.Cardinality MULTIPLE
public static Requirement.Cardinality[] values()
for (Requirement.Cardinality c : Requirement.Cardinality.values()) System.out.println(c);
public static Requirement.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 nullpublic String toString()
toString
in class Enum<Requirement.Cardinality>
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0