org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface InterceptorsType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
InterceptorsTypeImpl

public interface InterceptorsType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the interceptorsType xsd type

Original Documentation:



The interceptorsType element declares one or more interceptor
classes used by components within this ejb-jar. The declaration
consists of :

- An optional description.
- One or more interceptor elements.


Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.util.List<InterceptorType<InterceptorsType<T>>> getInterceptorList()
          Returns all interceptor elements
 InterceptorType<InterceptorsType<T>> interceptor()
          Returns the interceptor element
 InterceptorsType<T> removeAllDescription()
          Removes the description element
 InterceptorsType<T> removeAllInterceptor()
          Removes all interceptor elements
 InterceptorsType<T> setDescription(java.lang.String description)
          Creates a new description element
 InterceptorsType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setDescription

InterceptorsType<T> setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of InterceptorsType

setDescriptionList

InterceptorsType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
list - of description objects
Returns:
the current instance of InterceptorsType

removeAllDescription

InterceptorsType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of InterceptorsType

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

removeAllInterceptor

InterceptorsType<T> removeAllInterceptor()
Removes all interceptor elements

Returns:
the current instance of InterceptorsType

interceptor

InterceptorType<InterceptorsType<T>> interceptor()
Returns the interceptor element

Returns:
the node defined for the element interceptor

getInterceptorList

java.util.List<InterceptorType<InterceptorsType<T>>> getInterceptorList()
Returns all interceptor elements

Returns:
list of interceptor