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 :2013-01-26T19:26:58.657+01: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
 String getId()
          Returns the id attribute
 InterceptorType<InterceptorsType<T>> getOrCreateInterceptor()
          If not already created, a new interceptor element will be created and returned.
 InterceptorsType<T> id(String id)
          Sets the id attribute
 InterceptorsType<T> removeAllDescription()
          Removes the description element
 InterceptorsType<T> removeAllInterceptor()
          Removes all interceptor elements
 InterceptorsType<T> removeId()
          Removes the id attribute
 
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>

id

InterceptorsType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of InterceptorsType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

InterceptorsType<T> removeId()
Removes the id attribute

Returns:
the current instance of InterceptorsType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.