ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.application6
Interface ModuleType<T>

All Superinterfaces:
Child<T>

public interface ModuleType<T>
extends Child<T>

This interface defines the contract for the moduleType xsd type

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

Method Summary
 ModuleType<T> altDd(String altDd)
          Sets the alt-dd element
 ModuleType<T> connector(String connector)
          Sets the connector element
 ModuleType<T> ejb(String ejb)
          Sets the ejb element
 String getAltDd()
          Returns the alt-dd element
 String getConnector()
          Returns the connector element
 String getEjb()
          Returns the ejb element
 String getJava()
          Returns the java element
 WebType<ModuleType<T>> getOrCreateWeb()
          If not already created, a new web element with the given value will be created.
 ModuleType<T> java(String java)
          Sets the java element
 ModuleType<T> removeAltDd()
          Removes the alt-dd element
 ModuleType<T> removeConnector()
          Removes the connector element
 ModuleType<T> removeEjb()
          Removes the ejb element
 ModuleType<T> removeJava()
          Removes the java element
 ModuleType<T> removeWeb()
          Removes the web element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

connector

ModuleType<T> connector(String connector)
Sets the connector element

Parameters:
connector - the value for the element connector
Returns:
the current instance of ModuleType

getConnector

String getConnector()
Returns the connector element

Returns:
the node defined for the element connector

removeConnector

ModuleType<T> removeConnector()
Removes the connector element

Returns:
the current instance of ModuleType

ejb

ModuleType<T> ejb(String ejb)
Sets the ejb element

Parameters:
ejb - the value for the element ejb
Returns:
the current instance of ModuleType

getEjb

String getEjb()
Returns the ejb element

Returns:
the node defined for the element ejb

removeEjb

ModuleType<T> removeEjb()
Removes the ejb element

Returns:
the current instance of ModuleType

java

ModuleType<T> java(String java)
Sets the java element

Parameters:
java - the value for the element java
Returns:
the current instance of ModuleType

getJava

String getJava()
Returns the java element

Returns:
the node defined for the element java

removeJava

ModuleType<T> removeJava()
Removes the java element

Returns:
the current instance of ModuleType

getOrCreateWeb

WebType<ModuleType<T>> getOrCreateWeb()
If not already created, a new web element with the given value will be created. Otherwise, the existing web element will be returned.

Returns:
a new or existing instance of WebType>

removeWeb

ModuleType<T> removeWeb()
Removes the web element

Returns:
the current instance of ModuleType

altDd

ModuleType<T> altDd(String altDd)
Sets the alt-dd element

Parameters:
altDd - the value for the element alt-dd
Returns:
the current instance of ModuleType

getAltDd

String getAltDd()
Returns the alt-dd element

Returns:
the node defined for the element alt-dd

removeAltDd

ModuleType<T> removeAltDd()
Removes the alt-dd element

Returns:
the current instance of ModuleType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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