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

org.jboss.shrinkwrap.descriptor.api.connector17.ResourceadapterType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.connector17; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector17.ConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector17.OutboundResourceadapterType;
import org.jboss.shrinkwrap.descriptor.api.connector17.InboundResourceadapterType;
import org.jboss.shrinkwrap.descriptor.api.connector17.AdminobjectType;
import org.jboss.shrinkwrap.descriptor.api.connector17.SecurityPermissionType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeResourceadapterCommonType;

import org.jboss.shrinkwrap.descriptor.api.connector17.ConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector17.OutboundResourceadapterType;
import org.jboss.shrinkwrap.descriptor.api.connector17.InboundResourceadapterType;
import org.jboss.shrinkwrap.descriptor.api.connector17.AdminobjectType;
import org.jboss.shrinkwrap.descriptor.api.connector17.SecurityPermissionType;/**
 * This interface defines the contract for the  resourceadapterType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface ResourceadapterType extends Child, 
    JeeResourceadapterCommonType,
    ConfigPropertyType>,
    OutboundResourceadapterType>,
    InboundResourceadapterType>,
    AdminobjectType>,
    SecurityPermissionType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: xsd:token ElementType : resourceadapter-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the resourceadapter-class element
    * @param resourceadapterClass the value for the element resourceadapter-class 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType resourceadapterClass(String resourceadapterClass);

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

   /**
    * Removes the resourceadapter-class element 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType removeResourceadapterClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: javaee:config-propertyType 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 ConfigPropertyType> getOrCreateConfigProperty();

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

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

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: javaee:outbound-resourceadapterType ElementType : outbound-resourceadapter
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new outbound-resourceadapter element with the given value will be created.
    * Otherwise, the existing outbound-resourceadapter element will be returned.
    * @return  a new or existing instance of OutboundResourceadapterType> 
    */
   public OutboundResourceadapterType> getOrCreateOutboundResourceadapter();

   /**
    * Removes the outbound-resourceadapter element 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType removeOutboundResourceadapter();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: javaee:inbound-resourceadapterType ElementType : inbound-resourceadapter
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new inbound-resourceadapter element with the given value will be created.
    * Otherwise, the existing inbound-resourceadapter element will be returned.
    * @return  a new or existing instance of InboundResourceadapterType> 
    */
   public InboundResourceadapterType> getOrCreateInboundResourceadapter();

   /**
    * Removes the inbound-resourceadapter element 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType removeInboundResourceadapter();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: javaee:adminobjectType ElementType : adminobject
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new adminobject element will be created and returned.
    * Otherwise, the first existing adminobject element will be returned.
    * @return the instance defined for the element adminobject 
    */
   public AdminobjectType> getOrCreateAdminobject();

   /**
    * Creates a new adminobject element 
    * @return the new created instance of AdminobjectType> 
    */
   public AdminobjectType> createAdminobject();

   /**
    * Returns all adminobject elements
    * @return list of adminobject 
    */
   public List>> getAllAdminobject();

   /**
    * Removes all adminobject elements 
    * @return the current instance of AdminobjectType> 
    */
   public ResourceadapterType removeAllAdminobject();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: javaee:security-permissionType 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 SecurityPermissionType> getOrCreateSecurityPermission();

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

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

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ResourceadapterType ElementName: xsd:ID ElementType : id
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the id attribute
    * @param id the value for the attribute id 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType id(String id);

   /**
    * Returns the id attribute
    * @return the value defined for the attribute id 
    */
   public String getId();

   /**
    * Removes the id attribute 
    * @return the current instance of ResourceadapterType 
    */
   public ResourceadapterType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy