ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.application5
Interface ApplicationType<T>

All Superinterfaces:
Child<T>

public interface ApplicationType<T>
extends Child<T>

This interface defines the contract for the applicationType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 IconType<ApplicationType<T>> createIcon()
          Creates a new icon element
 ModuleType<ApplicationType<T>> createModule()
          Creates a new module element
 SecurityRoleType<ApplicationType<T>> createSecurityRole()
          Creates a new security-role element
 ApplicationType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 ApplicationType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<ApplicationType<T>>> getAllIcon()
          Returns all icon elements
 List<ModuleType<ApplicationType<T>>> getAllModule()
          Returns all module elements
 List<SecurityRoleType<ApplicationType<T>>> getAllSecurityRole()
          Returns all security-role elements
 String getLibraryDirectory()
          Returns the library-directory element
 IconType<ApplicationType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 ModuleType<ApplicationType<T>> getOrCreateModule()
          If not already created, a new module element will be created and returned.
 SecurityRoleType<ApplicationType<T>> getOrCreateSecurityRole()
          If not already created, a new security-role element will be created and returned.
 String getVersion()
          Returns the version attribute
 ApplicationType<T> libraryDirectory(String libraryDirectory)
          Sets the library-directory element
 ApplicationType<T> removeAllDescription()
          Removes the description element
 ApplicationType<T> removeAllDisplayName()
          Removes the display-name element
 ApplicationType<T> removeAllIcon()
          Removes all icon elements
 ApplicationType<T> removeAllModule()
          Removes all module elements
 ApplicationType<T> removeAllSecurityRole()
          Removes all security-role elements
 ApplicationType<T> removeLibraryDirectory()
          Removes the library-directory element
 ApplicationType<T> removeVersion()
          Removes the version attribute
 ApplicationType<T> version(String version)
          Sets the version attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

ApplicationType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ApplicationType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ApplicationType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ApplicationType

displayName

ApplicationType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of ApplicationType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

ApplicationType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of ApplicationType

getOrCreateIcon

IconType<ApplicationType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<ApplicationType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<ApplicationType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

ApplicationType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateModule

ModuleType<ApplicationType<T>> getOrCreateModule()
If not already created, a new module element will be created and returned. Otherwise, the first existing module element will be returned.

Returns:
the instance defined for the element module

createModule

ModuleType<ApplicationType<T>> createModule()
Creates a new module element

Returns:
the new created instance of ModuleType>

getAllModule

List<ModuleType<ApplicationType<T>>> getAllModule()
Returns all module elements

Returns:
list of module

removeAllModule

ApplicationType<T> removeAllModule()
Removes all module elements

Returns:
the current instance of ModuleType>

getOrCreateSecurityRole

SecurityRoleType<ApplicationType<T>> getOrCreateSecurityRole()
If not already created, a new security-role element will be created and returned. Otherwise, the first existing security-role element will be returned.

Returns:
the instance defined for the element security-role

createSecurityRole

SecurityRoleType<ApplicationType<T>> createSecurityRole()
Creates a new security-role element

Returns:
the new created instance of SecurityRoleType>

getAllSecurityRole

List<SecurityRoleType<ApplicationType<T>>> getAllSecurityRole()
Returns all security-role elements

Returns:
list of security-role

removeAllSecurityRole

ApplicationType<T> removeAllSecurityRole()
Removes all security-role elements

Returns:
the current instance of SecurityRoleType>

libraryDirectory

ApplicationType<T> libraryDirectory(String libraryDirectory)
Sets the library-directory element

Parameters:
libraryDirectory - the value for the element library-directory
Returns:
the current instance of ApplicationType

getLibraryDirectory

String getLibraryDirectory()
Returns the library-directory element

Returns:
the node defined for the element library-directory

removeLibraryDirectory

ApplicationType<T> removeLibraryDirectory()
Removes the library-directory element

Returns:
the current instance of ApplicationType

version

ApplicationType<T> version(String version)
Sets the version attribute

Parameters:
version - the value for the attribute version
Returns:
the current instance of ApplicationType

getVersion

String getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

removeVersion

ApplicationType<T> removeVersion()
Removes the version attribute

Returns:
the current instance of ApplicationType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.