public enum PersistenceContextSynchronizationType extends java.lang.Enum<PersistenceContextSynchronizationType>
persistence-context-synchronizationType
xsd typeEnum Constant and Description |
---|
_SYNCHRONIZED |
_UNSYNCHRONIZED |
Modifier and Type | Method and Description |
---|---|
static PersistenceContextSynchronizationType |
getFromStringValue(java.lang.String value) |
java.lang.String |
toString() |
static PersistenceContextSynchronizationType |
valueOf(java.lang.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(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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<PersistenceContextSynchronizationType>
public static PersistenceContextSynchronizationType getFromStringValue(java.lang.String value)
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)