ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.beans10
Interface Beans<T>

All Superinterfaces:
Child<T>

public interface Beans<T>
extends Child<T>

This interface defines the contract for the beans xsd type

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

Method Summary
 Alternatives<Beans<T>> createAlternatives()
          Creates a new alternatives element
 Decorators<Beans<T>> createDecorators()
          Creates a new decorators element
 Interceptors<Beans<T>> createInterceptors()
          Creates a new interceptors element
 List<Alternatives<Beans<T>>> getAllAlternatives()
          Returns all alternatives elements
 List<Decorators<Beans<T>>> getAllDecorators()
          Returns all decorators elements
 List<Interceptors<Beans<T>>> getAllInterceptors()
          Returns all interceptors elements
 Alternatives<Beans<T>> getOrCreateAlternatives()
          If not already created, a new alternatives element will be created and returned.
 Decorators<Beans<T>> getOrCreateDecorators()
          If not already created, a new decorators element will be created and returned.
 Interceptors<Beans<T>> getOrCreateInterceptors()
          If not already created, a new interceptors element will be created and returned.
 Beans<T> removeAllAlternatives()
          Removes all alternatives elements
 Beans<T> removeAllDecorators()
          Removes all decorators elements
 Beans<T> removeAllInterceptors()
          Removes all interceptors elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateInterceptors

Interceptors<Beans<T>> getOrCreateInterceptors()
If not already created, a new interceptors element will be created and returned. Otherwise, the first existing interceptors element will be returned.

Returns:
the instance defined for the element interceptors

createInterceptors

Interceptors<Beans<T>> createInterceptors()
Creates a new interceptors element

Returns:
the new created instance of Interceptors>

getAllInterceptors

List<Interceptors<Beans<T>>> getAllInterceptors()
Returns all interceptors elements

Returns:
list of interceptors

removeAllInterceptors

Beans<T> removeAllInterceptors()
Removes all interceptors elements

Returns:
the current instance of Interceptors>

getOrCreateDecorators

Decorators<Beans<T>> getOrCreateDecorators()
If not already created, a new decorators element will be created and returned. Otherwise, the first existing decorators element will be returned.

Returns:
the instance defined for the element decorators

createDecorators

Decorators<Beans<T>> createDecorators()
Creates a new decorators element

Returns:
the new created instance of Decorators>

getAllDecorators

List<Decorators<Beans<T>>> getAllDecorators()
Returns all decorators elements

Returns:
list of decorators

removeAllDecorators

Beans<T> removeAllDecorators()
Removes all decorators elements

Returns:
the current instance of Decorators>

getOrCreateAlternatives

Alternatives<Beans<T>> getOrCreateAlternatives()
If not already created, a new alternatives element will be created and returned. Otherwise, the first existing alternatives element will be returned.

Returns:
the instance defined for the element alternatives

createAlternatives

Alternatives<Beans<T>> createAlternatives()
Creates a new alternatives element

Returns:
the new created instance of Alternatives>

getAllAlternatives

List<Alternatives<Beans<T>>> getAllAlternatives()
Returns all alternatives elements

Returns:
list of alternatives

removeAllAlternatives

Beans<T> removeAllAlternatives()
Removes all alternatives elements

Returns:
the current instance of Alternatives>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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