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

org.jboss.shrinkwrap.descriptor.api.ejbjar32.AssemblyDescriptorType Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodPermissionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ContainerTransactionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.InterceptorBindingType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MessageDestinationType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ExcludeListType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ApplicationExceptionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeAssemblyDescriptorCommonType;

import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodPermissionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ContainerTransactionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.InterceptorBindingType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MessageDestinationType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ExcludeListType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ApplicationExceptionType;/**
 * This interface defines the contract for the  assembly-descriptorType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface AssemblyDescriptorType extends Child, 
    JavaeeAssemblyDescriptorCommonType,
    SecurityRoleType>,
    MethodPermissionType>,
    ContainerTransactionType>,
    InterceptorBindingType>,
    MessageDestinationType>,
    ExcludeListType>,
    ApplicationExceptionType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:security-roleType ElementType : security-role
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Creates a new security-role element 
    * @return the new created instance of SecurityRoleType> 
    */
   public SecurityRoleType> createSecurityRole();

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

   /**
    * Removes all security-role elements 
    * @return the current instance of SecurityRoleType> 
    */
   public AssemblyDescriptorType removeAllSecurityRole();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:method-permissionType ElementType : method-permission
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Creates a new method-permission element 
    * @return the new created instance of MethodPermissionType> 
    */
   public MethodPermissionType> createMethodPermission();

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

   /**
    * Removes all method-permission elements 
    * @return the current instance of MethodPermissionType> 
    */
   public AssemblyDescriptorType removeAllMethodPermission();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:container-transactionType ElementType : container-transaction
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new container-transaction element will be created and returned.
    * Otherwise, the first existing container-transaction element will be returned.
    * @return the instance defined for the element container-transaction 
    */
   public ContainerTransactionType> getOrCreateContainerTransaction();

   /**
    * Creates a new container-transaction element 
    * @return the new created instance of ContainerTransactionType> 
    */
   public ContainerTransactionType> createContainerTransaction();

   /**
    * Returns all container-transaction elements
    * @return list of container-transaction 
    */
   public List>> getAllContainerTransaction();

   /**
    * Removes all container-transaction elements 
    * @return the current instance of ContainerTransactionType> 
    */
   public AssemblyDescriptorType removeAllContainerTransaction();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:interceptor-bindingType ElementType : interceptor-binding
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new interceptor-binding element will be created and returned.
    * Otherwise, the first existing interceptor-binding element will be returned.
    * @return the instance defined for the element interceptor-binding 
    */
   public InterceptorBindingType> getOrCreateInterceptorBinding();

   /**
    * Creates a new interceptor-binding element 
    * @return the new created instance of InterceptorBindingType> 
    */
   public InterceptorBindingType> createInterceptorBinding();

   /**
    * Returns all interceptor-binding elements
    * @return list of interceptor-binding 
    */
   public List>> getAllInterceptorBinding();

   /**
    * Removes all interceptor-binding elements 
    * @return the current instance of InterceptorBindingType> 
    */
   public AssemblyDescriptorType removeAllInterceptorBinding();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:message-destinationType ElementType : message-destination
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new message-destination element will be created and returned.
    * Otherwise, the first existing message-destination element will be returned.
    * @return the instance defined for the element message-destination 
    */
   public MessageDestinationType> getOrCreateMessageDestination();

   /**
    * Creates a new message-destination element 
    * @return the new created instance of MessageDestinationType> 
    */
   public MessageDestinationType> createMessageDestination();

   /**
    * Returns all message-destination elements
    * @return list of message-destination 
    */
   public List>> getAllMessageDestination();

   /**
    * Removes all message-destination elements 
    * @return the current instance of MessageDestinationType> 
    */
   public AssemblyDescriptorType removeAllMessageDestination();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:exclude-listType ElementType : exclude-list
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new exclude-list element with the given value will be created.
    * Otherwise, the existing exclude-list element will be returned.
    * @return  a new or existing instance of ExcludeListType> 
    */
   public ExcludeListType> getOrCreateExcludeList();

   /**
    * Removes the exclude-list element 
    * @return the current instance of AssemblyDescriptorType 
    */
   public AssemblyDescriptorType removeExcludeList();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType ElementName: javaee:application-exceptionType ElementType : application-exception
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new application-exception element will be created and returned.
    * Otherwise, the first existing application-exception element will be returned.
    * @return the instance defined for the element application-exception 
    */
   public ApplicationExceptionType> getOrCreateApplicationException();

   /**
    * Creates a new application-exception element 
    * @return the new created instance of ApplicationExceptionType> 
    */
   public ApplicationExceptionType> createApplicationException();

   /**
    * Returns all application-exception elements
    * @return list of application-exception 
    */
   public List>> getAllApplicationException();

   /**
    * Removes all application-exception elements 
    * @return the current instance of ApplicationExceptionType> 
    */
   public AssemblyDescriptorType removeAllApplicationException();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: AssemblyDescriptorType 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 AssemblyDescriptorType 
    */
   public AssemblyDescriptorType 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 AssemblyDescriptorType 
    */
   public AssemblyDescriptorType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy