|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminObjectType<T>
This interface defines the contract for the admin-objectType
xsd type
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 |
AdminObjectType<T> |
useJavaContext(Boolean useJavaContext)
Sets the use-java-context attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AdminObjectType<T> className(String className)
class-name
attribute
className
- the value for the attribute class-name
AdminObjectType
String getClassName()
class-name
attribute
class-name
AdminObjectType<T> removeClassName()
class-name
attribute
AdminObjectType
AdminObjectType<T> jndiName(String jndiName)
jndi-name
attribute
jndiName
- the value for the attribute jndi-name
AdminObjectType
String getJndiName()
jndi-name
attribute
jndi-name
AdminObjectType<T> removeJndiName()
jndi-name
attribute
AdminObjectType
AdminObjectType<T> enabled(Boolean enabled)
enabled
attribute
enabled
- the value for the attribute enabled
AdminObjectType
Boolean isEnabled()
enabled
attribute
enabled
AdminObjectType<T> removeEnabled()
enabled
attribute
AdminObjectType
AdminObjectType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attribute
useJavaContext
- the value for the attribute use-java-context
AdminObjectType
Boolean isUseJavaContext()
use-java-context
attribute
use-java-context
AdminObjectType<T> removeUseJavaContext()
use-java-context
attribute
AdminObjectType
AdminObjectType<T> poolName(String poolName)
pool-name
attribute
poolName
- the value for the attribute pool-name
AdminObjectType
String getPoolName()
pool-name
attribute
pool-name
AdminObjectType<T> removePoolName()
pool-name
attribute
AdminObjectType
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
element
ConfigPropertyType>
List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
config-property
elements
config-property
AdminObjectType<T> removeAllConfigProperty()
config-property
elements
ConfigPropertyType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |