org.jboss.shrinkwrap.descriptor.api.application6
Interface Application6Descriptor

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>
All Known Implementing Classes:
Application6DescriptorImpl

public interface Application6Descriptor
extends org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application6Descriptor>

This deployment descriptor provides the functionalities as described in the application_6.xsd specification

Example:

Application6Descriptor descriptor = Descriptors.create(Application6Descriptor.class);

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

Method Summary
 DataSourceType<Application6Descriptor> dataSource()
          Returns the data-source element
 EjbLocalRefType<Application6Descriptor> ejbLocalRef()
          Returns the ejb-local-ref element
 EjbRefType<Application6Descriptor> ejbRef()
          Returns the ejb-ref element
 EnvEntryType<Application6Descriptor> envEntry()
          Returns the env-entry element
 java.lang.String getApplicationName()
          Returns the application-name element
 java.util.List<DataSourceType<Application6Descriptor>> getDataSourceList()
          Returns all data-source elements
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.util.List<java.lang.String> getDisplayNameList()
          Returns all display-name elements
 java.util.List<EjbLocalRefType<Application6Descriptor>> getEjbLocalRefList()
          Returns all ejb-local-ref elements
 java.util.List<EjbRefType<Application6Descriptor>> getEjbRefList()
          Returns all ejb-ref elements
 java.util.List<EnvEntryType<Application6Descriptor>> getEnvEntryList()
          Returns all env-entry elements
 java.util.List<IconType<Application6Descriptor>> getIconList()
          Returns all icon elements
 GenericBooleanType getInitializeInOrder()
          Returns the initialize-in-order element
 java.lang.String getInitializeInOrderAsString()
          Returns the initialize-in-order element
 java.lang.String getLibraryDirectory()
          Returns the library-directory element
 java.util.List<MessageDestinationType<Application6Descriptor>> getMessageDestinationList()
          Returns all message-destination elements
 java.util.List<MessageDestinationRefType<Application6Descriptor>> getMessageDestinationRefList()
          Returns all message-destination-ref elements
 java.util.List<ModuleType<Application6Descriptor>> getModuleList()
          Returns all module elements
 java.util.List<PersistenceContextRefType<Application6Descriptor>> getPersistenceContextRefList()
          Returns all persistence-context-ref elements
 java.util.List<PersistenceUnitRefType<Application6Descriptor>> getPersistenceUnitRefList()
          Returns all persistence-unit-ref elements
 java.util.List<ResourceEnvRefType<Application6Descriptor>> getResourceEnvRefList()
          Returns all resource-env-ref elements
 java.util.List<ResourceRefType<Application6Descriptor>> getResourceRefList()
          Returns all resource-ref elements
 java.util.List<SecurityRoleType<Application6Descriptor>> getSecurityRoleList()
          Returns all security-role elements
 java.lang.String getVersion()
          Returns the version element
 IconType<Application6Descriptor> icon()
          Returns the icon element
 MessageDestinationType<Application6Descriptor> messageDestination()
          Returns the message-destination element
 MessageDestinationRefType<Application6Descriptor> messageDestinationRef()
          Returns the message-destination-ref element
 ModuleType<Application6Descriptor> module()
          Returns the module element
 PersistenceContextRefType<Application6Descriptor> persistenceContextRef()
          Returns the persistence-context-ref element
 PersistenceUnitRefType<Application6Descriptor> persistenceUnitRef()
          Returns the persistence-unit-ref element
 Application6Descriptor removeAllDataSource()
          Removes all data-source elements
 Application6Descriptor removeAllDescription()
          Removes the description element
 Application6Descriptor removeAllDisplayName()
          Removes the display-name element
 Application6Descriptor removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 Application6Descriptor removeAllEjbRef()
          Removes all ejb-ref elements
 Application6Descriptor removeAllEnvEntry()
          Removes all env-entry elements
 Application6Descriptor removeAllIcon()
          Removes all icon elements
 Application6Descriptor removeAllMessageDestination()
          Removes all message-destination elements
 Application6Descriptor removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 Application6Descriptor removeAllModule()
          Removes all module elements
 Application6Descriptor removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 Application6Descriptor removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 Application6Descriptor removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 Application6Descriptor removeAllResourceRef()
          Removes all resource-ref elements
 Application6Descriptor removeAllSecurityRole()
          Removes all security-role elements
 Application6Descriptor removeApplicationName()
          Removes the application-name element
 Application6Descriptor removeLibraryDirectory()
          Removes the library-directory element
 Application6Descriptor removeVersion()
          Removes the version element
 ResourceEnvRefType<Application6Descriptor> resourceEnvRef()
          Returns the resource-env-ref element
 ResourceRefType<Application6Descriptor> resourceRef()
          Returns the resource-ref element
 SecurityRoleType<Application6Descriptor> securityRole()
          Returns the security-role element
 Application6Descriptor setApplicationName(java.lang.String applicationName)
          If not already created, a new application-name element with the given value will be created.
 Application6Descriptor setDescription(java.lang.String description)
          Creates a new description element
 Application6Descriptor setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 Application6Descriptor setDisplayName(java.lang.String displayName)
          Creates a new display-name element
 Application6Descriptor setDisplayNameList(java.lang.String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 Application6Descriptor setInitializeInOrder(GenericBooleanType initializeInOrder)
          If not already created, a new initialize-in-order element with the given value will be created.
 Application6Descriptor setInitializeInOrder(java.lang.String initializeInOrder)
          If not already created, a new initialize-in-order element with the given value will be created.
 Application6Descriptor setLibraryDirectory(java.lang.String libraryDirectory)
          If not already created, a new library-directory element with the given value will be created.
 Application6Descriptor 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

Application6Descriptor setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of Application6Descriptor

setDescriptionList

Application6Descriptor 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 Application6Descriptor

removeAllDescription

Application6Descriptor removeAllDescription()
Removes the description element

Returns:
the current instance of Application6Descriptor

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

setDisplayName

Application6Descriptor setDisplayName(java.lang.String displayName)
Creates a new display-name element

Returns:
the current instance of Application6Descriptor

setDisplayNameList

Application6Descriptor 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 Application6Descriptor

removeAllDisplayName

Application6Descriptor removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of Application6Descriptor

getDisplayNameList

java.util.List<java.lang.String> getDisplayNameList()
Returns all display-name elements

Returns:
list of display-name

removeAllIcon

Application6Descriptor removeAllIcon()
Removes all icon elements

Returns:
the current instance of Application6Descriptor

icon

IconType<Application6Descriptor> icon()
Returns the icon element

Returns:
the node defined for the element icon

getIconList

java.util.List<IconType<Application6Descriptor>> getIconList()
Returns all icon elements

Returns:
list of icon

setApplicationName

Application6Descriptor setApplicationName(java.lang.String applicationName)
If not already created, a new application-name element with the given value will be created. Otherwise, the existing application-name element will be updated with the given value.

Returns:
the current instance of Application6Descriptor

removeApplicationName

Application6Descriptor removeApplicationName()
Removes the application-name element

Returns:
the current instance of Application6Descriptor

getApplicationName

java.lang.String getApplicationName()
Returns the application-name element

Returns:
the node defined for the element application-name

setInitializeInOrder

Application6Descriptor setInitializeInOrder(GenericBooleanType initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. Otherwise, the existing initialize-in-order element will be updated with the given value.

Returns:
the current instance of Application6Descriptor

setInitializeInOrder

Application6Descriptor setInitializeInOrder(java.lang.String initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. Otherwise, the existing initialize-in-order element will be updated with the given value.

Returns:
the current instance of Application6Descriptor

getInitializeInOrder

GenericBooleanType getInitializeInOrder()
Returns the initialize-in-order element

Returns:
the node defined for the element initialize-in-order

getInitializeInOrderAsString

java.lang.String getInitializeInOrderAsString()
Returns the initialize-in-order element

Returns:
the node defined for the element initialize-in-order

removeAllModule

Application6Descriptor removeAllModule()
Removes all module elements

Returns:
the current instance of Application6Descriptor

module

ModuleType<Application6Descriptor> module()
Returns the module element

Returns:
the node defined for the element module

getModuleList

java.util.List<ModuleType<Application6Descriptor>> getModuleList()
Returns all module elements

Returns:
list of module

removeAllSecurityRole

Application6Descriptor removeAllSecurityRole()
Removes all security-role elements

Returns:
the current instance of Application6Descriptor

securityRole

SecurityRoleType<Application6Descriptor> securityRole()
Returns the security-role element

Returns:
the node defined for the element security-role

getSecurityRoleList

java.util.List<SecurityRoleType<Application6Descriptor>> getSecurityRoleList()
Returns all security-role elements

Returns:
list of security-role

setLibraryDirectory

Application6Descriptor setLibraryDirectory(java.lang.String libraryDirectory)
If not already created, a new library-directory element with the given value will be created. Otherwise, the existing library-directory element will be updated with the given value.

Returns:
the current instance of Application6Descriptor

removeLibraryDirectory

Application6Descriptor removeLibraryDirectory()
Removes the library-directory element

Returns:
the current instance of Application6Descriptor

getLibraryDirectory

java.lang.String getLibraryDirectory()
Returns the library-directory element

Returns:
the node defined for the element library-directory

removeAllEnvEntry

Application6Descriptor removeAllEnvEntry()
Removes all env-entry elements

Returns:
the current instance of Application6Descriptor

envEntry

EnvEntryType<Application6Descriptor> envEntry()
Returns the env-entry element

Returns:
the node defined for the element env-entry

getEnvEntryList

java.util.List<EnvEntryType<Application6Descriptor>> getEnvEntryList()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEjbRef

Application6Descriptor removeAllEjbRef()
Removes all ejb-ref elements

Returns:
the current instance of Application6Descriptor

ejbRef

EjbRefType<Application6Descriptor> ejbRef()
Returns the ejb-ref element

Returns:
the node defined for the element ejb-ref

getEjbRefList

java.util.List<EjbRefType<Application6Descriptor>> getEjbRefList()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbLocalRef

Application6Descriptor removeAllEjbLocalRef()
Removes all ejb-local-ref elements

Returns:
the current instance of Application6Descriptor

ejbLocalRef

EjbLocalRefType<Application6Descriptor> ejbLocalRef()
Returns the ejb-local-ref element

Returns:
the node defined for the element ejb-local-ref

getEjbLocalRefList

java.util.List<EjbLocalRefType<Application6Descriptor>> getEjbLocalRefList()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllResourceRef

Application6Descriptor removeAllResourceRef()
Removes all resource-ref elements

Returns:
the current instance of Application6Descriptor

resourceRef

ResourceRefType<Application6Descriptor> resourceRef()
Returns the resource-ref element

Returns:
the node defined for the element resource-ref

getResourceRefList

java.util.List<ResourceRefType<Application6Descriptor>> getResourceRefList()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceEnvRef

Application6Descriptor removeAllResourceEnvRef()
Removes all resource-env-ref elements

Returns:
the current instance of Application6Descriptor

resourceEnvRef

ResourceEnvRefType<Application6Descriptor> resourceEnvRef()
Returns the resource-env-ref element

Returns:
the node defined for the element resource-env-ref

getResourceEnvRefList

java.util.List<ResourceEnvRefType<Application6Descriptor>> getResourceEnvRefList()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllMessageDestinationRef

Application6Descriptor removeAllMessageDestinationRef()
Removes all message-destination-ref elements

Returns:
the current instance of Application6Descriptor

messageDestinationRef

MessageDestinationRefType<Application6Descriptor> messageDestinationRef()
Returns the message-destination-ref element

Returns:
the node defined for the element message-destination-ref

getMessageDestinationRefList

java.util.List<MessageDestinationRefType<Application6Descriptor>> getMessageDestinationRefList()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllPersistenceContextRef

Application6Descriptor removeAllPersistenceContextRef()
Removes all persistence-context-ref elements

Returns:
the current instance of Application6Descriptor

persistenceContextRef

PersistenceContextRefType<Application6Descriptor> persistenceContextRef()
Returns the persistence-context-ref element

Returns:
the node defined for the element persistence-context-ref

getPersistenceContextRefList

java.util.List<PersistenceContextRefType<Application6Descriptor>> getPersistenceContextRefList()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceUnitRef

Application6Descriptor removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements

Returns:
the current instance of Application6Descriptor

persistenceUnitRef

PersistenceUnitRefType<Application6Descriptor> persistenceUnitRef()
Returns the persistence-unit-ref element

Returns:
the node defined for the element persistence-unit-ref

getPersistenceUnitRefList

java.util.List<PersistenceUnitRefType<Application6Descriptor>> getPersistenceUnitRefList()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllMessageDestination

Application6Descriptor removeAllMessageDestination()
Removes all message-destination elements

Returns:
the current instance of Application6Descriptor

messageDestination

MessageDestinationType<Application6Descriptor> messageDestination()
Returns the message-destination element

Returns:
the node defined for the element message-destination

getMessageDestinationList

java.util.List<MessageDestinationType<Application6Descriptor>> getMessageDestinationList()
Returns all message-destination elements

Returns:
list of message-destination

removeAllDataSource

Application6Descriptor removeAllDataSource()
Removes all data-source elements

Returns:
the current instance of Application6Descriptor

dataSource

DataSourceType<Application6Descriptor> dataSource()
Returns the data-source element

Returns:
the node defined for the element data-source

getDataSourceList

java.util.List<DataSourceType<Application6Descriptor>> getDataSourceList()
Returns all data-source elements

Returns:
list of data-source

setVersion

Application6Descriptor 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 Application6Descriptor

removeVersion

Application6Descriptor removeVersion()
Removes the version element

Returns:
the current instance of Application6Descriptor

getVersion

java.lang.String getVersion()
Returns the version element

Returns:
the node defined for the element version