ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.application6
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:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ApplicationType<T> applicationName(String applicationName)
          Sets the application-name element
 DataSourceType<ApplicationType<T>> createDataSource()
          Creates a new data-source element
 EjbLocalRefType<ApplicationType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<ApplicationType<T>> createEjbRef()
          Creates a new ejb-ref element
 EnvEntryType<ApplicationType<T>> createEnvEntry()
          Creates a new env-entry element
 IconType<ApplicationType<T>> createIcon()
          Creates a new icon element
 MessageDestinationType<ApplicationType<T>> createMessageDestination()
          Creates a new message-destination element
 MessageDestinationRefType<ApplicationType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 ModuleType<ApplicationType<T>> createModule()
          Creates a new module element
 PersistenceContextRefType<ApplicationType<T>> createPersistenceContextRef()
          Creates a new persistence-context-ref element
 PersistenceUnitRefType<ApplicationType<T>> createPersistenceUnitRef()
          Creates a new persistence-unit-ref element
 ResourceEnvRefType<ApplicationType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<ApplicationType<T>> createResourceRef()
          Creates a new resource-ref element
 SecurityRoleType<ApplicationType<T>> createSecurityRole()
          Creates a new security-role element
 ServiceRefType<ApplicationType<T>> createServiceRef()
          Creates a new service-ref 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<DataSourceType<ApplicationType<T>>> getAllDataSource()
          Returns all data-source elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<EjbLocalRefType<ApplicationType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<ApplicationType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<EnvEntryType<ApplicationType<T>>> getAllEnvEntry()
          Returns all env-entry elements
 List<IconType<ApplicationType<T>>> getAllIcon()
          Returns all icon elements
 List<MessageDestinationType<ApplicationType<T>>> getAllMessageDestination()
          Returns all message-destination elements
 List<MessageDestinationRefType<ApplicationType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<ModuleType<ApplicationType<T>>> getAllModule()
          Returns all module elements
 List<PersistenceContextRefType<ApplicationType<T>>> getAllPersistenceContextRef()
          Returns all persistence-context-ref elements
 List<PersistenceUnitRefType<ApplicationType<T>>> getAllPersistenceUnitRef()
          Returns all persistence-unit-ref elements
 List<ResourceEnvRefType<ApplicationType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<ApplicationType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<SecurityRoleType<ApplicationType<T>>> getAllSecurityRole()
          Returns all security-role elements
 List<ServiceRefType<ApplicationType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getApplicationName()
          Returns the application-name element
 GenericBooleanType getInitializeInOrder()
          Returns the initialize-in-order element
 String getInitializeInOrderAsString()
          Returns the initialize-in-order element
 String getLibraryDirectory()
          Returns the library-directory element
 DataSourceType<ApplicationType<T>> getOrCreateDataSource()
          If not already created, a new data-source element will be created and returned.
 EjbLocalRefType<ApplicationType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<ApplicationType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 EnvEntryType<ApplicationType<T>> getOrCreateEnvEntry()
          If not already created, a new env-entry element will be created and returned.
 IconType<ApplicationType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 MessageDestinationType<ApplicationType<T>> getOrCreateMessageDestination()
          If not already created, a new message-destination element will be created and returned.
 MessageDestinationRefType<ApplicationType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 ModuleType<ApplicationType<T>> getOrCreateModule()
          If not already created, a new module element will be created and returned.
 PersistenceContextRefType<ApplicationType<T>> getOrCreatePersistenceContextRef()
          If not already created, a new persistence-context-ref element will be created and returned.
 PersistenceUnitRefType<ApplicationType<T>> getOrCreatePersistenceUnitRef()
          If not already created, a new persistence-unit-ref element will be created and returned.
 ResourceEnvRefType<ApplicationType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<ApplicationType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityRoleType<ApplicationType<T>> getOrCreateSecurityRole()
          If not already created, a new security-role element will be created and returned.
 ServiceRefType<ApplicationType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 String getVersion()
          Returns the version attribute
 ApplicationType<T> initializeInOrder(GenericBooleanType initializeInOrder)
          Sets the initialize-in-order element
 ApplicationType<T> initializeInOrder(String initializeInOrder)
          Sets the initialize-in-order element
 ApplicationType<T> libraryDirectory(String libraryDirectory)
          Sets the library-directory element
 ApplicationType<T> removeAllDataSource()
          Removes all data-source elements
 ApplicationType<T> removeAllDescription()
          Removes the description element
 ApplicationType<T> removeAllDisplayName()
          Removes the display-name element
 ApplicationType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 ApplicationType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 ApplicationType<T> removeAllEnvEntry()
          Removes all env-entry elements
 ApplicationType<T> removeAllIcon()
          Removes all icon elements
 ApplicationType<T> removeAllMessageDestination()
          Removes all message-destination elements
 ApplicationType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 ApplicationType<T> removeAllModule()
          Removes all module elements
 ApplicationType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 ApplicationType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 ApplicationType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 ApplicationType<T> removeAllResourceRef()
          Removes all resource-ref elements
 ApplicationType<T> removeAllSecurityRole()
          Removes all security-role elements
 ApplicationType<T> removeAllServiceRef()
          Removes all service-ref elements
 ApplicationType<T> removeApplicationName()
          Removes the application-name element
 ApplicationType<T> removeInitializeInOrder()
          Removes the initialize-in-order attribute
 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>

