|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ironjacamar.impl.AdminObjectTypeImpl<T>
public class AdminObjectTypeImpl<T>
This class implements the admin-objectType
xsd type
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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()
Returns the parent of this Child |
AdminObjectType<T> |
useJavaContext(Boolean useJavaContext)
Sets the use-java-context attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public AdminObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail |
---|
public T up()
Child
Child
up
in interface Child<T>
Child
public AdminObjectType<T> className(String className)
class-name
attribute
className
in interface AdminObjectType<T>
className
- the value for the attribute class-name
AdminObjectType
public String getClassName()
class-name
attribute
getClassName
in interface AdminObjectType<T>
class-name
public AdminObjectType<T> removeClassName()
class-name
attribute
removeClassName
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> jndiName(String jndiName)
jndi-name
attribute
jndiName
in interface AdminObjectType<T>
jndiName
- the value for the attribute jndi-name
AdminObjectType
public String getJndiName()
jndi-name
attribute
getJndiName
in interface AdminObjectType<T>
jndi-name
public AdminObjectType<T> removeJndiName()
jndi-name
attribute
removeJndiName
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> enabled(Boolean enabled)
enabled
attribute
enabled
in interface AdminObjectType<T>
enabled
- the value for the attribute enabled
AdminObjectType
public Boolean isEnabled()
enabled
attribute
isEnabled
in interface AdminObjectType<T>
enabled
public AdminObjectType<T> removeEnabled()
enabled
attribute
removeEnabled
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attribute
useJavaContext
in interface AdminObjectType<T>
useJavaContext
- the value for the attribute use-java-context
AdminObjectType
public Boolean isUseJavaContext()
use-java-context
attribute
isUseJavaContext
in interface AdminObjectType<T>
use-java-context
public AdminObjectType<T> removeUseJavaContext()
use-java-context
attribute
removeUseJavaContext
in interface AdminObjectType<T>
AdminObjectType
public AdminObjectType<T> poolName(String poolName)
pool-name
attribute
poolName
in interface AdminObjectType<T>
poolName
- the value for the attribute pool-name
AdminObjectType
public String getPoolName()
pool-name
attribute
getPoolName
in interface AdminObjectType<T>
pool-name
public AdminObjectType<T> removePoolName()
pool-name
attribute
removePoolName
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
element
createConfigProperty
in interface AdminObjectType<T>
ConfigPropertyType>
public List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
config-property
elements
getAllConfigProperty
in interface AdminObjectType<T>
config-property
public AdminObjectType<T> removeAllConfigProperty()
config-property
elements
removeAllConfigProperty
in interface AdminObjectType<T>
ConfigPropertyType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |