public enum GraphSemantic extends Enum<GraphSemantic>
Enum Constant and Description |
---|
FETCH
Indicates a "fetch graph" EntityGraph.
|
LOAD
Indicates a "load graph" EntityGraph.
|
Modifier and Type | Method and Description |
---|---|
static GraphSemantic |
fromJpaHintName(String hintName) |
String |
getJpaHintName() |
static GraphSemantic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphSemantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphSemantic FETCH
public static final GraphSemantic LOAD
public static GraphSemantic[] values()
for (GraphSemantic c : GraphSemantic.values()) System.out.println(c);
public static GraphSemantic 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 getJpaHintName()
public static GraphSemantic fromJpaHintName(String hintName)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.