getOrCreateServiceRef

ServiceRefType<ApplicationType<T>> getOrCreateServiceRef()
If not already created, a new service-ref element will be created and returned. Otherwise, the first existing service-ref element will be returned.

Returns:
the instance defined for the element service-ref

createServiceRef

ServiceRefType<ApplicationType<T>> createServiceRef()
Creates a new service-ref element

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

List<ServiceRefType<ApplicationType<T>>> getAllServiceRef()
Returns all service-ref elements

Returns:
list of service-ref

removeAllServiceRef

ApplicationType<T> removeAllServiceRef()
Removes all service-ref elements

Returns:
the current instance of ServiceRefType>

applicationName

ApplicationType<T> applicationName(String applicationName)
Sets the application-name element

Parameters:
applicationName - the value for the element application-name
Returns:
the current instance of ApplicationType

getApplicationName

String getApplicationName()
Returns the application-name element

Returns:
the node defined for the element application-name

removeApplicationName

ApplicationType<T> removeApplicationName()
Removes the application-name element

Returns:
the current instance of ApplicationType

initializeInOrder

ApplicationType<T> initializeInOrder(GenericBooleanType initializeInOrder)
Sets the initialize-in-order element

Parameters:
initializeInOrder - the value for the element initialize-in-order
Returns:
the current instance of ApplicationType

initializeInOrder

ApplicationType<T> initializeInOrder(String initializeInOrder)
Sets the initialize-in-order element

Parameters:
initializeInOrder - the value for the element initialize-in-order
Returns:
the current instance of ApplicationType

getInitializeInOrder

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

Returns:
the value found for the element initialize-in-order

getInitializeInOrderAsString

String getInitializeInOrderAsString()
Returns the initialize-in-order element

Returns:
the value found for the element initialize-in-order

removeInitializeInOrder

ApplicationType<T> removeInitializeInOrder()
Removes the initialize-in-order attribute

Returns:
the current instance of ApplicationType

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

getOrCreateEnvEntry

EnvEntryType<ApplicationType<T>> getOrCreateEnvEntry()
If not already created, a new env-entry element will be created and returned. Otherwise, the first existing env-entry element will be returned.

Returns:
the instance defined for the element env-entry

createEnvEntry

EnvEntryType<ApplicationType<T>> createEnvEntry()
Creates a new env-entry element

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

List<EnvEntryType<ApplicationType<T>>> getAllEnvEntry()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEnvEntry

ApplicationType<T> removeAllEnvEntry()
Removes all env-entry elements

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

EjbRefType<ApplicationType<T>> getOrCreateEjbRef()
If not already created, a new ejb-ref element will be created and returned. Otherwise, the first existing ejb-ref element will be returned.

Returns:
the instance defined for the element ejb-ref

createEjbRef

EjbRefType<ApplicationType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

List<EjbRefType<ApplicationType<T>>> getAllEjbRef()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbRef

ApplicationType<T> removeAllEjbRef()
Removes all ejb-ref elements

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<ApplicationType<T>> getOrCreateEjbLocalRef()
If not already created, a new ejb-local-ref element will be created and returned. Otherwise, the first existing ejb-local-ref element will be returned.

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

