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