public class AdminObjectTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectType<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 |
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 ConfigPropertyType<AdminObjectType<T>> createConfigProperty
config-property
elementcreateConfigProperty
in interface AdminObjectType<T>
public AdminObjectType<T> removeAllConfigProperty
config-property
elementsremoveAllConfigProperty
in interface AdminObjectType<T>
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-name
AdminObjectType
public String getClassName()
class-name
attributegetClassName
in interface AdminObjectType<T>
class-name
public AdminObjectType<T> removeClassName()
class-name
attributeremoveClassName
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> jndiName(String jndiName)
jndi-name
attributejndiName
in interface AdminObjectType<T>
jndiName
- the value for the attribute jndi-name
AdminObjectType
public String getJndiName()
jndi-name
attributegetJndiName
in interface AdminObjectType<T>
jndi-name
public AdminObjectType<T> removeJndiName()
jndi-name
attributeremoveJndiName
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> enabled(Boolean enabled)
enabled
attributeenabled
in interface AdminObjectType<T>
enabled
- the value for the attribute enabled
AdminObjectType
public Boolean isEnabled()
enabled
attributeisEnabled
in interface AdminObjectType<T>
enabled
public AdminObjectType<T> removeEnabled()
enabled
attributeremoveEnabled
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attributeuseJavaContext
in interface AdminObjectType<T>
useJavaContext
- the value for the attribute use-java-context
AdminObjectType
public Boolean isUseJavaContext()
use-java-context
attributeisUseJavaContext
in interface AdminObjectType<T>
use-java-context
public AdminObjectType<T> removeUseJavaContext()
use-java-context
attributeremoveUseJavaContext
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> poolName(String poolName)
pool-name
attributepoolName
in interface AdminObjectType<T>
poolName
- the value for the attribute pool-name
AdminObjectType
public String getPoolName()
pool-name
attributegetPoolName
in interface AdminObjectType<T>
pool-name
public AdminObjectType<T> removePoolName()
pool-name
attributeremovePoolName
in interface AdminObjectType<T>
AdminObjectType
public 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-property
public ConfigPropertyType<AdminObjectType<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface AdminObjectType<T>
public List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface AdminObjectType<T>
config-property
public AdminObjectType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface AdminObjectType<T>
Copyright © 2017 JBoss by Red Hat. All rights reserved.