public enum EntityGraphType extends Enum<EntityGraphType>
Enum Constant and Description |
---|
FETCH
Fetch graph.
|
LOAD
Load graph.
|
Modifier and Type | Method and Description |
---|---|
String |
getHintName()
Gets the query hint name corresponding to this type.
|
static EntityGraphType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityGraphType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityGraphType FETCH
public static final EntityGraphType LOAD
public static EntityGraphType[] values()
for (EntityGraphType c : EntityGraphType.values()) System.out.println(c);
public static EntityGraphType 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 getHintName()
Copyright © 2018 The Apache Software Foundation. All rights reserved.