Package io.ebeaninternal.api
Enum SpiQuery.Mode
- java.lang.Object
-
- java.lang.Enum<SpiQuery.Mode>
-
- io.ebeaninternal.api.SpiQuery.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<SpiQuery.Mode>
public static enum SpiQuery.Mode extends Enum<SpiQuery.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAZYLOAD_BEAN
LAZYLOAD_MANY
NORMAL
REFRESH_BEAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoadContextBean()
static SpiQuery.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpiQuery.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final SpiQuery.Mode NORMAL
-
LAZYLOAD_MANY
public static final SpiQuery.Mode LAZYLOAD_MANY
-
LAZYLOAD_BEAN
public static final SpiQuery.Mode LAZYLOAD_BEAN
-
REFRESH_BEAN
public static final SpiQuery.Mode REFRESH_BEAN
-
-
Method Detail
-
values
public static SpiQuery.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpiQuery.Mode c : SpiQuery.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpiQuery.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isLoadContextBean
public boolean isLoadContextBean()
-
-