createEjbLocalRef

EjbLocalRefType<ApplicationType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

List<EjbLocalRefType<ApplicationType<T>>> getAllEjbLocalRef()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

ApplicationType<T> removeAllEjbLocalRef()
Removes all ejb-local-ref elements

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

ResourceRefType<ApplicationType<T>> getOrCreateResourceRef()
If not already created, a new resource-ref element will be created and returned. Otherwise, the first existing resource-ref element will be returned.

Returns:
the instance defined for the element resource-ref

createResourceRef

ResourceRefType<ApplicationType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

List<ResourceRefType<ApplicationType<T>>> getAllResourceRef()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceRef

ApplicationType<T> removeAllResourceRef()
Removes all resource-ref elements

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<ApplicationType<T>> getOrCreateResourceEnvRef()
If not already created, a new resource-env-ref element will be created and returned. Otherwise, the first existing resource-env-ref element will be returned.

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

createResourceEnvRef

ResourceEnvRefType<ApplicationType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

List<ResourceEnvRefType<ApplicationType<T>>> getAllResourceEnvRef()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllResourceEnvRef

ApplicationType<T> removeAllResourceEnvRef()
Removes all resource-env-ref elements

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<ApplicationType<T>> getOrCreateMessageDestinationRef()
If not already created, a new message-destination-ref element will be created and returned. Otherwise, the first existing message-destination-ref element will be returned.

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

createMessageDestinationRef

MessageDestinationRefType<ApplicationType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

List<MessageDestinationRefType<ApplicationType<T>>> getAllMessageDestinationRef()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

ApplicationType<T> removeAllMessageDestinationRef()
Removes all message-destination-ref elements

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

PersistenceContextRefType<ApplicationType<T>> getOrCreatePersistenceContextRef()
If not already created, a new persistence-context-ref element will be created and returned. Otherwise, the first existing persistence-context-ref element will be returned.

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

createPersistenceContextRef

PersistenceContextRefType<ApplicationType<T>> createPersistenceContextRef()
Creates a new persistence-context-ref element

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

List<PersistenceContextRefType<ApplicationType<T>>> getAllPersistenceContextRef()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

ApplicationType<T> removeAllPersistenceContextRef()
Removes all persistence-context-ref elements

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

PersistenceUnitRefType<ApplicationType<T>> getOrCreatePersistenceUnitRef()
If not already created, a new persistence-unit-ref element will be created and returned. Otherwise, the first existing persistence-unit-ref element will be returned.

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

createPersistenceUnitRef

PersistenceUnitRefType<ApplicationType<T>> createPersistenceUnitRef()
Creates a new persistence-unit-ref element

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

List<PersistenceUnitRefType<ApplicationType<T>>> getAllPersistenceUnitRef()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

ApplicationType<T> removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements

Returns:
the current instance of PersistenceUnitRefType>

getOrCreateMessageDestination

MessageDestinationType<ApplicationType<T>> getOrCreateMessageDestination()
If not already created, a new message-destination element will be created and returned. Otherwise, the first existing message-destination element will be returned.

Returns:
the instance defined for the element message-destination

createMessageDestination

MessageDestinationType<ApplicationType<T>> createMessageDestination()
Creates a new message-destination element

Returns:
the new created instance of MessageDestinationType>

getAllMessageDestination

List<MessageDestinationType<ApplicationType<T>>> getAllMessageDestination()
Returns all message-destination elements

Returns:
list of message-destination

removeAllMessageDestination

ApplicationType<T> removeAllMessageDestination()
Removes all message-destination elements

Returns:
the current instance of MessageDestinationType>

getOrCreateDataSource

DataSourceType<ApplicationType<T>> getOrCreateDataSource()
If not already created, a new data-source element will be created and returned. Otherwise, the first existing data-source element will be returned.

Returns:
the instance defined for the element data-source

createDataSource

DataSourceType<ApplicationType<T>> createDataSource()
Creates a new data-source element

Returns:
the new created instance of DataSourceType>

getAllDataSource

List<DataSourceType<ApplicationType<T>>> getAllDataSource()
Returns all data-source elements

Returns:
list of data-source

removeAllDataSource

ApplicationType<T> removeAllDataSource()
Removes all data-source elements

Returns:
the current instance of DataSourceType>

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.