|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.application6.ApplicationTypeImpl<T>
public class ApplicationTypeImpl<T>
This class implements the applicationType
xsd type
Original Documentation:
The applicationType defines the structure of the
application.
Constructor Summary | |
---|---|
ApplicationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ApplicationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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 |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public ApplicationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public ApplicationType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface ApplicationType<T>
ApplicationType
public ApplicationType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface ApplicationType<T>
list
- of description
objects
ApplicationType
public ApplicationType<T> removeAllDescription()
description
element
removeAllDescription
in interface ApplicationType<T>
ApplicationType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface ApplicationType<T>
description
public ApplicationType<T> setDisplayName(java.lang.String displayName)
display-name
element
setDisplayName
in interface ApplicationType<T>
ApplicationType
public ApplicationType<T> setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
setDisplayNameList
in interface ApplicationType<T>
list
- of display-name
objects
ApplicationType
public ApplicationType<T> removeAllDisplayName()
display-name
element
removeAllDisplayName
in interface ApplicationType<T>
ApplicationType
public java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
getDisplayNameList
in interface ApplicationType<T>
display-name
public ApplicationType<T> removeAllIcon()
icon
elements
removeAllIcon
in interface ApplicationType<T>
ApplicationType
public IconType<ApplicationType<T>> icon()
icon
element
icon
in interface ApplicationType<T>
icon
public java.util.List<IconType<ApplicationType<T>>> getIconList()
icon
elements
getIconList
in interface ApplicationType<T>
icon
public 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.
setApplicationName
in interface ApplicationType<T>
ApplicationType
public ApplicationType<T> removeApplicationName()
application-name
element
removeApplicationName
in interface ApplicationType<T>
ApplicationType
public java.lang.String getApplicationName()
application-name
element
getApplicationName
in interface ApplicationType<T>
application-name
public 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.
setInitializeInOrder
in interface ApplicationType<T>
ApplicationType
public 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.
setInitializeInOrder
in interface ApplicationType<T>
ApplicationType
public GenericBooleanType getInitializeInOrder()
initialize-in-order
element
getInitializeInOrder
in interface ApplicationType<T>
initialize-in-order
public java.lang.String getInitializeInOrderAsString()
initialize-in-order
element
getInitializeInOrderAsString
in interface ApplicationType<T>
initialize-in-order
public ApplicationType<T> removeAllModule()
module
elements
removeAllModule
in interface ApplicationType<T>
ApplicationType
public ModuleType<ApplicationType<T>> module()
module
element
module
in interface ApplicationType<T>
module
public java.util.List<ModuleType<ApplicationType<T>>> getModuleList()
module
elements
getModuleList
in interface ApplicationType<T>
module
public ApplicationType<T> removeAllSecurityRole()
security-role
elements
removeAllSecurityRole
in interface ApplicationType<T>
ApplicationType
public SecurityRoleType<ApplicationType<T>> securityRole()
security-role
element
securityRole
in interface ApplicationType<T>
security-role
public java.util.List<SecurityRoleType<ApplicationType<T>>> getSecurityRoleList()
security-role
elements
getSecurityRoleList
in interface ApplicationType<T>
security-role
public 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.
setLibraryDirectory
in interface ApplicationType<T>
ApplicationType
public ApplicationType<T> removeLibraryDirectory()
library-directory
element
removeLibraryDirectory
in interface ApplicationType<T>
ApplicationType
public java.lang.String getLibraryDirectory()
library-directory
element
getLibraryDirectory
in interface ApplicationType<T>
library-directory
public ApplicationType<T> removeAllEnvEntry()
env-entry
elements
removeAllEnvEntry
in interface ApplicationType<T>
ApplicationType
public EnvEntryType<ApplicationType<T>> envEntry()
env-entry
element
envEntry
in interface ApplicationType<T>
env-entry
public java.util.List<EnvEntryType<ApplicationType<T>>> getEnvEntryList()
env-entry
elements
getEnvEntryList
in interface ApplicationType<T>
env-entry
public ApplicationType<T> removeAllEjbRef()
ejb-ref
elements
removeAllEjbRef
in interface ApplicationType<T>
ApplicationType
public EjbRefType<ApplicationType<T>> ejbRef()
ejb-ref
element
ejbRef
in interface ApplicationType<T>
ejb-ref
public java.util.List<EjbRefType<ApplicationType<T>>> getEjbRefList()
ejb-ref
elements
getEjbRefList
in interface ApplicationType<T>
ejb-ref
public ApplicationType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
removeAllEjbLocalRef
in interface ApplicationType<T>
ApplicationType
public EjbLocalRefType<ApplicationType<T>> ejbLocalRef()
ejb-local-ref
element
ejbLocalRef
in interface ApplicationType<T>
ejb-local-ref
public java.util.List<EjbLocalRefType<ApplicationType<T>>> getEjbLocalRefList()
ejb-local-ref
elements
getEjbLocalRefList
in interface ApplicationType<T>
ejb-local-ref
public ApplicationType<T> removeAllResourceRef()
resource-ref
elements
removeAllResourceRef
in interface ApplicationType<T>
ApplicationType
public ResourceRefType<ApplicationType<T>> resourceRef()
resource-ref
element
resourceRef
in interface ApplicationType<T>
resource-ref
public java.util.List<ResourceRefType<ApplicationType<T>>> getResourceRefList()
resource-ref
elements
getResourceRefList
in interface ApplicationType<T>
resource-ref
public ApplicationType<T> removeAllResourceEnvRef()
resource-env-ref
elements
removeAllResourceEnvRef
in interface ApplicationType<T>
ApplicationType
public ResourceEnvRefType<ApplicationType<T>> resourceEnvRef()
resource-env-ref
element
resourceEnvRef
in interface ApplicationType<T>
resource-env-ref
public java.util.List<ResourceEnvRefType<ApplicationType<T>>> getResourceEnvRefList()
resource-env-ref
elements
getResourceEnvRefList
in interface ApplicationType<T>
resource-env-ref
public ApplicationType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
removeAllMessageDestinationRef
in interface ApplicationType<T>
ApplicationType
public MessageDestinationRefType<ApplicationType<T>> messageDestinationRef()
message-destination-ref
element
messageDestinationRef
in interface ApplicationType<T>
message-destination-ref
public java.util.List<MessageDestinationRefType<ApplicationType<T>>> getMessageDestinationRefList()
message-destination-ref
elements
getMessageDestinationRefList
in interface ApplicationType<T>
message-destination-ref
public ApplicationType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
removeAllPersistenceContextRef
in interface ApplicationType<T>
ApplicationType
public PersistenceContextRefType<ApplicationType<T>> persistenceContextRef()
persistence-context-ref
element
persistenceContextRef
in interface ApplicationType<T>
persistence-context-ref
public java.util.List<PersistenceContextRefType<ApplicationType<T>>> getPersistenceContextRefList()
persistence-context-ref
elements
getPersistenceContextRefList
in interface ApplicationType<T>
persistence-context-ref
public ApplicationType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
removeAllPersistenceUnitRef
in interface ApplicationType<T>
ApplicationType
public PersistenceUnitRefType<ApplicationType<T>> persistenceUnitRef()
persistence-unit-ref
element
persistenceUnitRef
in interface ApplicationType<T>
persistence-unit-ref
public java.util.List<PersistenceUnitRefType<ApplicationType<T>>> getPersistenceUnitRefList()
persistence-unit-ref
elements
getPersistenceUnitRefList
in interface ApplicationType<T>
persistence-unit-ref
public ApplicationType<T> removeAllMessageDestination()
message-destination
elements
removeAllMessageDestination
in interface ApplicationType<T>
ApplicationType
public MessageDestinationType<ApplicationType<T>> messageDestination()
message-destination
element
messageDestination
in interface ApplicationType<T>
message-destination
public java.util.List<MessageDestinationType<ApplicationType<T>>> getMessageDestinationList()
message-destination
elements
getMessageDestinationList
in interface ApplicationType<T>
message-destination
public ApplicationType<T> removeAllDataSource()
data-source
elements
removeAllDataSource
in interface ApplicationType<T>
ApplicationType
public DataSourceType<ApplicationType<T>> dataSource()
data-source
element
dataSource
in interface ApplicationType<T>
data-source
public java.util.List<DataSourceType<ApplicationType<T>>> getDataSourceList()
data-source
elements
getDataSourceList
in interface ApplicationType<T>
data-source
public ApplicationType<T> setVersion(java.lang.String version)
version
attribute
setVersion
in interface ApplicationType<T>
version
- the value for the attribute version
ApplicationType
public ApplicationType<T> removeVersion()
version
attribute
removeVersion
in interface ApplicationType<T>
ApplicationType
public java.lang.String getVersion()
version
element
getVersion
in interface ApplicationType<T>
version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |