ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface InterceptorsType<T>
extends Child<T>

This interface defines the contract for the interceptorsType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 InterceptorType<InterceptorsType<T>> createInterceptor()
          Creates a new interceptor element
 InterceptorsType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<InterceptorType<InterceptorsType<T>>> getAllInterceptor()
          Returns all interceptor elements
 InterceptorType<InterceptorsType<T>> getOrCreateInterceptor()
          If not already created, a new interceptor element will be created and returned.
 InterceptorsType<T> removeAllDescription()
          Removes the description element
 InterceptorsType<T> removeAllInterceptor()
          Removes all interceptor elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

InterceptorsType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of InterceptorsType

getOrCreateInterceptor

InterceptorType<InterceptorsType<T>> getOrCreateInterceptor()
If not already created, a new interceptor element will be created and returned. Otherwise, the first existing interceptor element will be returned.

Returns:
the instance defined for the element interceptor

createInterceptor

InterceptorType<InterceptorsType<T>> createInterceptor()
Creates a new interceptor element

Returns:
the new created instance of InterceptorType>

getAllInterceptor

List<InterceptorType<InterceptorsType<T>>> getAllInterceptor()
Returns all interceptor elements

Returns:
list of interceptor

removeAllInterceptor

InterceptorsType<T> removeAllInterceptor()
Removes all interceptor elements

Returns:
the current instance of InterceptorType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.