org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class ResourceadapterImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.ResourceadapterImpl<T>
All Implemented Interfaces:
Child<T>, Resourceadapter<T>

public class ResourceadapterImpl<T>
extends Object
implements Child<T>, Resourceadapter<T>

This class implements the resourceadapter xsd type

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

Constructor Summary
ResourceadapterImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
ResourceadapterImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 Resourceadapter<T> connectionfactoryImplClass(String connectionfactoryImplClass)
          Sets the connectionfactory-impl-class element
 Resourceadapter<T> connectionfactoryInterface(String connectionfactoryInterface)
          Sets the connectionfactory-interface element
 Resourceadapter<T> connectionImplClass(String connectionImplClass)
          Sets the connection-impl-class element
 Resourceadapter<T> connectionInterface(String connectionInterface)
          Sets the connection-interface element
 AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()
          Creates a new authentication-mechanism element
 ConfigProperty<Resourceadapter<T>> createConfigProperty()
          Creates a new config-property element
 SecurityPermission<Resourceadapter<T>> createSecurityPermission()
          Creates a new security-permission element
 List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
          Returns all authentication-mechanism elements
 List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()
          Returns all config-property elements
 List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
          Returns all security-permission elements
 String getConnectionfactoryImplClass()
          Returns the connectionfactory-impl-class element
 String getConnectionfactoryInterface()
          Returns the connectionfactory-interface element
 String getConnectionImplClass()
          Returns the connection-impl-class element
 String getConnectionInterface()
          Returns the connection-interface element
 String getManagedconnectionfactoryClass()
          Returns the managedconnectionfactory-class element
 AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism()
          If not already created, a new authentication-mechanism element will be created and returned.
 ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty()
          If not already created, a new config-property element will be created and returned.
 SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission()
          If not already created, a new security-permission element will be created and returned.
 String getReauthenticationSupport()
          Returns the reauthentication-support element
 String getTransactionSupport()
          Returns the transaction-support element
 Resourceadapter<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
          Sets the managedconnectionfactory-class element
 Resourceadapter<T> reauthenticationSupport(String reauthenticationSupport)
          Sets the reauthentication-support element
 Resourceadapter<T> removeAllAuthenticationMechanism()
          Removes all authentication-mechanism elements
 Resourceadapter<T> removeAllConfigProperty()
          Removes all config-property elements
 Resourceadapter<T> removeAllSecurityPermission()
          Removes all security-permission elements
 Resourceadapter<T> removeConnectionfactoryImplClass()
          Removes the connectionfactory-impl-class element
 Resourceadapter<T> removeConnectionfactoryInterface()
          Removes the connectionfactory-interface element
 Resourceadapter<T> removeConnectionImplClass()
          Removes the connection-impl-class element
 Resourceadapter<T> removeConnectionInterface()
          Removes the connection-interface element
 Resourceadapter<T> removeManagedconnectionfactoryClass()
          Removes the managedconnectionfactory-class element
 Resourceadapter<T> removeReauthenticationSupport()
          Removes the reauthentication-support element
 Resourceadapter<T> removeTransactionSupport()
          Removes the transaction-support element
 Resourceadapter<T> transactionSupport(String transactionSupport)
          Sets the transaction-support element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceadapterImpl

public ResourceadapterImpl(T t,
                           String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node node)

ResourceadapterImpl

public ResourceadapterImpl(T t,
                           String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                           org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

connectionInterface

public Resourceadapter<T> connectionInterface(String connectionInterface)
Sets the connection-interface element

Specified by:
connectionInterface in interface Resourceadapter<T>
Parameters:
connectionInterface - the value for the element connection-interface
Returns:
the current instance of Resourceadapter

getConnectionInterface

public String getConnectionInterface()
Returns the connection-interface element

Specified by:
getConnectionInterface in interface Resourceadapter<T>
Returns:
the node defined for the element connection-interface

removeConnectionInterface

public Resourceadapter<T> removeConnectionInterface()
Removes the connection-interface element

Specified by:
removeConnectionInterface in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

getOrCreateConfigProperty

public ConfigProperty<Resourceadapter<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.

Specified by:
getOrCreateConfigProperty in interface Resourceadapter<T>
Returns:
the instance defined for the element config-property

createConfigProperty

public ConfigProperty<Resourceadapter<T>> createConfigProperty()
Creates a new config-property element

Specified by:
createConfigProperty in interface Resourceadapter<T>
Returns:
the new created instance of ConfigProperty>

getAllConfigProperty

public List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()
Returns all config-property elements

Specified by:
getAllConfigProperty in interface Resourceadapter<T>
Returns:
list of config-property

removeAllConfigProperty

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

Specified by:
removeAllConfigProperty in interface Resourceadapter<T>
Returns:
the current instance of ConfigProperty>

connectionImplClass

public Resourceadapter<T> connectionImplClass(String connectionImplClass)
Sets the connection-impl-class element

Specified by:
connectionImplClass in interface Resourceadapter<T>
Parameters:
connectionImplClass - the value for the element connection-impl-class
Returns:
the current instance of Resourceadapter

getConnectionImplClass

public String getConnectionImplClass()
Returns the connection-impl-class element

Specified by:
getConnectionImplClass in interface Resourceadapter<T>
Returns:
the node defined for the element connection-impl-class

removeConnectionImplClass

public Resourceadapter<T> removeConnectionImplClass()
Removes the connection-impl-class element

Specified by:
removeConnectionImplClass in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

connectionfactoryInterface

public Resourceadapter<T> connectionfactoryInterface(String connectionfactoryInterface)
Sets the connectionfactory-interface element

Specified by:
connectionfactoryInterface in interface Resourceadapter<T>
Parameters:
connectionfactoryInterface - the value for the element connectionfactory-interface
Returns:
the current instance of Resourceadapter

getConnectionfactoryInterface

public String getConnectionfactoryInterface()
Returns the connectionfactory-interface element

Specified by:
getConnectionfactoryInterface in interface Resourceadapter<T>
Returns:
the node defined for the element connectionfactory-interface

removeConnectionfactoryInterface

public Resourceadapter<T> removeConnectionfactoryInterface()
Removes the connectionfactory-interface element

Specified by:
removeConnectionfactoryInterface in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

reauthenticationSupport

public Resourceadapter<T> reauthenticationSupport(String reauthenticationSupport)
Sets the reauthentication-support element

Specified by:
reauthenticationSupport in interface Resourceadapter<T>
Parameters:
reauthenticationSupport - the value for the element reauthentication-support
Returns:
the current instance of Resourceadapter

getReauthenticationSupport

public String getReauthenticationSupport()
Returns the reauthentication-support element

Specified by:
getReauthenticationSupport in interface Resourceadapter<T>
Returns:
the node defined for the element reauthentication-support

removeReauthenticationSupport

public Resourceadapter<T> removeReauthenticationSupport()
Removes the reauthentication-support element

Specified by:
removeReauthenticationSupport in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

getOrCreateAuthenticationMechanism

public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism()
If not already created, a new authentication-mechanism element will be created and returned. Otherwise, the first existing authentication-mechanism element will be returned.

Specified by:
getOrCreateAuthenticationMechanism in interface Resourceadapter<T>
Returns:
the instance defined for the element authentication-mechanism

createAuthenticationMechanism

public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()
Creates a new authentication-mechanism element

Specified by:
createAuthenticationMechanism in interface Resourceadapter<T>
Returns:
the new created instance of AuthenticationMechanism>

getAllAuthenticationMechanism

public List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
Returns all authentication-mechanism elements

Specified by:
getAllAuthenticationMechanism in interface Resourceadapter<T>
Returns:
list of authentication-mechanism

removeAllAuthenticationMechanism

public Resourceadapter<T> removeAllAuthenticationMechanism()
Removes all authentication-mechanism elements

Specified by:
removeAllAuthenticationMechanism in interface Resourceadapter<T>
Returns:
the current instance of AuthenticationMechanism>

managedconnectionfactoryClass

public Resourceadapter<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
Sets the managedconnectionfactory-class element

Specified by:
managedconnectionfactoryClass in interface Resourceadapter<T>
Parameters:
managedconnectionfactoryClass - the value for the element managedconnectionfactory-class
Returns:
the current instance of Resourceadapter

getManagedconnectionfactoryClass

public String getManagedconnectionfactoryClass()
Returns the managedconnectionfactory-class element

Specified by:
getManagedconnectionfactoryClass in interface Resourceadapter<T>
Returns:
the node defined for the element managedconnectionfactory-class

removeManagedconnectionfactoryClass

public Resourceadapter<T> removeManagedconnectionfactoryClass()
Removes the managedconnectionfactory-class element

Specified by:
removeManagedconnectionfactoryClass in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

connectionfactoryImplClass

public Resourceadapter<T> connectionfactoryImplClass(String connectionfactoryImplClass)
Sets the connectionfactory-impl-class element

Specified by:
connectionfactoryImplClass in interface Resourceadapter<T>
Parameters:
connectionfactoryImplClass - the value for the element connectionfactory-impl-class
Returns:
the current instance of Resourceadapter

getConnectionfactoryImplClass

public String getConnectionfactoryImplClass()
Returns the connectionfactory-impl-class element

Specified by:
getConnectionfactoryImplClass in interface Resourceadapter<T>
Returns:
the node defined for the element connectionfactory-impl-class

removeConnectionfactoryImplClass

public Resourceadapter<T> removeConnectionfactoryImplClass()
Removes the connectionfactory-impl-class element

Specified by:
removeConnectionfactoryImplClass in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

transactionSupport

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

Specified by:
transactionSupport in interface Resourceadapter<T>
Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of Resourceadapter

getTransactionSupport

public String getTransactionSupport()
Returns the transaction-support element

Specified by:
getTransactionSupport in interface Resourceadapter<T>
Returns:
the node defined for the element transaction-support

removeTransactionSupport

public Resourceadapter<T> removeTransactionSupport()
Removes the transaction-support element

Specified by:
removeTransactionSupport in interface Resourceadapter<T>
Returns:
the current instance of Resourceadapter

getOrCreateSecurityPermission

public SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission()
If not already created, a new security-permission element will be created and returned. Otherwise, the first existing security-permission element will be returned.

Specified by:
getOrCreateSecurityPermission in interface Resourceadapter<T>
Returns:
the instance defined for the element security-permission

createSecurityPermission

public SecurityPermission<Resourceadapter<T>> createSecurityPermission()
Creates a new security-permission element

Specified by:
createSecurityPermission in interface Resourceadapter<T>
Returns:
the new created instance of SecurityPermission>

getAllSecurityPermission

public List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
Returns all security-permission elements

Specified by:
getAllSecurityPermission in interface Resourceadapter<T>
Returns:
list of security-permission

removeAllSecurityPermission

public Resourceadapter<T> removeAllSecurityPermission()
Removes all security-permission elements

Specified by:
removeAllSecurityPermission in interface Resourceadapter<T>
Returns:
the current instance of SecurityPermission>


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