public static enum Fetch.Style extends Enum<Fetch.Style>
Enum Constant and Description |
---|
JOIN
Fetch via a join
|
SELECT
Fetch via a subsequent select
|
Modifier and Type | Method and Description |
---|---|
static Fetch.Style |
parse(String name)
Parses a style given an externalized string representation
|
String |
toString() |
static Fetch.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fetch.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fetch.Style JOIN
public static final Fetch.Style SELECT
public static Fetch.Style[] values()
for (Fetch.Style c : Fetch.Style.values()) System.out.println(c);
public static Fetch.Style 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 toString()
toString
in class Enum<Fetch.Style>
public static Fetch.Style parse(String name)
name
- The externalized representationJOIN
is returned if not recognizedCopyright © 2021 JBoss by Red Hat. All rights reserved.