public enum PersistenceTypeType extends Enum<PersistenceTypeType>
persistence-typeType
xsd typeEnum Constant and Description |
---|
_BEAN |
_CONTAINER |
Modifier and Type | Method and Description |
---|---|
static PersistenceTypeType |
getFromStringValue(String value) |
String |
toString() |
static PersistenceTypeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceTypeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceTypeType _BEAN
public static final PersistenceTypeType _CONTAINER
public static PersistenceTypeType[] values()
for (PersistenceTypeType c : PersistenceTypeType.values()) System.out.println(c);
public static PersistenceTypeType 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<PersistenceTypeType>
public static PersistenceTypeType getFromStringValue(String value)
Copyright © 2017 JBoss by Red Hat. All rights reserved.