public enum ConstraintType extends java.lang.Enum<ConstraintType>
| Enum Constant and Description |
|---|
COMPONENTS_MATCH |
COMPOSITE |
FINAL |
MAXIMUM_LENGTH |
MINIMUM_LENGTH |
NUMERICAL_LOWER_BOUND |
NUMERICAL_UPPER_BOUND |
STRING_MATCHING |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
getIdentifier() |
boolean |
isNumerical() |
static ConstraintType |
valueOf(java.lang.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 NUMERICAL_LOWER_BOUND
public static final ConstraintType NUMERICAL_UPPER_BOUND
public static final ConstraintType MINIMUM_LENGTH
public static final ConstraintType MAXIMUM_LENGTH
public static final ConstraintType STRING_MATCHING
public static final ConstraintType FINAL
public static final ConstraintType COMPONENTS_MATCH
public static final ConstraintType COMPOSITE
public static ConstraintType[] values()
for (ConstraintType c : ConstraintType.values()) System.out.println(c);
public static ConstraintType 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()