ProviderUtil SPI methods.">

javax.persistence.spi.LoadState - JPA enum

javax.persistence.spi
Enum LoadState

java.lang.Object
    java.lang.Enum<javax.persistence.spi.LoadState>
        javax.persistence.spi.LoadState
Implemented Interfaces:
Serializable, Comparable<LoadState>
Load states returned by the ProviderUtil SPI methods.
Since:
JPA 2.0
The state of the element is known to have been loaded.
The state of the element is known to have been loaded.
Since:
JPA 2.0
The state of the element is known not to have been loaded.
The state of the element is known not to have been loaded.
Since:
JPA 2.0
The load state of the element cannot be determined.
The load state of the element cannot be determined.
Since:
JPA 2.0
LoadState valueOf(String name)

Returns the enum constant of this type with the specified 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.

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Returns an array containing the constants of this enum type.

Returns an array containing the constants of this enum type.

This method may be used to iterate over the constants as follows:

for (LoadState c : LoadState.values())
    System.out.println(c)
Returns:
an array containing the constants of this enum type, in the order they are declared