public enum PaginationType extends Enum<PaginationType>
| Enum Constant and Description |
|---|
HYPERMEDIA |
MARKER |
OFFSET |
PAGE_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PaginationType |
forName(String name) |
String |
getName() |
static PaginationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaginationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaginationType OFFSET
public static final PaginationType PAGE_NUMBER
public static final PaginationType MARKER
public static final PaginationType HYPERMEDIA
public static PaginationType[] values()
for (PaginationType c : PaginationType.values()) System.out.println(c);
public static PaginationType 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 getName()
public static PaginationType forName(String name)
Copyright © 2024. All rights reserved.