|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationType<T>
This interface defines the contract for the applicationType
xsd type
Original Documentation:
The applicationType defines the structure of the
application.
Method Summary | |
---|---|
DataSourceType<ApplicationType<T>> |
dataSource()
Returns the data-source element |
EjbLocalRefType<ApplicationType<T>> |
ejbLocalRef()
Returns the ejb-local-ref element |
EjbRefType<ApplicationType<T>> |
ejbRef()
Returns the ejb-ref element |
EnvEntryType<ApplicationType<T>> |
envEntry()
Returns the env-entry element |
java.lang.String |
getApplicationName()
Returns the application-name element |
java.util.List<DataSourceType<ApplicationType<T>>> |
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<ApplicationType<T>>> |
getEjbLocalRefList()
Returns all ejb-local-ref elements |
java.util.List<EjbRefType<ApplicationType<T>>> |
getEjbRefList()
Returns all ejb-ref elements |
java.util.List<EnvEntryType<ApplicationType<T>>> |
getEnvEntryList()
Returns all env-entry elements |
java.util.List<IconType<ApplicationType<T>>> |
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<ApplicationType<T>>> |
getMessageDestinationList()
Returns all message-destination elements |
java.util.List<MessageDestinationRefType<ApplicationType<T>>> |
getMessageDestinationRefList()
Returns all message-destination-ref elements |
java.util.List<ModuleType<ApplicationType<T>>> |
getModuleList()
Returns all module elements |
java.util.List<PersistenceContextRefType<ApplicationType<T>>> |
getPersistenceContextRefList()
Returns all persistence-context-ref elements |
java.util.List<PersistenceUnitRefType<ApplicationType<T>>> |
getPersistenceUnitRefList()
Returns all persistence-unit-ref elements |
java.util.List<ResourceEnvRefType<ApplicationType<T>>> |
getResourceEnvRefList()
Returns all resource-env-ref elements |
java.util.List<ResourceRefType<ApplicationType<T>>> |
getResourceRefList()
Returns all resource-ref elements |
java.util.List<SecurityRoleType<ApplicationType<T>>> |
getSecurityRoleList()
Returns all security-role elements |
java.lang.String |
getVersion()
Returns the version element |
IconType<ApplicationType<T>> |
icon()
Returns the icon element |
MessageDestinationType<ApplicationType<T>> |
messageDestination()
Returns the message-destination element |
MessageDestinationRefType<ApplicationType<T>> |
messageDestinationRef()
Returns the message-destination-ref element |
ModuleType<ApplicationType<T>> |
module()
Returns the module element |
PersistenceContextRefType<ApplicationType<T>> |
persistenceContextRef()
Returns the persistence-context-ref element |
PersistenceUnitRefType<ApplicationType<T>> |
persistenceUnitRef()
Returns the persistence-unit-ref 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> |
removeApplicationName()
Removes the application-name element |
ApplicationType<T> |
removeLibraryDirectory()
Removes the library-directory element |
ApplicationType<T> |
removeVersion()
Removes the version attribute |
ResourceEnvRefType<ApplicationType<T>> |
resourceEnvRef()
Returns the resource-env-ref element |
ResourceRefType<ApplicationType<T>> |
resourceRef()
Returns the resource-ref element |
SecurityRoleType<ApplicationType<T>> |
securityRole()
Returns the security-role element |
ApplicationType<T> |
setApplicationName(java.lang.String applicationName)
If not already created, a new application-name element with the given value will be created. |
ApplicationType<T> |
setDescription(java.lang.String description)
Creates a new description element |
ApplicationType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
ApplicationType<T> |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
ApplicationType<T> |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
ApplicationType<T> |
setInitializeInOrder(GenericBooleanType initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. |
ApplicationType<T> |
setInitializeInOrder(java.lang.String initializeInOrder)
If not already created, a new initialize-in-order element with the given value will be created. |
ApplicationType<T> |
setLibraryDirectory(java.lang.String libraryDirectory)
If not already created, a new library-directory element with the given value will be created. |
ApplicationType<T> |
setVersion(java.lang.String version)
Sets the version attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ApplicationType<T> setDescription(java.lang.String description)
description
element
ApplicationType
ApplicationType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
ApplicationType
ApplicationType<T> removeAllDescription()
description
element
ApplicationType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
ApplicationType<T> setDisplayName(java.lang.String displayName)
display-name
element
ApplicationType
ApplicationType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
list
- of display-name
objects
ApplicationType
ApplicationType<T> removeAllDisplayName()
display-name
element
ApplicationType
java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
display-name
ApplicationType<T> removeAllIcon()
icon
elements
ApplicationType
IconType<ApplicationType<T>> icon()
icon
element
icon
java.util.List<IconType<ApplicationType<T>>> getIconList()
icon
elements
icon
ApplicationType<T> setApplicationName(java.lang.String applicationName)
application-name
element with the given value will be created.
Otherwise, the existing application-name
element will be updated with the given value.
ApplicationType
ApplicationType<T> removeApplicationName()
application-name
element
ApplicationType
java.lang.String getApplicationName()
application-name
element
application-name
ApplicationType<T> setInitializeInOrder(GenericBooleanType initializeInOrder)
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.
ApplicationType
ApplicationType<T> setInitializeInOrder(java.lang.String initializeInOrder)
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.
ApplicationType
GenericBooleanType getInitializeInOrder()
initialize-in-order
element
initialize-in-order
java.lang.String getInitializeInOrderAsString()
initialize-in-order
element
initialize-in-order
ApplicationType<T> removeAllModule()
module
elements
ApplicationType
ModuleType<ApplicationType<T>> module()
module
element
module
java.util.List<ModuleType<ApplicationType<T>>> getModuleList()
module
elements
module
ApplicationType<T> removeAllSecurityRole()
security-role
elements
ApplicationType
SecurityRoleType<ApplicationType<T>> securityRole()
security-role
element
security-role
java.util.List<SecurityRoleType<ApplicationType<T>>> getSecurityRoleList()
security-role
elements
security-role
ApplicationType<T> setLibraryDirectory(java.lang.String libraryDirectory)
library-directory
element with the given value will be created.
Otherwise, the existing library-directory
element will be updated with the given value.
ApplicationType
ApplicationType<T> removeLibraryDirectory()
library-directory
element
ApplicationType
java.lang.String getLibraryDirectory()
library-directory
element
library-directory
ApplicationType<T> removeAllEnvEntry()
env-entry
elements
ApplicationType
EnvEntryType<ApplicationType<T>> envEntry()
env-entry
element
env-entry
java.util.List<EnvEntryType<ApplicationType<T>>> getEnvEntryList()
env-entry
elements
env-entry
ApplicationType<T> removeAllEjbRef()
ejb-ref
elements
ApplicationType
EjbRefType<ApplicationType<T>> ejbRef()
ejb-ref
element
ejb-ref
java.util.List<EjbRefType<ApplicationType<T>>> getEjbRefList()
ejb-ref
elements
ejb-ref
ApplicationType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
ApplicationType
EjbLocalRefType<ApplicationType<T>> ejbLocalRef()
ejb-local-ref
element
ejb-local-ref
java.util.List<EjbLocalRefType<ApplicationType<T>>> getEjbLocalRefList()
ejb-local-ref
elements
ejb-local-ref
ApplicationType<T> removeAllResourceRef()
resource-ref
elements
ApplicationType
ResourceRefType<ApplicationType<T>> resourceRef()
resource-ref
element
resource-ref
java.util.List<ResourceRefType<ApplicationType<T>>> getResourceRefList()
resource-ref
elements
resource-ref
ApplicationType<T> removeAllResourceEnvRef()
resource-env-ref
elements
ApplicationType
ResourceEnvRefType<ApplicationType<T>> resourceEnvRef()
resource-env-ref
element
resource-env-ref
java.util.List<ResourceEnvRefType<ApplicationType<T>>> getResourceEnvRefList()
resource-env-ref
elements
resource-env-ref
ApplicationType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
ApplicationType
MessageDestinationRefType<ApplicationType<T>> messageDestinationRef()
message-destination-ref
element
message-destination-ref
java.util.List<MessageDestinationRefType<ApplicationType<T>>> getMessageDestinationRefList()
message-destination-ref
elements
message-destination-ref
ApplicationType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
ApplicationType
PersistenceContextRefType<ApplicationType<T>> persistenceContextRef()
persistence-context-ref
element
persistence-context-ref
java.util.List<PersistenceContextRefType<ApplicationType<T>>> getPersistenceContextRefList()
persistence-context-ref
elements
persistence-context-ref
ApplicationType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
ApplicationType
PersistenceUnitRefType<ApplicationType<T>> persistenceUnitRef()
persistence-unit-ref
element
persistence-unit-ref
java.util.List<PersistenceUnitRefType<ApplicationType<T>>> getPersistenceUnitRefList()
persistence-unit-ref
elements
persistence-unit-ref
ApplicationType<T> removeAllMessageDestination()
message-destination
elements
ApplicationType
MessageDestinationType<ApplicationType<T>> messageDestination()
message-destination
element
message-destination
java.util.List<MessageDestinationType<ApplicationType<T>>> getMessageDestinationList()
message-destination
elements
message-destination
ApplicationType<T> removeAllDataSource()
data-source
elements
ApplicationType
DataSourceType<ApplicationType<T>> dataSource()
data-source
element
data-source
java.util.List<DataSourceType<ApplicationType<T>>> getDataSourceList()
data-source
elements
data-source
ApplicationType<T> setVersion(java.lang.String version)
version
attribute
version
- the value for the attribute version
ApplicationType
ApplicationType<T> removeVersion()
version
attribute
ApplicationType
java.lang.String getVersion()
version
element
version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |