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

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

public interface ResourceAdapterType<T>
extends Child<T>

This interface defines the contract for the resource-adapterType xsd type

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

Method Summary
 ResourceAdapterType<T> archive(String archive)
          Sets the archive element
 ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
          Sets the bootstrap-context element
 ConfigPropertyType<ResourceAdapterType<T>> createConfigProperty()
          Creates a new config-property element
 List<ConfigPropertyType<ResourceAdapterType<T>>> getAllConfigProperty()
          Returns all config-property elements
 String getArchive()
          Returns the archive element
 String getBootstrapContext()
          Returns the bootstrap-context element
 AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()
          If not already created, a new admin-objects element with the given value will be created.
 BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups()
          If not already created, a new bean-validation-groups element with the given value will be created.
 ConfigPropertyType<ResourceAdapterType<T>> getOrCreateConfigProperty()
          If not already created, a new config-property element will be created and returned.
 ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()
          If not already created, a new connection-definitions element with the given value will be created.
 TransactionSupportType getTransactionSupport()
          Returns the transaction-support element
 String getTransactionSupportAsString()
          Returns the transaction-support element
 ResourceAdapterType<T> removeAdminObjects()
          Removes the admin-objects element
 ResourceAdapterType<T> removeAllConfigProperty()
          Removes all config-property elements
 ResourceAdapterType<T> removeArchive()
          Removes the archive element
 ResourceAdapterType<T> removeBeanValidationGroups()
          Removes the bean-validation-groups element
 ResourceAdapterType<T> removeBootstrapContext()
          Removes the bootstrap-context element
 ResourceAdapterType<T> removeConnectionDefinitions()
          Removes the connection-definitions element
 ResourceAdapterType<T> removeTransactionSupport()
          Removes the transaction-support attribute
 ResourceAdapterType<T> transactionSupport(String transactionSupport)
          Sets the transaction-support element
 ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
          Sets the transaction-support element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

archive

ResourceAdapterType<T> archive(String archive)
Sets the archive element

Parameters:
archive - the value for the element archive
Returns:
the current instance of ResourceAdapterType

getArchive

String getArchive()
Returns the archive element

Returns:
the node defined for the element archive

removeArchive

ResourceAdapterType<T> removeArchive()
Removes the archive element

Returns:
the current instance of ResourceAdapterType

getOrCreateBeanValidationGroups

BeanValidationGroupsType<ResourceAdapterType<T>> getOrCreateBeanValidationGroups()
If not already created, a new bean-validation-groups element with the given value will be created. Otherwise, the existing bean-validation-groups element will be returned.

Returns:
a new or existing instance of BeanValidationGroupsType>

removeBeanValidationGroups

ResourceAdapterType<T> removeBeanValidationGroups()
Removes the bean-validation-groups element

Returns:
the current instance of ResourceAdapterType

bootstrapContext

ResourceAdapterType<T> bootstrapContext(String bootstrapContext)
Sets the bootstrap-context element

Parameters:
bootstrapContext - the value for the element bootstrap-context
Returns:
the current instance of ResourceAdapterType

getBootstrapContext

String getBootstrapContext()
Returns the bootstrap-context element

Returns:
the node defined for the element bootstrap-context

removeBootstrapContext

ResourceAdapterType<T> removeBootstrapContext()
Removes the bootstrap-context element

Returns:
the current instance of ResourceAdapterType

getOrCreateConfigProperty

ConfigPropertyType<ResourceAdapterType<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<ResourceAdapterType<T>> createConfigProperty()
Creates a new config-property element

Returns:
the new created instance of ConfigPropertyType>

getAllConfigProperty

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

Returns:
list of config-property

removeAllConfigProperty

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

Returns:
the current instance of ConfigPropertyType>

transactionSupport

ResourceAdapterType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets the transaction-support element

Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of ResourceAdapterType

transactionSupport

ResourceAdapterType<T> transactionSupport(String transactionSupport)
Sets the transaction-support element

Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of ResourceAdapterType

getTransactionSupport

TransactionSupportType getTransactionSupport()
Returns the transaction-support element

Returns:
the value found for the element transaction-support

getTransactionSupportAsString

String getTransactionSupportAsString()
Returns the transaction-support element

Returns:
the value found for the element transaction-support

removeTransactionSupport

ResourceAdapterType<T> removeTransactionSupport()
Removes the transaction-support attribute

Returns:
the current instance of ResourceAdapterType

getOrCreateConnectionDefinitions

ConnectionDefinitionsType<ResourceAdapterType<T>> getOrCreateConnectionDefinitions()
If not already created, a new connection-definitions element with the given value will be created. Otherwise, the existing connection-definitions element will be returned.

Returns:
a new or existing instance of ConnectionDefinitionsType>

removeConnectionDefinitions

ResourceAdapterType<T> removeConnectionDefinitions()
Removes the connection-definitions element

Returns:
the current instance of ResourceAdapterType

getOrCreateAdminObjects

AdminObjectsType<ResourceAdapterType<T>> getOrCreateAdminObjects()
If not already created, a new admin-objects element with the given value will be created. Otherwise, the existing admin-objects element will be returned.

Returns:
a new or existing instance of AdminObjectsType>

removeAdminObjects

ResourceAdapterType<T> removeAdminObjects()
Removes the admin-objects element

Returns:
the current instance of ResourceAdapterType


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