public enum Constraints extends java.lang.Enum<Constraints>
| Enum Constant and Description |
|---|
COMPOSITE |
FINAL |
NUMERICAL_LOWER_BOUND |
NUMERICAL_UPPER_BOUND |
STRING_MATCHING |
STRING_MAXIMUM_LENGTH |
STRING_MINIMUM_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
getIdentifier() |
boolean |
isNumerical() |
static Constraints |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constraints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constraints NUMERICAL_LOWER_BOUND
public static final Constraints NUMERICAL_UPPER_BOUND
public static final Constraints STRING_MINIMUM_LENGTH
public static final Constraints STRING_MAXIMUM_LENGTH
public static final Constraints STRING_MATCHING
public static final Constraints FINAL
public static final Constraints COMPOSITE
public static Constraints[] values()
for (Constraints c : Constraints.values()) System.out.println(c);
public static Constraints valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isNumerical()
public Identifier getIdentifier()