ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface Alternatives<T>
extends Child<T>

This interface defines the contract for the alternatives xsd type

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

Method Summary
 Alternatives<T> clazz(String... values)
          Creates for all String objects representing class elements, a new class element
 List<String> getAllClazz()
          Returns all class elements
 List<String> getAllStereotype()
          Returns all stereotype elements
 Alternatives<T> removeAllClazz()
          Removes the class element
 Alternatives<T> removeAllStereotype()
          Removes the stereotype element
 Alternatives<T> stereotype(String... values)
          Creates for all String objects representing stereotype elements, a new stereotype element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

clazz

Alternatives<T> clazz(String... values)
Creates for all String objects representing class elements, a new class element

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

getAllClazz

List<String> getAllClazz()
Returns all class elements

Returns:
list of class

removeAllClazz

Alternatives<T> removeAllClazz()
Removes the class element

Returns:
the current instance of Alternatives

stereotype

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

Parameters:
values - list of stereotype objects
Returns:
the current instance of Alternatives

getAllStereotype

List<String> getAllStereotype()
Returns all stereotype elements

Returns:
list of stereotype

removeAllStereotype

Alternatives<T> removeAllStereotype()
Removes the stereotype element

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.