public class AdminObjectTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectType<T>
admin-objectType xsd type| Constructor and Description |
|---|
AdminObjectTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
AdminObjectTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| 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 |
T |
up() |
AdminObjectType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
public AdminObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public AdminObjectType<T> className(String className)
class-name attributeclassName in interface AdminObjectType<T>className - the value for the attribute class-nameAdminObjectTypepublic String getClassName()
class-name attributegetClassName in interface AdminObjectType<T>class-namepublic AdminObjectType<T> removeClassName()
class-name attributeremoveClassName in interface AdminObjectType<T>AdminObjectTypepublic AdminObjectType<T> jndiName(String jndiName)
jndi-name attributejndiName in interface AdminObjectType<T>jndiName - the value for the attribute jndi-nameAdminObjectTypepublic String getJndiName()
jndi-name attributegetJndiName in interface AdminObjectType<T>jndi-namepublic AdminObjectType<T> removeJndiName()
jndi-name attributeremoveJndiName in interface AdminObjectType<T>AdminObjectTypepublic AdminObjectType<T> enabled(Boolean enabled)
enabled attributeenabled in interface AdminObjectType<T>enabled - the value for the attribute enabledAdminObjectTypepublic Boolean isEnabled()
enabled attributeisEnabled in interface AdminObjectType<T>enabledpublic AdminObjectType<T> removeEnabled()
enabled attributeremoveEnabled in interface AdminObjectType<T>AdminObjectTypepublic AdminObjectType<T> useJavaContext(Boolean useJavaContext)
use-java-context attributeuseJavaContext in interface AdminObjectType<T>useJavaContext - the value for the attribute use-java-contextAdminObjectTypepublic Boolean isUseJavaContext()
use-java-context attributeisUseJavaContext in interface AdminObjectType<T>use-java-contextpublic AdminObjectType<T> removeUseJavaContext()
use-java-context attributeremoveUseJavaContext in interface AdminObjectType<T>AdminObjectTypepublic AdminObjectType<T> poolName(String poolName)
pool-name attributepoolName in interface AdminObjectType<T>poolName - the value for the attribute pool-nameAdminObjectTypepublic String getPoolName()
pool-name attributegetPoolName in interface AdminObjectType<T>pool-namepublic AdminObjectType<T> removePoolName()
pool-name attributeremovePoolName in interface AdminObjectType<T>AdminObjectTypepublic ConfigPropertyType<AdminObjectType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface AdminObjectType<T>config-propertypublic ConfigPropertyType<AdminObjectType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface AdminObjectType<T>ConfigPropertyType> public List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface AdminObjectType<T>config-propertypublic AdminObjectType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface AdminObjectType<T>ConfigPropertyType> Copyright © 2021 JBoss by Red Hat. All rights reserved.