|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LazyLoading>
org.ujorm.orm.ao.LazyLoading
public enum LazyLoading
Lazy loading policy.
| Enum Constant Summary | |
|---|---|
ALLOWED_ANYWHERE
Lazy loading is allowed on an open or closed sessions, for the second case Ujorm creates new temporary session. |
|
ALLOWED_ANYWHERE_WITH_STACKTRACE
Lazy loading is allowed on an open or closed sessions, for the second case Ujorm creates new temporary session. |
|
ALLOWED_ANYWHERE_WITH_WARNING
Lazy loading is allowed on an open or closed sessions, for the second case Ujorm creates new temporary session. |
|
ALLOWED_USING_OPEN_SESSION
Lazy loading is allowed using an open open sesson. |
|
DISABLED
Lazy loading is disabled |
|
| Method Summary | |
|---|---|
boolean |
equalsTo(LazyLoading another)
Type safe equalsTo |
static LazyLoading |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LazyLoading[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LazyLoading DISABLED
public static final LazyLoading ALLOWED_USING_OPEN_SESSION
public static final LazyLoading ALLOWED_ANYWHERE_WITH_WARNING
public static final LazyLoading ALLOWED_ANYWHERE_WITH_STACKTRACE
public static final LazyLoading ALLOWED_ANYWHERE
| Method Detail |
|---|
public static LazyLoading[] values()
for (LazyLoading c : LazyLoading.values()) System.out.println(c);
public static LazyLoading valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean equalsTo(LazyLoading another)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||