public enum PersistenceContextSynchronizationType extends Enum<PersistenceContextSynchronizationType>
persistence-context-synchronizationType
xsd typeEnum Constant and Description |
---|
_SYNCHRONIZED |
_UNSYNCHRONIZED |
Modifier and Type | Method and Description |
---|---|
static PersistenceContextSynchronizationType |
getFromStringValue(String value) |
String |
toString() |
static PersistenceContextSynchronizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceContextSynchronizationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceContextSynchronizationType _SYNCHRONIZED
public static final PersistenceContextSynchronizationType _UNSYNCHRONIZED
public static PersistenceContextSynchronizationType[] values()
for (PersistenceContextSynchronizationType c : PersistenceContextSynchronizationType.values()) System.out.println(c);
public static PersistenceContextSynchronizationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<PersistenceContextSynchronizationType>
public static PersistenceContextSynchronizationType getFromStringValue(String value)
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)