
public static enum DataSource.Attribute extends Enum<DataSource.Attribute>
| Enum Constant and Description |
|---|
ENABLED
jndiName attribute
|
JNDI_NAME
jndiName attribute
|
JTA
jta attribute
|
POOL_NAME
jndiName attribute
|
SPY
spy attribute
|
UNKNOWN
unknown attribute
|
USE_CCM
use-ccm attribute
|
USE_JAVA_CONTEXT
use-java-context attribute
|
| Modifier and Type | Method and Description |
|---|---|
static DataSource.Attribute |
forName(String localName)
Static method to get enum instance given localName XsdString
|
String |
getLocalName()
Get the local name of this element.
|
String |
toString() |
static DataSource.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSource.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSource.Attribute UNKNOWN
public static final DataSource.Attribute JNDI_NAME
public static final DataSource.Attribute POOL_NAME
public static final DataSource.Attribute ENABLED
public static final DataSource.Attribute USE_JAVA_CONTEXT
public static final DataSource.Attribute SPY
public static final DataSource.Attribute USE_CCM
public static final DataSource.Attribute JTA
public static DataSource.Attribute[] values()
for (DataSource.Attribute c : DataSource.Attribute.values()) System.out.println(c);
public static DataSource.Attribute 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 getLocalName()
public String toString()
toString in class Enum<DataSource.Attribute>public static DataSource.Attribute forName(String localName)
localName - a XsdString used as localname (typically tag name as defined in xsd)Copyright © 2013 IronJacamar (http://www.ironjacamar.org)