public enum StringLengthFeature extends Enum<StringLengthFeature> implements GenericSchemaFeature
| Enum Constant and Description |
|---|
MAX_LENGTH
maxLength |
MIN_LENGTH
minLength |
| Modifier and Type | Method and Description |
|---|---|
static StringLengthFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringLengthFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetFeatureResultpublic static final StringLengthFeature MIN_LENGTH
minLengthpublic static final StringLengthFeature MAX_LENGTH
maxLengthpublic static StringLengthFeature[] values()
for (StringLengthFeature c : StringLengthFeature.values()) System.out.println(c);
public static StringLengthFeature 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 © 2019–2022. All rights reserved.