
public enum PersistenceContextTypeType extends Enum<PersistenceContextTypeType>
persistence-context-typeType xsd type| Enum Constant and Description |
|---|
_EXTENDED |
_TRANSACTION |
| Modifier and Type | Method and Description |
|---|---|
static PersistenceContextTypeType |
getFromStringValue(String value) |
String |
toString() |
static PersistenceContextTypeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceContextTypeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceContextTypeType _TRANSACTION
public static final PersistenceContextTypeType _EXTENDED
public static PersistenceContextTypeType[] values()
for (PersistenceContextTypeType c : PersistenceContextTypeType.values()) System.out.println(c);
public static PersistenceContextTypeType 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<PersistenceContextTypeType>public static PersistenceContextTypeType getFromStringValue(String value)
Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)