public enum PagingErrorReason extends Enum<PagingErrorReason>
Java class for PagingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PagingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="START_INDEX_CANNOT_BE_NEGATIVE"/>
<enumeration value="NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE
The number of results cannot be a negative number.
|
START_INDEX_CANNOT_BE_NEGATIVE
The start index value cannot be a negative number.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static PagingErrorReason |
fromValue(String v) |
String |
value() |
static PagingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PagingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PagingErrorReason START_INDEX_CANNOT_BE_NEGATIVE
public static final PagingErrorReason NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE
public static final PagingErrorReason UNKNOWN
public static PagingErrorReason[] values()
for (PagingErrorReason c : PagingErrorReason.values()) System.out.println(c);
public static PagingErrorReason 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 value()
public static PagingErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.