public static enum Constraint.Type extends Enum<Constraint.Type>
| Enum Constant and Description |
|---|
EQUAL |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
NOT_EQUAL |
RANGE |
UNKNOWN |
| 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 EQUAL
public static final Constraint.Type NOT_EQUAL
public static final Constraint.Type GREATER_THAN
public static final Constraint.Type GREATER_OR_EQUAL
public static final Constraint.Type LESS_THAN
public static final Constraint.Type LESS_OR_EQUAL
public static final Constraint.Type RANGE
public static final Constraint.Type UNKNOWN
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–2021 JBoss by Red Hat. All rights reserved.