public enum DetachStateType extends java.lang.Enum<DetachStateType>
OpenJPAEntityManager
.Enum Constant and Description |
---|
ALL |
FETCH_GROUPS |
LOADED |
Modifier and Type | Method and Description |
---|---|
(package private) static DetachStateType |
fromKernelConstant(int kernelConstant) |
(package private) int |
toKernelConstant() |
static DetachStateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DetachStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetachStateType FETCH_GROUPS
public static final DetachStateType LOADED
public static final DetachStateType ALL
public static DetachStateType[] values()
for (DetachStateType c : DetachStateType.values()) System.out.println(c);
public static DetachStateType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullint toKernelConstant()
static DetachStateType fromKernelConstant(int kernelConstant)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.