Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

All Superinterfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>

All Known Implementing Classes:
  ModuleTypeImpl

    public interface ModuleType<T>

extends org.jboss.shrinkwrap.descriptor.api.Child<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.

Since:
  Generation date :2011-07-19T22:55:02.759+02:00
Author:
  Ralf Battenfeld

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

### setAltDd

    ModuleType<T> setAltDd(java.lang.String altDd)

  If not already created, a new `alt-dd` element with the given value will be created. Otherwise, the existing `alt-dd` element will be updated with the given value.

  Returns:
    the current instance of `ModuleType`

### removeAltDd

    ModuleType<T> removeAltDd()

  Removes the `alt-dd` element

  Returns:
    the current instance of `ModuleType`

### getAltDd

    java.lang.String getAltDd()

  Returns the `alt-dd` element

  Returns:
    the node defined for the element `alt-dd`

### setConnector

    ModuleType<T> setConnector(java.lang.String connector)

  If not already created, a new `connector` element with the given value will be created. Otherwise, the existing `connector` element will be updated with the given value.

  Returns:
    the current instance of `ModuleType`

### removeConnector

    ModuleType<T> removeConnector()

  Removes the `connector` element

  Returns:
    the current instance of `ModuleType`

### getConnector

    java.lang.String getConnector()

  Returns the `connector` element

  Returns:
    the node defined for the element `connector`

### setEjb

    ModuleType<T> setEjb(java.lang.String ejb)

  If not already created, a new `ejb` element with the given value will be created. Otherwise, the existing `ejb` element will be updated with the given value.

  Returns:
    the current instance of `ModuleType`

### removeEjb

    ModuleType<T> removeEjb()

  Removes the `ejb` element

  Returns:
    the current instance of `ModuleType`

### getEjb

    java.lang.String getEjb()

  Returns the `ejb` element

  Returns:
    the node defined for the element `ejb`

### setJava

    ModuleType<T> setJava(java.lang.String java)

  If not already created, a new `java` element with the given value will be created. Otherwise, the existing `java` element will be updated with the given value.

  Returns:
    the current instance of `ModuleType`

### removeJava

    ModuleType<T> removeJava()

  Removes the `java` element

  Returns:
    the current instance of `ModuleType`

### getJava

    java.lang.String getJava()

  Returns the `java` element

  Returns:
    the node defined for the element `java`

### removeWeb

    ModuleType<T> removeWeb()

  Removes the `web` element

  Returns:
    the current instance of `ModuleType`

### web

    WebType<ModuleType<T>> web()

  If not already created, a new `web` element will be created and returned. Otherwise, the existing `web` element will be returned.

  Returns:
    the node defined for the element `web`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD