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.ejbjar30
Interface EjbJar30Descriptor

All Superinterfaces:
  org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>

All Known Implementing Classes:
  EjbJar30DescriptorImpl

    public interface EjbJar30Descriptor

extends org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<EjbJar30Descriptor>

This deployment descriptor provides the functionalities as described in the ejb-jar_3_0.xsd specification

Example:

`EjbJar30Descriptor descriptor = Descriptors.create(EjbJar30Descriptor.class);`

Since:
  Generation date :2011-07-19T22:54:35.59+02:00
Author:
  Ralf Battenfeld

Method Summary
`AssemblyDescriptorType<EjbJar30Descriptor>` | `assemblyDescriptor()` If not already created, a new `assembly-descriptor` element will be created and returned.
`EnterpriseBeansType<EjbJar30Descriptor>` | `enterpriseBeans()` If not already created, a new `enterprise-beans` element will be created and returned.
`java.util.List<java.lang.String>` | `getDescriptionList()` Returns all `description` elements
`java.util.List<java.lang.String>` | `getDisplayNameList()` Returns all `display-name` elements
`java.lang.String` | `getEjbClientJar()` Returns the `ejb-client-jar` element
`java.util.List<IconType<EjbJar30Descriptor>>` | `getIconList()` Returns all `icon` elements
`java.lang.String` | `getVersion()` Returns the `version` element
`IconType<EjbJar30Descriptor>` | `icon()` Returns the `icon` element
`InterceptorsType<EjbJar30Descriptor>` | `interceptors()` If not already created, a new `interceptors` element will be created and returned.
`java.lang.Boolean` | `isMetadataComplete()` Returns the `metadata-complete` element
`RelationshipsType<EjbJar30Descriptor>` | `relationships()` If not already created, a new `relationships` element will be created and returned.
`EjbJar30Descriptor` | `removeAllDescription()` Removes the `description` element
`EjbJar30Descriptor` | `removeAllDisplayName()` Removes the `display-name` element
`EjbJar30Descriptor` | `removeAllIcon()` Removes all `icon` elements
`EjbJar30Descriptor` | `removeAssemblyDescriptor()` Removes the `assembly-descriptor` element
`EjbJar30Descriptor` | `removeEjbClientJar()` Removes the `ejb-client-jar` element
`EjbJar30Descriptor` | `removeEnterpriseBeans()` Removes the `enterprise-beans` element
`EjbJar30Descriptor` | `removeInterceptors()` Removes the `interceptors` element
`EjbJar30Descriptor` | `removeMetadataComplete()` Removes the `metadata-complete` element
`EjbJar30Descriptor` | `removeRelationships()` Removes the `relationships` element
`EjbJar30Descriptor` | `removeVersion()` Removes the `version` element
`EjbJar30Descriptor` | `setDescription(java.lang.String description)` Creates a new `description` element
`EjbJar30Descriptor` | `setDescriptionList(java.lang.String... values)` Creates for all String objects representing `description` elements, a new `description` element
`EjbJar30Descriptor` | `setDisplayName(java.lang.String displayName)` Creates a new `display-name` element
`EjbJar30Descriptor` | `setDisplayNameList(java.lang.String... values)` Creates for all String objects representing `display-name` elements, a new `display-name` element
`EjbJar30Descriptor` | `setEjbClientJar(java.lang.String ejbClientJar)` If not already created, a new `ejb-client-jar` element with the given value will be created.
`EjbJar30Descriptor` | `setMetadataComplete(java.lang.Boolean metadataComplete)` If not already created, a new `metadata-complete` element with the given value will be created.
`EjbJar30Descriptor` | `setVersion(java.lang.String version)` If not already created, a new `version` element with the given value will be created.

Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
`exportAsString, exportTo, getDescriptorName`

Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
`addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces`

Method Detail

### setDescription

    EjbJar30Descriptor setDescription(java.lang.String description)

  Creates a new `description` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### setDescriptionList

    EjbJar30Descriptor setDescriptionList(java.lang.String... values)

  Creates for all String objects representing `description` elements, a new `description` element

  Parameters:
    `list` - of `description` objects
  Returns:
    the current instance of `EjbJar30Descriptor`

