public enum ArrayLengthFeature extends Enum<ArrayLengthFeature> implements GenericSchemaFeature
| Enum Constant and Description |
|---|
MAX_ITEMS
maxItems |
MIN_ITEMS
minItems |
| Modifier and Type | Method and Description |
|---|---|
static ArrayLengthFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayLengthFeature[] |
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 ArrayLengthFeature MIN_ITEMS
minItemspublic static final ArrayLengthFeature MAX_ITEMS
maxItemspublic static ArrayLengthFeature[] values()
for (ArrayLengthFeature c : ArrayLengthFeature.values()) System.out.println(c);
public static ArrayLengthFeature 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.