org.jboss.resourceadapters.api
Interface AdminObjectType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
AdminObjectTypeImpl

public interface AdminObjectType<T>
extends Child<T>

This interface defines the contract for the admin-objectType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

className

AdminObjectType<T> className(String className)
Sets the class-name attribute

Parameters:
className - the value for the attribute class-name
Returns:
the current instance of AdminObjectType

getClassName

String getClassName()
Returns the class-name attribute

Returns:
the value defined for the attribute class-name

removeClassName

AdminObjectType<T> removeClassName()
Removes the class-name attribute

Returns:
the current instance of AdminObjectType

jndiName

AdminObjectType<T> jndiName(String jndiName)
Sets the jndi-name attribute

Parameters:
jndiName - the value for the attribute jndi-name
Returns:
the current instance of AdminObjectType

getJndiName

String getJndiName()
Returns the jndi-name attribute

Returns:
the value defined for the attribute jndi-name

removeJndiName

AdminObjectType<T> removeJndiName()
Removes the jndi-name attribute

Returns:
the current instance of AdminObjectType

enabled

AdminObjectType<T> enabled(Boolean enabled)
Sets the enabled attribute

Parameters:
enabled - the value for the attribute enabled
Returns:
the current instance of AdminObjectType

isEnabled

Boolean isEnabled()
Returns the enabled attribute

Returns:
the value defined for the attribute enabled

removeEnabled

AdminObjectType<T> removeEnabled()
Removes the enabled attribute

Returns:
the current instance of AdminObjectType

useJavaContext

AdminObjectType<T> useJavaContext(Boolean useJavaContext)
Sets the use-java-context attribute

Parameters:
useJavaContext - the value for the attribute use-java-context
Returns:
the current instance of AdminObjectType

isUseJavaContext

Boolean isUseJavaContext()
Returns the use-java-context attribute

Returns:
the value defined for the attribute use-java-context

removeUseJavaContext

AdminObjectType<T> removeUseJavaContext()
Removes the use-java-context attribute

Returns:
the current instance of AdminObjectType

poolName

AdminObjectType<T> poolName(String poolName)
Sets the pool-name attribute

Parameters:
poolName - the value for the attribute pool-name
Returns:
the current instance of AdminObjectType

getPoolName

String getPoolName()
Returns the pool-name attribute

Returns:
the value defined for the attribute pool-name

removePoolName

AdminObjectType<T> removePoolName()
Removes the pool-name attribute

Returns:
the current instance of AdminObjectType

getOrCreateConfigProperty

ConfigPropertyType<AdminObjectType<T>> getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.

Returns:
the instance defined for the element config-property

createConfigProperty

ConfigPropertyType<AdminObjectType<T>> createConfigProperty()
Creates a new config-property element

Returns:
the new created instance of ConfigPropertyType>

getAllConfigProperty

List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
Returns all config-property elements

Returns:
list of config-property

removeAllConfigProperty

AdminObjectType<T> removeAllConfigProperty()
Removes all config-property elements

Returns:
the current instance of ConfigPropertyType>


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.