public interface AdminObjectType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
admin-objectType
xsd typeType | Property and Description |
---|---|
ConfigPropertyType<AdminObjectType<T>> |
createConfig
Creates a new
config-property element |
AdminObjectType<T> |
removeAllConfig
Removes all
config-property elements |
Modifier and Type | Method and Description |
---|---|
AdminObjectType<T> |
className(String className)
Sets the
class-name attribute |
ConfigPropertyType<AdminObjectType<T>> |
createConfigProperty()
Creates a new
config-property element |
AdminObjectType<T> |
enabled(Boolean enabled)
Sets the
enabled attribute |
List<ConfigPropertyType<AdminObjectType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getClassName()
Returns the
class-name attribute |
String |
getJndiName()
Returns the
jndi-name attribute |
ConfigPropertyType<AdminObjectType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
String |
getPoolName()
Returns the
pool-name attribute |
Boolean |
isEnabled()
Returns the
enabled attribute |
Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
AdminObjectType<T> |
jndiName(String jndiName)
Sets the
jndi-name attribute |
AdminObjectType<T> |
poolName(String poolName)
Sets the
pool-name attribute |
AdminObjectType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
AdminObjectType<T> |
removeClassName()
Removes the
class-name attribute |
AdminObjectType<T> |
removeEnabled()
Removes the
enabled attribute |
AdminObjectType<T> |
removeJndiName()
Removes the
jndi-name attribute |
AdminObjectType<T> |
removePoolName()
Removes the
pool-name attribute |
AdminObjectType<T> |
removeUseJavaContext()
Removes the
use-java-context attribute |
AdminObjectType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
config-property
elementConfigPropertyType>
config-property
elementsConfigPropertyType>
AdminObjectType<T> className(String className)
class-name
attributeclassName
- the value for the attribute class-name
AdminObjectType
String getClassName()
class-name
attributeclass-name
AdminObjectType<T> removeClassName()
class-name
attributeAdminObjectType
AdminObjectType<T> jndiName(String jndiName)
jndi-name
attributejndiName
- the value for the attribute jndi-name
AdminObjectType
String getJndiName()
jndi-name
attributejndi-name
AdminObjectType<T> removeJndiName()
jndi-name
attributeAdminObjectType
AdminObjectType<T> enabled(Boolean enabled)
enabled
attributeenabled
- the value for the attribute enabled
AdminObjectType
Boolean isEnabled()
enabled
attributeenabled
AdminObjectType<T> removeEnabled()
enabled
attributeAdminObjectType
AdminObjectType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attributeuseJavaContext
- the value for the attribute use-java-context
AdminObjectType
Boolean isUseJavaContext()
use-java-context
attributeuse-java-context
AdminObjectType<T> removeUseJavaContext()
use-java-context
attributeAdminObjectType
AdminObjectType<T> poolName(String poolName)
pool-name
attributepoolName
- the value for the attribute pool-name
AdminObjectType
String getPoolName()
pool-name
attributepool-name
AdminObjectType<T> removePoolName()
pool-name
attributeAdminObjectType
ConfigPropertyType<AdminObjectType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.config-property
ConfigPropertyType<AdminObjectType<T>> createConfigProperty()
config-property
elementConfigPropertyType>
List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
config-property
elementsconfig-property
AdminObjectType<T> removeAllConfigProperty()
config-property
elementsConfigPropertyType>
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)