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