All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.connector10.Resourceadapter Maven / Gradle / Ivy

The newest version!
package org.jboss.shrinkwrap.descriptor.api.connector10; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector10.AuthenticationMechanism;
import org.jboss.shrinkwrap.descriptor.api.connector10.SecurityPermission;
import org.jboss.shrinkwrap.descriptor.api.connector10.ConfigProperty;
/**
 * This interface defines the contract for the  resourceadapter  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface Resourceadapter extends Child { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : connectionfactory-interface
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connectionfactory-interface element
    * @param connectionfactoryInterface the value for the element connectionfactory-interface 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter connectionfactoryInterface(String connectionfactoryInterface);

   /**
    * Returns the connectionfactory-interface element
    * @return the node defined for the element connectionfactory-interface 
    */
   public String getConnectionfactoryInterface();

   /**
    * Removes the connectionfactory-interface element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeConnectionfactoryInterface();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : connection-impl-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connection-impl-class element
    * @param connectionImplClass the value for the element connection-impl-class 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter connectionImplClass(String connectionImplClass);

   /**
    * Returns the connection-impl-class element
    * @return the node defined for the element connection-impl-class 
    */
   public String getConnectionImplClass();

   /**
    * Removes the connection-impl-class element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeConnectionImplClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : managedconnectionfactory-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the managedconnectionfactory-class element
    * @param managedconnectionfactoryClass the value for the element managedconnectionfactory-class 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter managedconnectionfactoryClass(String managedconnectionfactoryClass);

   /**
    * Returns the managedconnectionfactory-class element
    * @return the node defined for the element managedconnectionfactory-class 
    */
   public String getManagedconnectionfactoryClass();

   /**
    * Removes the managedconnectionfactory-class element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeManagedconnectionfactoryClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: j2ee:authentication-mechanism ElementType : authentication-mechanism
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new authentication-mechanism element will be created and returned.
    * Otherwise, the first existing authentication-mechanism element will be returned.
    * @return the instance defined for the element authentication-mechanism 
    */
   public AuthenticationMechanism> getOrCreateAuthenticationMechanism();

   /**
    * Creates a new authentication-mechanism element 
    * @return the new created instance of AuthenticationMechanism> 
    */
   public AuthenticationMechanism> createAuthenticationMechanism();

   /**
    * Returns all authentication-mechanism elements
    * @return list of authentication-mechanism 
    */
   public List>> getAllAuthenticationMechanism();

   /**
    * Removes all authentication-mechanism elements 
    * @return the current instance of AuthenticationMechanism> 
    */
   public Resourceadapter removeAllAuthenticationMechanism();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: j2ee:security-permission ElementType : security-permission
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new security-permission element will be created and returned.
    * Otherwise, the first existing security-permission element will be returned.
    * @return the instance defined for the element security-permission 
    */
   public SecurityPermission> getOrCreateSecurityPermission();

   /**
    * Creates a new security-permission element 
    * @return the new created instance of SecurityPermission> 
    */
   public SecurityPermission> createSecurityPermission();

   /**
    * Returns all security-permission elements
    * @return list of security-permission 
    */
   public List>> getAllSecurityPermission();

   /**
    * Removes all security-permission elements 
    * @return the current instance of SecurityPermission> 
    */
   public Resourceadapter removeAllSecurityPermission();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : connectionfactory-impl-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connectionfactory-impl-class element
    * @param connectionfactoryImplClass the value for the element connectionfactory-impl-class 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter connectionfactoryImplClass(String connectionfactoryImplClass);

   /**
    * Returns the connectionfactory-impl-class element
    * @return the node defined for the element connectionfactory-impl-class 
    */
   public String getConnectionfactoryImplClass();

   /**
    * Removes the connectionfactory-impl-class element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeConnectionfactoryImplClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: j2ee:config-property ElementType : config-property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new config-property element will be created and returned.
    * Otherwise, the first existing config-property element will be returned.
    * @return the instance defined for the element config-property 
    */
   public ConfigProperty> getOrCreateConfigProperty();

   /**
    * Creates a new config-property element 
    * @return the new created instance of ConfigProperty> 
    */
   public ConfigProperty> createConfigProperty();

   /**
    * Returns all config-property elements
    * @return list of config-property 
    */
   public List>> getAllConfigProperty();

   /**
    * Removes all config-property elements 
    * @return the current instance of ConfigProperty> 
    */
   public Resourceadapter removeAllConfigProperty();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : reauthentication-support
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the reauthentication-support element
    * @param reauthenticationSupport the value for the element reauthentication-support 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter reauthenticationSupport(String reauthenticationSupport);

   /**
    * Returns the reauthentication-support element
    * @return the node defined for the element reauthentication-support 
    */
   public String getReauthenticationSupport();

   /**
    * Removes the reauthentication-support element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeReauthenticationSupport();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : connection-interface
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connection-interface element
    * @param connectionInterface the value for the element connection-interface 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter connectionInterface(String connectionInterface);

   /**
    * Returns the connection-interface element
    * @return the node defined for the element connection-interface 
    */
   public String getConnectionInterface();

   /**
    * Removes the connection-interface element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeConnectionInterface();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Resourceadapter ElementName: xsd:string ElementType : transaction-support
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the transaction-support element
    * @param transactionSupport the value for the element transaction-support 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter transactionSupport(String transactionSupport);

   /**
    * Returns the transaction-support element
    * @return the node defined for the element transaction-support 
    */
   public String getTransactionSupport();

   /**
    * Removes the transaction-support element 
    * @return the current instance of Resourceadapter 
    */
   public Resourceadapter removeTransactionSupport();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy