org.jboss.shrinkwrap.descriptor.api.application5
Interface Application5Descriptor

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

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

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

Example:

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

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

Method Summary
 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<IconType<Application5Descriptor>> getIconList()
          Returns all icon elements
 java.lang.String getLibraryDirectory()
          Returns the library-directory element
 java.util.List<ModuleType<Application5Descriptor>> getModuleList()
          Returns all module elements
 java.util.List<SecurityRoleType<Application5Descriptor>> getSecurityRoleList()
          Returns all security-role elements
 java.lang.String getVersion()
          Returns the version element
 IconType<Application5Descriptor> icon()
          Returns the icon element
 ModuleType<Application5Descriptor> module()
          Returns the module element
 Application5Descriptor removeAllDescription()
          Removes the description element
 Application5Descriptor removeAllDisplayName()
          Removes the display-name element
 Application5Descriptor removeAllIcon()
          Removes all icon elements
 Application5Descriptor removeAllModule()
          Removes all module elements
 Application5Descriptor removeAllSecurityRole()
          Removes all security-role elements
 Application5Descriptor removeLibraryDirectory()
          Removes the library-directory element
 Application5Descriptor removeVersion()
          Removes the version element
 SecurityRoleType<Application5Descriptor> securityRole()
          Returns the security-role element
 Application5Descriptor setDescription(java.lang.String description)
          Creates a new description element
 Application5Descriptor setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 Application5Descriptor setDisplayName(java.lang.String displayName)
          Creates a new display-name element
 Application5Descriptor setDisplayNameList(java.lang.String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 Application5Descriptor setLibraryDirectory(java.lang.String libraryDirectory)
          If not already created, a new library-directory element with the given value will be created.
 Application5Descriptor 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

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

Returns:
the current instance of Application5Descriptor

setDescriptionList

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

removeAllDescription

Application5Descriptor removeAllDescription()
Removes the description element

Returns:
the current instance of Application5Descriptor

getDescriptionList

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

Returns:
list of description

setDisplayName

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

Returns:
the current instance of Application5Descriptor

setDisplayNameList

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

removeAllDisplayName

Application5Descriptor removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of Application5Descriptor

getDisplayNameList

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

Returns:
list of display-name

removeAllIcon

Application5Descriptor removeAllIcon()
Removes all icon elements

Returns:
the current instance of Application5Descriptor

icon

IconType<Application5Descriptor> icon()
Returns the icon element

Returns:
the node defined for the element icon

getIconList

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

Returns:
list of icon

removeAllModule

Application5Descriptor removeAllModule()
Removes all module elements

Returns:
the current instance of Application5Descriptor

module

ModuleType<Application5Descriptor> module()
Returns the module element

Returns:
the node defined for the element module

getModuleList

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

Returns:
list of module

removeAllSecurityRole

Application5Descriptor removeAllSecurityRole()
Removes all security-role elements

Returns:
the current instance of Application5Descriptor

securityRole

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

Returns:
the node defined for the element security-role

getSecurityRoleList

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

Returns:
list of security-role

setLibraryDirectory

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

removeLibraryDirectory

Application5Descriptor removeLibraryDirectory()
Removes the library-directory element

Returns:
the current instance of Application5Descriptor

getLibraryDirectory

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

Returns:
the node defined for the element library-directory

setVersion

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

removeVersion

Application5Descriptor removeVersion()
Removes the version element

Returns:
the current instance of Application5Descriptor

getVersion

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

Returns:
the node defined for the element version