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

All Superinterfaces:
Child<T>

public interface DependsOnType<T>
extends Child<T>

This interface defines the contract for the depends-onType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 DependsOnType<T> ejbName(String... values)
          Creates for all String objects representing ejb-name elements, a new ejb-name element
 List<String> getAllEjbName()
          Returns all ejb-name elements
 String getId()
          Returns the id attribute
 DependsOnType<T> id(String id)
          Sets the id attribute
 DependsOnType<T> removeAllEjbName()
          Removes the ejb-name element
 DependsOnType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

ejbName

DependsOnType<T> ejbName(String... values)
Creates for all String objects representing ejb-name elements, a new ejb-name element

Parameters:
values - list of ejb-name objects
Returns:
the current instance of DependsOnType

getAllEjbName

List<String> getAllEjbName()
Returns all ejb-name elements

Returns:
list of ejb-name

removeAllEjbName

DependsOnType<T> removeAllEjbName()
Removes the ejb-name element

Returns:
the current instance of DependsOnType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

DependsOnType<T> removeId()
Removes the id attribute

Returns:
the current instance of DependsOnType


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