ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface InterceptorBindingType<T>

All Superinterfaces:
Child<T>

public interface InterceptorBindingType<T>
extends Child<T>

This interface defines the contract for the interceptor-bindingType xsd type

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

Method Summary
 InterceptorBindingType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 InterceptorBindingType<T> ejbName(String ejbName)
          Sets the ejb-name element
 InterceptorBindingType<T> excludeClassInterceptors(Boolean excludeClassInterceptors)
          Sets the exclude-class-interceptors element
 InterceptorBindingType<T> excludeDefaultInterceptors(Boolean excludeDefaultInterceptors)
          Sets the exclude-default-interceptors element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllInterceptorClass()
          Returns all interceptor-class elements
 String getEjbName()
          Returns the ejb-name element
 InterceptorOrderType<InterceptorBindingType<T>> getOrCreateInterceptorOrder()
          If not already created, a new interceptor-order element with the given value will be created.
 NamedMethodType<InterceptorBindingType<T>> getOrCreateMethod()
          If not already created, a new method element with the given value will be created.
 InterceptorBindingType<T> interceptorClass(String... values)
          Creates for all String objects representing interceptor-class elements, a new interceptor-class element
 Boolean isExcludeClassInterceptors()
          Returns the exclude-class-interceptors element
 Boolean isExcludeDefaultInterceptors()
          Returns the exclude-default-interceptors element
 InterceptorBindingType<T> removeAllDescription()
          Removes the description element
 InterceptorBindingType<T> removeAllInterceptorClass()
          Removes the interceptor-class element
 InterceptorBindingType<T> removeEjbName()
          Removes the ejb-name element
 InterceptorBindingType<T> removeExcludeClassInterceptors()
          Removes the exclude-class-interceptors element
 InterceptorBindingType<T> removeExcludeDefaultInterceptors()
          Removes the exclude-default-interceptors element
 InterceptorBindingType<T> removeInterceptorOrder()
          Removes the interceptor-order element
 InterceptorBindingType<T> removeMethod()
          Removes the method element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

InterceptorBindingType<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 InterceptorBindingType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

InterceptorBindingType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of InterceptorBindingType

ejbName

InterceptorBindingType<T> ejbName(String ejbName)
Sets the ejb-name element

Parameters:
ejbName - the value for the element ejb-name
Returns:
the current instance of InterceptorBindingType

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

InterceptorBindingType<T> removeEjbName()
Removes the ejb-name element

Returns:
the current instance of InterceptorBindingType

interceptorClass

InterceptorBindingType<T> interceptorClass(String... values)
Creates for all String objects representing interceptor-class elements, a new interceptor-class element

Parameters:
values - list of interceptor-class objects
Returns:
the current instance of InterceptorBindingType

getAllInterceptorClass

List<String> getAllInterceptorClass()
Returns all interceptor-class elements

Returns:
list of interceptor-class

removeAllInterceptorClass

InterceptorBindingType<T> removeAllInterceptorClass()
Removes the interceptor-class element

Returns:
the current instance of InterceptorBindingType

getOrCreateInterceptorOrder

InterceptorOrderType<InterceptorBindingType<T>> getOrCreateInterceptorOrder()
If not already created, a new interceptor-order element with the given value will be created. Otherwise, the existing interceptor-order element will be returned.

Returns:
a new or existing instance of InterceptorOrderType>

removeInterceptorOrder

InterceptorBindingType<T> removeInterceptorOrder()
Removes the interceptor-order element

Returns:
the current instance of InterceptorBindingType

excludeDefaultInterceptors

InterceptorBindingType<T> excludeDefaultInterceptors(Boolean excludeDefaultInterceptors)
Sets the exclude-default-interceptors element

Parameters:
excludeDefaultInterceptors - the value for the element exclude-default-interceptors
Returns:
the current instance of InterceptorBindingType

isExcludeDefaultInterceptors

Boolean isExcludeDefaultInterceptors()
Returns the exclude-default-interceptors element

Returns:
the node defined for the element exclude-default-interceptors

removeExcludeDefaultInterceptors

InterceptorBindingType<T> removeExcludeDefaultInterceptors()
Removes the exclude-default-interceptors element

Returns:
the current instance of InterceptorBindingType

excludeClassInterceptors

InterceptorBindingType<T> excludeClassInterceptors(Boolean excludeClassInterceptors)
Sets the exclude-class-interceptors element

Parameters:
excludeClassInterceptors - the value for the element exclude-class-interceptors
Returns:
the current instance of InterceptorBindingType

isExcludeClassInterceptors

Boolean isExcludeClassInterceptors()
Returns the exclude-class-interceptors element

Returns:
the node defined for the element exclude-class-interceptors

removeExcludeClassInterceptors

InterceptorBindingType<T> removeExcludeClassInterceptors()
Removes the exclude-class-interceptors element

Returns:
the current instance of InterceptorBindingType

getOrCreateMethod

NamedMethodType<InterceptorBindingType<T>> getOrCreateMethod()
If not already created, a new method element with the given value will be created. Otherwise, the existing method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeMethod

InterceptorBindingType<T> removeMethod()
Removes the method element

Returns:
the current instance of InterceptorBindingType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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