public enum ConstraintType extends Enum<ConstraintType>
Enum Constant and Description |
---|
ENUMERATION |
EXPRESSION |
NONE |
RANGE |
Modifier and Type | Field and Description |
---|---|
static String |
CONSTRAINT_KEY |
Modifier and Type | Method and Description |
---|---|
static ConstraintType |
fromString(String value) |
String |
value() |
static ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintType ENUMERATION
public static final ConstraintType EXPRESSION
public static final ConstraintType RANGE
public static final ConstraintType NONE
public static final String CONSTRAINT_KEY
public static ConstraintType[] values()
for (ConstraintType c : ConstraintType.values()) System.out.println(c);
public static ConstraintType 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 static ConstraintType fromString(String value)
public String value()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.