|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModuleType<T>
This interface defines the contract for the moduleType xsd type
Original Documentation:
The moduleType defines a single Java EE module and contains a
connector, ejb, java, or web element, which indicates the
module type and contains a path to the module file, and an
optional alt-dd element, which specifies an optional URI to
the post-assembly version of the deployment descriptor.
| Method Summary | |
|---|---|
java.lang.String |
getAltDd()
Returns the alt-dd element |
java.lang.String |
getConnector()
Returns the connector element |
java.lang.String |
getEjb()
Returns the ejb element |
java.lang.String |
getJava()
Returns 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 |
ModuleType<T> |
setAltDd(java.lang.String altDd)
If not already created, a new alt-dd element with the given value will be created. |
ModuleType<T> |
setConnector(java.lang.String connector)
If not already created, a new connector element with the given value will be created. |
ModuleType<T> |
setEjb(java.lang.String ejb)
If not already created, a new ejb element with the given value will be created. |
ModuleType<T> |
setJava(java.lang.String java)
If not already created, a new java element with the given value will be created. |
WebType<ModuleType<T>> |
web()
If not already created, a new web element will be created and returned. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
ModuleType<T> setAltDd(java.lang.String altDd)
alt-dd element with the given value will be created.
Otherwise, the existing alt-dd element will be updated with the given value.
ModuleTypeModuleType<T> removeAltDd()
alt-dd element
ModuleTypejava.lang.String getAltDd()
alt-dd element
alt-ddModuleType<T> setConnector(java.lang.String connector)
connector element with the given value will be created.
Otherwise, the existing connector element will be updated with the given value.
ModuleTypeModuleType<T> removeConnector()
connector element
ModuleTypejava.lang.String getConnector()
connector element
connectorModuleType<T> setEjb(java.lang.String ejb)
ejb element with the given value will be created.
Otherwise, the existing ejb element will be updated with the given value.
ModuleTypeModuleType<T> removeEjb()
ejb element
ModuleTypejava.lang.String getEjb()
ejb element
ejbModuleType<T> setJava(java.lang.String java)
java element with the given value will be created.
Otherwise, the existing java element will be updated with the given value.
ModuleTypeModuleType<T> removeJava()
java element
ModuleTypejava.lang.String getJava()
java element
javaModuleType<T> removeWeb()
web element
ModuleTypeWebType<ModuleType<T>> web()
web element will be created and returned.
Otherwise, the existing web element will be returned.
web
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||