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 :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 Alternatives<Beans<T>> getOrCreateAlternatives()
          If not already created, a new alternatives element with the given value will be created.
 Decorators<Beans<T>> getOrCreateDecorators()
          If not already created, a new decorators element with the given value will be created.
 Interceptors<Beans<T>> getOrCreateInterceptors()
          If not already created, a new interceptors element with the given value will be created.
 Beans<T> removeAlternatives()
          Removes the alternatives element
 Beans<T> removeDecorators()
          Removes the decorators element
 Beans<T> removeInterceptors()
          Removes the interceptors element
 
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 with the given value will be created. Otherwise, the existing interceptors element will be returned.

Returns:
a new or existing instance of Interceptors>

removeInterceptors

Beans<T> removeInterceptors()
Removes the interceptors element

Returns:
the current instance of Beans

getOrCreateDecorators

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

Returns:
a new or existing instance of Decorators>

removeDecorators

Beans<T> removeDecorators()
Removes the decorators element

Returns:
the current instance of Beans

getOrCreateAlternatives

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

Returns:
a new or existing instance of Alternatives>

removeAlternatives

Beans<T> removeAlternatives()
Removes the alternatives element

Returns:
the current instance of Beans


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