public enum ConstraintType extends Enum<ConstraintType>
Enum Constant and Description |
---|
allowed_pattern |
allowed_values |
custom_constraint |
length |
range |
Modifier and Type | Method and Description |
---|---|
String |
getConstraintTypeName() |
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 allowed_pattern
public static final ConstraintType allowed_values
public static final ConstraintType length
public static final ConstraintType range
public static final ConstraintType custom_constraint
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 String getConstraintTypeName()
Copyright © 2016–2017. All rights reserved.