public static enum Constraint.Type extends Enum<Constraint.Type>
Modifier and Type | Method and Description |
---|---|
static Constraint.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constraint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constraint.Type SINGLE
public static final Constraint.Type OR
public static final Constraint.Type AND
public static Constraint.Type[] values()
for (Constraint.Type c : Constraint.Type.values()) System.out.println(c);
public static Constraint.Type 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 © 2001–2018 JBoss by Red Hat. All rights reserved.