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