|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
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
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 |
---|
ApplicationType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ApplicationType
List<String> getAllDescription()
description
elements
description
ApplicationType<T> removeAllDescription()
description
element
ApplicationType
ApplicationType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
ApplicationType
List<String> getAllDisplayName()
display-name
elements
display-name
ApplicationType<T> removeAllDisplayName()
display-name
element
ApplicationType
IconType<ApplicationType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.
icon
IconType<ApplicationType<T>> createIcon()
icon
element
IconType>
List<IconType<ApplicationType<T>>> getAllIcon()
icon
elements
icon
ApplicationType<T> removeAllIcon()
icon
elements
IconType>
ServiceRefType<ApplicationType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.
service-ref
ServiceRefType<ApplicationType<T>> createServiceRef()
service-ref
element
ServiceRefType>
List<ServiceRefType<ApplicationType<T>>> getAllServiceRef()
service-ref
elements
service-ref
ApplicationType<T> removeAllServiceRef()
service-ref
elements
ServiceRefType>
ApplicationType<T> applicationName(String applicationName)
application-name
element
applicationName
- the value for the element application-name
ApplicationType
String getApplicationName()
application-name
element
application-name
ApplicationType<T> removeApplicationName()
application-name
element
ApplicationType
ApplicationType<T> initializeInOrder(GenericBooleanType initializeInOrder)
initialize-in-order
element
initializeInOrder
- the value for the element initialize-in-order
ApplicationType
ApplicationType<T> initializeInOrder(String initializeInOrder)
initialize-in-order
element
initializeInOrder
- the value for the element initialize-in-order
ApplicationType
GenericBooleanType getInitializeInOrder()
initialize-in-order
element
initialize-in-order
String getInitializeInOrderAsString()
initialize-in-order
element
initialize-in-order
ApplicationType<T> removeInitializeInOrder()
initialize-in-order
attribute
ApplicationType
ModuleType<ApplicationType<T>> getOrCreateModule()
module
element will be created and returned.
Otherwise, the first existing module
element will be returned.
module
ModuleType<ApplicationType<T>> createModule()
module
element
ModuleType>
List<ModuleType<ApplicationType<T>>> getAllModule()
module
elements
module
ApplicationType<T> removeAllModule()
module
elements
ModuleType>
SecurityRoleType<ApplicationType<T>> getOrCreateSecurityRole()
security-role
element will be created and returned.
Otherwise, the first existing security-role
element will be returned.
security-role
SecurityRoleType<ApplicationType<T>> createSecurityRole()
security-role
element
SecurityRoleType>
List<SecurityRoleType<ApplicationType<T>>> getAllSecurityRole()
security-role
elements
security-role
ApplicationType<T> removeAllSecurityRole()
security-role
elements
SecurityRoleType>
ApplicationType<T> libraryDirectory(String libraryDirectory)
library-directory
element
libraryDirectory
- the value for the element library-directory
ApplicationType
String getLibraryDirectory()
library-directory
element
library-directory
ApplicationType<T> removeLibraryDirectory()
library-directory
element
ApplicationType
EnvEntryType<ApplicationType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.
env-entry
EnvEntryType<ApplicationType<T>> createEnvEntry()
env-entry
element
EnvEntryType>
List<EnvEntryType<ApplicationType<T>>> getAllEnvEntry()
env-entry
elements
env-entry
ApplicationType<T> removeAllEnvEntry()
env-entry
elements
EnvEntryType>
EjbRefType<ApplicationType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.
ejb-ref
EjbRefType<ApplicationType<T>> createEjbRef()
ejb-ref
element
EjbRefType>
List<EjbRefType<ApplicationType<T>>> getAllEjbRef()
ejb-ref
elements
ejb-ref
ApplicationType<T> removeAllEjbRef()
ejb-ref
elements
EjbRefType>
EjbLocalRefType<ApplicationType<T>> getOrCreateEjbLocalRef()
ejb-local-ref
element will be created and returned.
Otherwise, the first existing ejb-local-ref
element will be returned.
ejb-local-ref
EjbLocalRefType<ApplicationType<T>> createEjbLocalRef()
ejb-local-ref
element
EjbLocalRefType>
List<EjbLocalRefType<ApplicationType<T>>> getAllEjbLocalRef()
ejb-local-ref
elements
ejb-local-ref
ApplicationType<T> removeAllEjbLocalRef()
ejb-local-ref
elements
EjbLocalRefType>
ResourceRefType<ApplicationType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.
resource-ref
ResourceRefType<ApplicationType<T>> createResourceRef()
resource-ref
element
ResourceRefType>
List<ResourceRefType<ApplicationType<T>>> getAllResourceRef()
resource-ref
elements
resource-ref
ApplicationType<T> removeAllResourceRef()
resource-ref
elements
ResourceRefType>
ResourceEnvRefType<ApplicationType<T>> getOrCreateResourceEnvRef()
resource-env-ref
element will be created and returned.
Otherwise, the first existing resource-env-ref
element will be returned.
resource-env-ref
ResourceEnvRefType<ApplicationType<T>> createResourceEnvRef()
resource-env-ref
element
ResourceEnvRefType>
List<ResourceEnvRefType<ApplicationType<T>>> getAllResourceEnvRef()
resource-env-ref
elements
resource-env-ref
ApplicationType<T> removeAllResourceEnvRef()
resource-env-ref
elements
ResourceEnvRefType>
MessageDestinationRefType<ApplicationType<T>> getOrCreateMessageDestinationRef()
message-destination-ref
element will be created and returned.
Otherwise, the first existing message-destination-ref
element will be returned.
message-destination-ref
MessageDestinationRefType<ApplicationType<T>> createMessageDestinationRef()
message-destination-ref
element
MessageDestinationRefType>
List<MessageDestinationRefType<ApplicationType<T>>> getAllMessageDestinationRef()
message-destination-ref
elements
message-destination-ref
ApplicationType<T> removeAllMessageDestinationRef()
message-destination-ref
elements
MessageDestinationRefType>
PersistenceContextRefType<ApplicationType<T>> getOrCreatePersistenceContextRef()
persistence-context-ref
element will be created and returned.
Otherwise, the first existing persistence-context-ref
element will be returned.
persistence-context-ref
PersistenceContextRefType<ApplicationType<T>> createPersistenceContextRef()
persistence-context-ref
element
PersistenceContextRefType>
List<PersistenceContextRefType<ApplicationType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elements
persistence-context-ref
ApplicationType<T> removeAllPersistenceContextRef()
persistence-context-ref
elements
PersistenceContextRefType>
PersistenceUnitRefType<ApplicationType<T>> getOrCreatePersistenceUnitRef()
persistence-unit-ref
element will be created and returned.
Otherwise, the first existing persistence-unit-ref
element will be returned.
persistence-unit-ref
PersistenceUnitRefType<ApplicationType<T>> createPersistenceUnitRef()
persistence-unit-ref
element
PersistenceUnitRefType>
List<PersistenceUnitRefType<ApplicationType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elements
persistence-unit-ref
ApplicationType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elements
PersistenceUnitRefType>
MessageDestinationType<ApplicationType<T>> getOrCreateMessageDestination()
message-destination
element will be created and returned.
Otherwise, the first existing message-destination
element will be returned.
message-destination
MessageDestinationType<ApplicationType<T>> createMessageDestination()
message-destination
element
MessageDestinationType>
List<MessageDestinationType<ApplicationType<T>>> getAllMessageDestination()
message-destination
elements
message-destination
ApplicationType<T> removeAllMessageDestination()
message-destination
elements
MessageDestinationType>
DataSourceType<ApplicationType<T>> getOrCreateDataSource()
data-source
element will be created and returned.
Otherwise, the first existing data-source
element will be returned.
data-source
DataSourceType<ApplicationType<T>> createDataSource()
data-source
element
DataSourceType>
List<DataSourceType<ApplicationType<T>>> getAllDataSource()
data-source
elements
data-source
ApplicationType<T> removeAllDataSource()
data-source
elements
DataSourceType>
ApplicationType<T> version(String version)
version
attribute
version
- the value for the attribute version
ApplicationType
String getVersion()
version
attribute
version
ApplicationType<T> removeVersion()
version
attribute
ApplicationType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |