public enum Pagination extends Enum<Pagination>
| Enum Constant and Description |
|---|
DEFAULT_LIMIT |
DEFAULT_OFFSET |
MAX_LIMIT |
MIN_LIMIT |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static Pagination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pagination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pagination DEFAULT_LIMIT
public static final Pagination DEFAULT_OFFSET
public static final Pagination MAX_LIMIT
public static final Pagination MIN_LIMIT
public static Pagination[] values()
for (Pagination c : Pagination.values()) System.out.println(c);
public static Pagination 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 int getValue()
Copyright © 2012–2014. All rights reserved.