### removeAllDescription

    EjbJar30Descriptor removeAllDescription()

  Removes the `description` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### getDescriptionList

    java.util.List<java.lang.String> getDescriptionList()

  Returns all `description` elements

  Returns:
    list of `description`

### setDisplayName

    EjbJar30Descriptor setDisplayName(java.lang.String displayName)

  Creates a new `display-name` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### setDisplayNameList

    EjbJar30Descriptor setDisplayNameList(java.lang.String... values)

  Creates for all String objects representing `display-name` elements, a new `display-name` element

  Parameters:
    `list` - of `display-name` objects
  Returns:
    the current instance of `EjbJar30Descriptor`

### removeAllDisplayName

    EjbJar30Descriptor removeAllDisplayName()

  Removes the `display-name` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### getDisplayNameList

    java.util.List<java.lang.String> getDisplayNameList()

  Returns all `display-name` elements

  Returns:
    list of `display-name`

### removeAllIcon

    EjbJar30Descriptor removeAllIcon()

  Removes all `icon` elements

  Returns:
    the current instance of `EjbJar30Descriptor`

### icon

    IconType<EjbJar30Descriptor> icon()

  Returns the `icon` element

  Returns:
    the node defined for the element `icon`

### getIconList

    java.util.List<IconType<EjbJar30Descriptor>> getIconList()

  Returns all `icon` elements

  Returns:
    list of `icon`

### removeEnterpriseBeans

    EjbJar30Descriptor removeEnterpriseBeans()

  Removes the `enterprise-beans` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### enterpriseBeans

    EnterpriseBeansType<EjbJar30Descriptor> enterpriseBeans()

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

  Returns:
    the node defined for the element `enterprise-beans`

### removeInterceptors

    EjbJar30Descriptor removeInterceptors()

  Removes the `interceptors` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### interceptors

    InterceptorsType<EjbJar30Descriptor> interceptors()

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

  Returns:
    the node defined for the element `interceptors`

### removeRelationships

    EjbJar30Descriptor removeRelationships()

  Removes the `relationships` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### relationships

    RelationshipsType<EjbJar30Descriptor> relationships()

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

  Returns:
    the node defined for the element `relationships`

### removeAssemblyDescriptor

    EjbJar30Descriptor removeAssemblyDescriptor()

  Removes the `assembly-descriptor` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### assemblyDescriptor

    AssemblyDescriptorType<EjbJar30Descriptor> assemblyDescriptor()

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

  Returns:
    the node defined for the element `assembly-descriptor`

### setEjbClientJar

    EjbJar30Descriptor setEjbClientJar(java.lang.String ejbClientJar)

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

  Returns:
    the current instance of `EjbJar30Descriptor`

### removeEjbClientJar

    EjbJar30Descriptor removeEjbClientJar()

  Removes the `ejb-client-jar` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### getEjbClientJar

    java.lang.String getEjbClientJar()

  Returns the `ejb-client-jar` element

  Returns:
    the node defined for the element `ejb-client-jar`

### setVersion

    EjbJar30Descriptor setVersion(java.lang.String version)

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

  Returns:
    the current instance of `EjbJar30Descriptor`

### removeVersion

    EjbJar30Descriptor removeVersion()

  Removes the `version` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### getVersion

    java.lang.String getVersion()

  Returns the `version` element

  Returns:
    the node defined for the element `version`

### setMetadataComplete

    EjbJar30Descriptor setMetadataComplete(java.lang.Boolean metadataComplete)

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

  Returns:
    the current instance of `EjbJar30Descriptor`

### removeMetadataComplete

    EjbJar30Descriptor removeMetadataComplete()

  Removes the `metadata-complete` element

  Returns:
    the current instance of `EjbJar30Descriptor`

### isMetadataComplete

    java.lang.Boolean isMetadataComplete()

  Returns the `metadata-complete` element

  Returns:
    the node defined for the element `metadata-complete`

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