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

org.jboss.shrinkwrap.descriptor.api.ejbjar32.InterceptorsType 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.ejbjar32.InterceptorType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeInterceptorsCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar32.InterceptorType;/**
 * This interface defines the contract for the  interceptorsType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface InterceptorsType extends Child, 
    JavaeeInterceptorsCommonType,
    InterceptorType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: InterceptorsType ElementName: xsd:string ElementType : description
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing description elements, 
    * a new description element 
    * @param values list of description objects 
    * @return the current instance of InterceptorsType 
    */
   public InterceptorsType description(String ... values);

   /**
    * Returns all description elements
    * @return list of description 
    */
   public List getAllDescription();

   /**
    * Removes the description element 
    * @return the current instance of InterceptorsType 
    */
   public InterceptorsType removeAllDescription();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: InterceptorsType ElementName: javaee:interceptorType ElementType : interceptor
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

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

   /**
    * Creates a new interceptor element 
    * @return the new created instance of InterceptorType> 
    */
   public InterceptorType> createInterceptor();

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

   /**
    * Removes all interceptor elements 
    * @return the current instance of InterceptorType> 
    */
   public InterceptorsType removeAllInterceptor();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy