Class OutboundResourceadapterTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector16.OutboundResourceadapterTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,OutboundResourceadapterType<T>
public class OutboundResourceadapterTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, OutboundResourceadapterType<T>
This class implements theoutbound-resourceadapterTypexsd type
-
-
Constructor Summary
Constructors Constructor Description OutboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)OutboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
-
-
-
Method Detail
-
getOrCreateConnectionDefinition
public ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition()
If not already created, a newconnection-definitionelement will be created and returned. Otherwise, the first existingconnection-definitionelement will be returned.- Specified by:
getOrCreateConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the instance defined for the element
connection-definition
-
createConnectionDefinition
public ConnectionDefinitionType<OutboundResourceadapterType<T>> createConnectionDefinition()
Creates a newconnection-definitionelement- Specified by:
createConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the new created instance of
ConnectionDefinitionType>
-
getAllConnectionDefinition
public List<ConnectionDefinitionType<OutboundResourceadapterType<T>>> getAllConnectionDefinition()
Returns allconnection-definitionelements- Specified by:
getAllConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- list of
connection-definition
-
removeAllConnectionDefinition
public OutboundResourceadapterType<T> removeAllConnectionDefinition()
Removes allconnection-definitionelements- Specified by:
removeAllConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
ConnectionDefinitionType>
-
transactionSupport
public OutboundResourceadapterType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceOutboundResourceadapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
transactionSupport
public OutboundResourceadapterType<T> transactionSupport(String transactionSupport)
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceOutboundResourceadapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
getTransactionSupport
public TransactionSupportType getTransactionSupport()
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
public String getTransactionSupportAsString()
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceOutboundResourceadapterType<T>- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
public OutboundResourceadapterType<T> removeTransactionSupport()
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-
getOrCreateAuthenticationMechanism
public AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism()
If not already created, a newauthentication-mechanismelement will be created and returned. Otherwise, the first existingauthentication-mechanismelement will be returned.- Specified by:
getOrCreateAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the instance defined for the element
authentication-mechanism
-
createAuthenticationMechanism
public AuthenticationMechanismType<OutboundResourceadapterType<T>> createAuthenticationMechanism()
Creates a newauthentication-mechanismelement- Specified by:
createAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the new created instance of
AuthenticationMechanismType>
-
getAllAuthenticationMechanism
public List<AuthenticationMechanismType<OutboundResourceadapterType<T>>> getAllAuthenticationMechanism()
Returns allauthentication-mechanismelements- Specified by:
getAllAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
public OutboundResourceadapterType<T> removeAllAuthenticationMechanism()
Removes allauthentication-mechanismelements- Specified by:
removeAllAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
AuthenticationMechanismType>
-
reauthenticationSupport
public OutboundResourceadapterType<T> reauthenticationSupport(Boolean reauthenticationSupport)
Sets thereauthentication-supportelement- Specified by:
reauthenticationSupportin interfaceOutboundResourceadapterType<T>- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
OutboundResourceadapterType
-
isReauthenticationSupport
public Boolean isReauthenticationSupport()
Returns thereauthentication-supportelement- Specified by:
isReauthenticationSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
public OutboundResourceadapterType<T> removeReauthenticationSupport()
Removes thereauthentication-supportelement- Specified by:
removeReauthenticationSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-
id
public OutboundResourceadapterType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceOutboundResourceadapterType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
OutboundResourceadapterType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceOutboundResourceadapterType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public OutboundResourceadapterType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-
-