|
EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LoadState>
javax.persistence.spi.LoadState
public enum LoadState
The LoadState is returned from the PersistenceProvider's isLoaded methods to indicate the load status of the given entity, attribute, or relationship with respect to the provider being used.
PersistenceProvider.isLoaded(Object),
PersistenceProvider.isLoadedWithoutReference(Object, String),
PersistenceProvider.isLoadedWithReference(Object, String)| Enum Constant Summary | |
|---|---|
LOADED
The state of the element is known to have been loaded |
|
NOT_LOADED
The state of the element is known not to have been loaded |
|
UNKNOWN
The load state of the element cannot be determined |
|
| Method Summary | |
|---|---|
static LoadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LoadState[] |
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 LoadState LOADED
public static final LoadState NOT_LOADED
public static final LoadState UNKNOWN
| Method Detail |
|---|
public static LoadState[] values()
for (LoadState c : LoadState.values()) System.out.println(c);
public static LoadState 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 name
java.lang.NullPointerException - if the argument is null
|
EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||