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