public interface WebAppType<T> extends Child<T>
web-appType
xsd typeModifier and Type | Method and Description |
---|---|
AbsoluteOrderingType<WebAppType<T>> |
createAbsoluteOrdering()
Creates a new
absolute-ordering element |
ParamValueType<WebAppType<T>> |
createContextParam()
Creates a new
context-param element |
DataSourceType<WebAppType<T>> |
createDataSource()
Creates a new
data-source element |
EjbLocalRefType<WebAppType<T>> |
createEjbLocalRef()
Creates a new
ejb-local-ref element |
EjbRefType<WebAppType<T>> |
createEjbRef()
Creates a new
ejb-ref element |
EnvEntryType<WebAppType<T>> |
createEnvEntry()
Creates a new
env-entry element |
ErrorPageType<WebAppType<T>> |
createErrorPage()
Creates a new
error-page element |
FilterType<WebAppType<T>> |
createFilter()
Creates a new
filter element |
FilterMappingType<WebAppType<T>> |
createFilterMapping()
Creates a new
filter-mapping element |
IconType<WebAppType<T>> |
createIcon()
Creates a new
icon element |
JspConfigType<WebAppType<T>> |
createJspConfig()
Creates a new
jsp-config element |
ListenerType<WebAppType<T>> |
createListener()
Creates a new
listener element |
LocaleEncodingMappingListType<WebAppType<T>> |
createLocaleEncodingMappingList()
Creates a new
locale-encoding-mapping-list element |
LoginConfigType<WebAppType<T>> |
createLoginConfig()
Creates a new
login-config element |
MessageDestinationType<WebAppType<T>> |
createMessageDestination()
Creates a new
message-destination element |
MessageDestinationRefType<WebAppType<T>> |
createMessageDestinationRef()
Creates a new
message-destination-ref element |
MimeMappingType<WebAppType<T>> |
createMimeMapping()
Creates a new
mime-mapping element |
PersistenceContextRefType<WebAppType<T>> |
createPersistenceContextRef()
Creates a new
persistence-context-ref element |
PersistenceUnitRefType<WebAppType<T>> |
createPersistenceUnitRef()
Creates a new
persistence-unit-ref element |
LifecycleCallbackType<WebAppType<T>> |
createPostConstruct()
Creates a new
post-construct element |
LifecycleCallbackType<WebAppType<T>> |
createPreDestroy()
Creates a new
pre-destroy element |
ResourceEnvRefType<WebAppType<T>> |
createResourceEnvRef()
Creates a new
resource-env-ref element |
ResourceRefType<WebAppType<T>> |
createResourceRef()
Creates a new
resource-ref element |
SecurityConstraintType<WebAppType<T>> |
createSecurityConstraint()
Creates a new
security-constraint element |
SecurityRoleType<WebAppType<T>> |
createSecurityRole()
Creates a new
security-role element |
ServiceRefType<WebAppType<T>> |
createServiceRef()
Creates a new
service-ref element |
ServletType<WebAppType<T>> |
createServlet()
Creates a new
servlet element |
ServletMappingType<WebAppType<T>> |
createServletMapping()
Creates a new
servlet-mapping element |
SessionConfigType<WebAppType<T>> |
createSessionConfig()
Creates a new
session-config element |
WelcomeFileListType<WebAppType<T>> |
createWelcomeFileList()
Creates a new
welcome-file-list element |
WebAppType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
WebAppType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
WebAppType<T> |
distributable()
Sets the
distributable element |
List<AbsoluteOrderingType<WebAppType<T>>> |
getAllAbsoluteOrdering()
Returns all
absolute-ordering elements |
List<ParamValueType<WebAppType<T>>> |
getAllContextParam()
Returns all
context-param elements |
List<DataSourceType<WebAppType<T>>> |
getAllDataSource()
Returns all
data-source elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<EjbLocalRefType<WebAppType<T>>> |
getAllEjbLocalRef()
Returns all
ejb-local-ref elements |
List<EjbRefType<WebAppType<T>>> |
getAllEjbRef()
Returns all
ejb-ref elements |
List<EnvEntryType<WebAppType<T>>> |
getAllEnvEntry()
Returns all
env-entry elements |
List<ErrorPageType<WebAppType<T>>> |
getAllErrorPage()
Returns all
error-page elements |
List<FilterType<WebAppType<T>>> |
getAllFilter()
Returns all
filter elements |
List<FilterMappingType<WebAppType<T>>> |
getAllFilterMapping()
Returns all
filter-mapping elements |
List<IconType<WebAppType<T>>> |
getAllIcon()
Returns all
icon elements |
List<JspConfigType<WebAppType<T>>> |
getAllJspConfig()
Returns all
jsp-config elements |
List<ListenerType<WebAppType<T>>> |
getAllListener()
Returns all
listener elements |
List<LocaleEncodingMappingListType<WebAppType<T>>> |
getAllLocaleEncodingMappingList()
Returns all
locale-encoding-mapping-list elements |
List<LoginConfigType<WebAppType<T>>> |
getAllLoginConfig()
Returns all
login-config elements |
List<MessageDestinationType<WebAppType<T>>> |
getAllMessageDestination()
Returns all
message-destination elements |
List<MessageDestinationRefType<WebAppType<T>>> |
getAllMessageDestinationRef()
Returns all
message-destination-ref elements |
List<MimeMappingType<WebAppType<T>>> |
getAllMimeMapping()
Returns all
mime-mapping elements |
List<String> |
getAllModuleName()
Returns all
module-name elements |
List<PersistenceContextRefType<WebAppType<T>>> |
getAllPersistenceContextRef()
Returns all
persistence-context-ref elements |
List<PersistenceUnitRefType<WebAppType<T>>> |
getAllPersistenceUnitRef()
Returns all
persistence-unit-ref elements |
List<LifecycleCallbackType<WebAppType<T>>> |
getAllPostConstruct()
Returns all
post-construct elements |
List<LifecycleCallbackType<WebAppType<T>>> |
getAllPreDestroy()
Returns all
pre-destroy elements |
List<ResourceEnvRefType<WebAppType<T>>> |
getAllResourceEnvRef()
Returns all
resource-env-ref elements |
List<ResourceRefType<WebAppType<T>>> |
getAllResourceRef()
Returns all
resource-ref elements |
List<SecurityConstraintType<WebAppType<T>>> |
getAllSecurityConstraint()
Returns all
security-constraint elements |
List<SecurityRoleType<WebAppType<T>>> |
getAllSecurityRole()
Returns all
security-role elements |
List<ServiceRefType<WebAppType<T>>> |
getAllServiceRef()
Returns all
service-ref elements |
List<ServletType<WebAppType<T>>> |
getAllServlet()
Returns all
servlet elements |
List<ServletMappingType<WebAppType<T>>> |
getAllServletMapping()
Returns all
servlet-mapping elements |
List<SessionConfigType<WebAppType<T>>> |
getAllSessionConfig()
Returns all
session-config elements |
List<WelcomeFileListType<WebAppType<T>>> |
getAllWelcomeFileList()
Returns all
welcome-file-list elements |
String |
getId()
Returns the
id attribute |
AbsoluteOrderingType<WebAppType<T>> |
getOrCreateAbsoluteOrdering()
If not already created, a new
absolute-ordering element will be created and returned. |
ParamValueType<WebAppType<T>> |
getOrCreateContextParam()
If not already created, a new
context-param element will be created and returned. |
DataSourceType<WebAppType<T>> |
getOrCreateDataSource()
If not already created, a new
data-source element will be created and returned. |
EjbLocalRefType<WebAppType<T>> |
getOrCreateEjbLocalRef()
If not already created, a new
ejb-local-ref element will be created and returned. |
EjbRefType<WebAppType<T>> |
getOrCreateEjbRef()
If not already created, a new
ejb-ref element will be created and returned. |
EnvEntryType<WebAppType<T>> |
getOrCreateEnvEntry()
If not already created, a new
env-entry element will be created and returned. |
ErrorPageType<WebAppType<T>> |
getOrCreateErrorPage()
If not already created, a new
error-page element will be created and returned. |
FilterType<WebAppType<T>> |
getOrCreateFilter()
If not already created, a new
filter element will be created and returned. |
FilterMappingType<WebAppType<T>> |
getOrCreateFilterMapping()
If not already created, a new
filter-mapping element will be created and returned. |
IconType<WebAppType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
JspConfigType<WebAppType<T>> |
getOrCreateJspConfig()
If not already created, a new
jsp-config element will be created and returned. |
ListenerType<WebAppType<T>> |
getOrCreateListener()
If not already created, a new
listener element will be created and returned. |
LocaleEncodingMappingListType<WebAppType<T>> |
getOrCreateLocaleEncodingMappingList()
If not already created, a new
locale-encoding-mapping-list element will be created and returned. |
LoginConfigType<WebAppType<T>> |
getOrCreateLoginConfig()
If not already created, a new
login-config element will be created and returned. |
MessageDestinationType<WebAppType<T>> |
getOrCreateMessageDestination()
If not already created, a new
message-destination element will be created and returned. |
MessageDestinationRefType<WebAppType<T>> |
getOrCreateMessageDestinationRef()
If not already created, a new
message-destination-ref element will be created and returned. |
MimeMappingType<WebAppType<T>> |
getOrCreateMimeMapping()
If not already created, a new
mime-mapping element will be created and returned. |
PersistenceContextRefType<WebAppType<T>> |
getOrCreatePersistenceContextRef()
If not already created, a new
persistence-context-ref element will be created and returned. |
PersistenceUnitRefType<WebAppType<T>> |
getOrCreatePersistenceUnitRef()
If not already created, a new
persistence-unit-ref element will be created and returned. |
LifecycleCallbackType<WebAppType<T>> |
getOrCreatePostConstruct()
If not already created, a new
post-construct element will be created and returned. |
LifecycleCallbackType<WebAppType<T>> |
getOrCreatePreDestroy()
If not already created, a new
pre-destroy element will be created and returned. |
ResourceEnvRefType<WebAppType<T>> |
getOrCreateResourceEnvRef()
If not already created, a new
resource-env-ref element will be created and returned. |
ResourceRefType<WebAppType<T>> |
getOrCreateResourceRef()
If not already created, a new
resource-ref element will be created and returned. |
SecurityConstraintType<WebAppType<T>> |
getOrCreateSecurityConstraint()
If not already created, a new
security-constraint element will be created and returned. |
SecurityRoleType<WebAppType<T>> |
getOrCreateSecurityRole()
If not already created, a new
security-role element will be created and returned. |
ServiceRefType<WebAppType<T>> |
getOrCreateServiceRef()
If not already created, a new
service-ref element will be created and returned. |
ServletType<WebAppType<T>> |
getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
ServletMappingType<WebAppType<T>> |
getOrCreateServletMapping()
If not already created, a new
servlet-mapping element will be created and returned. |
SessionConfigType<WebAppType<T>> |
getOrCreateSessionConfig()
If not already created, a new
session-config element will be created and returned. |
WelcomeFileListType<WebAppType<T>> |
getOrCreateWelcomeFileList()
If not already created, a new
welcome-file-list element will be created and returned. |
WebAppVersionType |
getVersion()
Returns the
version attribute |
String |
getVersionAsString()
Returns the
version attribute |
WebAppType<T> |
id(String id)
Sets the
id attribute |
Boolean |
isDistributable()
Removes the
distributable element |
Boolean |
isMetadataComplete()
Returns the
metadata-complete attribute |
WebAppType<T> |
metadataComplete(Boolean metadataComplete)
Sets the
metadata-complete attribute |
WebAppType<T> |
moduleName(String... values)
Creates for all String objects representing
module-name elements,
a new module-name element |
WebAppType<T> |
removeAllAbsoluteOrdering()
Removes all
absolute-ordering elements |
WebAppType<T> |
removeAllContextParam()
Removes all
context-param elements |
WebAppType<T> |
removeAllDataSource()
Removes all
data-source elements |
WebAppType<T> |
removeAllDescription()
Removes the
description element |
WebAppType<T> |
removeAllDisplayName()
Removes the
display-name element |
WebAppType<T> |
removeAllEjbLocalRef()
Removes all
ejb-local-ref elements |
WebAppType<T> |
removeAllEjbRef()
Removes all
ejb-ref elements |
WebAppType<T> |
removeAllEnvEntry()
Removes all
env-entry elements |
WebAppType<T> |
removeAllErrorPage()
Removes all
error-page elements |
WebAppType<T> |
removeAllFilter()
Removes all
filter elements |
WebAppType<T> |
removeAllFilterMapping()
Removes all
filter-mapping elements |
WebAppType<T> |
removeAllIcon()
Removes all
icon elements |
WebAppType<T> |
removeAllJspConfig()
Removes all
jsp-config elements |
WebAppType<T> |
removeAllListener()
Removes all
listener elements |
WebAppType<T> |
removeAllLocaleEncodingMappingList()
Removes all
locale-encoding-mapping-list elements |
WebAppType<T> |
removeAllLoginConfig()
Removes all
login-config elements |
WebAppType<T> |
removeAllMessageDestination()
Removes all
message-destination elements |
WebAppType<T> |
removeAllMessageDestinationRef()
Removes all
message-destination-ref elements |
WebAppType<T> |
removeAllMimeMapping()
Removes all
mime-mapping elements |
WebAppType<T> |
removeAllModuleName()
Removes the
module-name element |
WebAppType<T> |
removeAllPersistenceContextRef()
Removes all
persistence-context-ref elements |
WebAppType<T> |
removeAllPersistenceUnitRef()
Removes all
persistence-unit-ref elements |
WebAppType<T> |
removeAllPostConstruct()
Removes all
post-construct elements |
WebAppType<T> |
removeAllPreDestroy()
Removes all
pre-destroy elements |
WebAppType<T> |
removeAllResourceEnvRef()
Removes all
resource-env-ref elements |
WebAppType<T> |
removeAllResourceRef()
Removes all
resource-ref elements |
WebAppType<T> |
removeAllSecurityConstraint()
Removes all
security-constraint elements |
WebAppType<T> |
removeAllSecurityRole()
Removes all
security-role elements |
WebAppType<T> |
removeAllServiceRef()
Removes all
service-ref elements |
WebAppType<T> |
removeAllServlet()
Removes all
servlet elements |
WebAppType<T> |
removeAllServletMapping()
Removes all
servlet-mapping elements |
WebAppType<T> |
removeAllSessionConfig()
Removes all
session-config elements |
WebAppType<T> |
removeAllWelcomeFileList()
Removes all
welcome-file-list elements |
WebAppType<T> |
removeDistributable()
Removes the
distributable element |
WebAppType<T> |
removeId()
Removes the
id attribute |
WebAppType<T> |
removeMetadataComplete()
Removes the
metadata-complete attribute |
WebAppType<T> |
removeVersion()
Removes the
version attribute |
WebAppType<T> |
version(String version)
Sets the
version attribute |
WebAppType<T> |
version(WebAppVersionType version)
Sets the
version attribute |
WebAppType<T> distributable()
distributable
elementWebAppType
Boolean isDistributable()
distributable
elementWebAppType
WebAppType<T> removeDistributable()
distributable
elementWebAppType
ParamValueType<WebAppType<T>> getOrCreateContextParam()
context-param
element will be created and returned.
Otherwise, the first existing context-param
element will be returned.context-param
ParamValueType<WebAppType<T>> createContextParam()
context-param
elementParamValueType>
List<ParamValueType<WebAppType<T>>> getAllContextParam()
context-param
elementscontext-param
WebAppType<T> removeAllContextParam()
context-param
elementsParamValueType>
FilterType<WebAppType<T>> getOrCreateFilter()
filter
element will be created and returned.
Otherwise, the first existing filter
element will be returned.filter
FilterType<WebAppType<T>> createFilter()
filter
elementFilterType>
List<FilterType<WebAppType<T>>> getAllFilter()
filter
elementsfilter
WebAppType<T> removeAllFilter()
filter
elementsFilterType>
FilterMappingType<WebAppType<T>> getOrCreateFilterMapping()
filter-mapping
element will be created and returned.
Otherwise, the first existing filter-mapping
element will be returned.filter-mapping
FilterMappingType<WebAppType<T>> createFilterMapping()
filter-mapping
elementFilterMappingType>
List<FilterMappingType<WebAppType<T>>> getAllFilterMapping()
filter-mapping
elementsfilter-mapping
WebAppType<T> removeAllFilterMapping()
filter-mapping
elementsFilterMappingType>
ListenerType<WebAppType<T>> getOrCreateListener()
listener
element will be created and returned.
Otherwise, the first existing listener
element will be returned.listener
ListenerType<WebAppType<T>> createListener()
listener
elementListenerType>
List<ListenerType<WebAppType<T>>> getAllListener()
listener
elementslistener
WebAppType<T> removeAllListener()
listener
elementsListenerType>
ServletType<WebAppType<T>> getOrCreateServlet()
servlet
element will be created and returned.
Otherwise, the first existing servlet
element will be returned.servlet
ServletType<WebAppType<T>> createServlet()
servlet
elementServletType>
List<ServletType<WebAppType<T>>> getAllServlet()
servlet
elementsservlet
WebAppType<T> removeAllServlet()
servlet
elementsServletType>
ServletMappingType<WebAppType<T>> getOrCreateServletMapping()
servlet-mapping
element will be created and returned.
Otherwise, the first existing servlet-mapping
element will be returned.servlet-mapping
ServletMappingType<WebAppType<T>> createServletMapping()
servlet-mapping
elementServletMappingType>
List<ServletMappingType<WebAppType<T>>> getAllServletMapping()
servlet-mapping
elementsservlet-mapping
WebAppType<T> removeAllServletMapping()
servlet-mapping
elementsServletMappingType>
SessionConfigType<WebAppType<T>> getOrCreateSessionConfig()
session-config
element will be created and returned.
Otherwise, the first existing session-config
element will be returned.session-config
SessionConfigType<WebAppType<T>> createSessionConfig()
session-config
elementSessionConfigType>
List<SessionConfigType<WebAppType<T>>> getAllSessionConfig()
session-config
elementssession-config
WebAppType<T> removeAllSessionConfig()
session-config
elementsSessionConfigType>
MimeMappingType<WebAppType<T>> getOrCreateMimeMapping()
mime-mapping
element will be created and returned.
Otherwise, the first existing mime-mapping
element will be returned.mime-mapping
MimeMappingType<WebAppType<T>> createMimeMapping()
mime-mapping
elementMimeMappingType>
List<MimeMappingType<WebAppType<T>>> getAllMimeMapping()
mime-mapping
elementsmime-mapping
WebAppType<T> removeAllMimeMapping()
mime-mapping
elementsMimeMappingType>
WelcomeFileListType<WebAppType<T>> getOrCreateWelcomeFileList()
welcome-file-list
element will be created and returned.
Otherwise, the first existing welcome-file-list
element will be returned.welcome-file-list
WelcomeFileListType<WebAppType<T>> createWelcomeFileList()
welcome-file-list
elementWelcomeFileListType>
List<WelcomeFileListType<WebAppType<T>>> getAllWelcomeFileList()
welcome-file-list
elementswelcome-file-list
WebAppType<T> removeAllWelcomeFileList()
welcome-file-list
elementsWelcomeFileListType>
ErrorPageType<WebAppType<T>> getOrCreateErrorPage()
error-page
element will be created and returned.
Otherwise, the first existing error-page
element will be returned.error-page
ErrorPageType<WebAppType<T>> createErrorPage()
error-page
elementErrorPageType>
List<ErrorPageType<WebAppType<T>>> getAllErrorPage()
error-page
elementserror-page
WebAppType<T> removeAllErrorPage()
error-page
elementsErrorPageType>
JspConfigType<WebAppType<T>> getOrCreateJspConfig()
jsp-config
element will be created and returned.
Otherwise, the first existing jsp-config
element will be returned.jsp-config
JspConfigType<WebAppType<T>> createJspConfig()
jsp-config
elementJspConfigType>
List<JspConfigType<WebAppType<T>>> getAllJspConfig()
jsp-config
elementsjsp-config
WebAppType<T> removeAllJspConfig()
jsp-config
elementsJspConfigType>
SecurityConstraintType<WebAppType<T>> getOrCreateSecurityConstraint()
security-constraint
element will be created and returned.
Otherwise, the first existing security-constraint
element will be returned.security-constraint
SecurityConstraintType<WebAppType<T>> createSecurityConstraint()
security-constraint
elementSecurityConstraintType>
List<SecurityConstraintType<WebAppType<T>>> getAllSecurityConstraint()
security-constraint
elementssecurity-constraint
WebAppType<T> removeAllSecurityConstraint()
security-constraint
elementsSecurityConstraintType>
LoginConfigType<WebAppType<T>> getOrCreateLoginConfig()
login-config
element will be created and returned.
Otherwise, the first existing login-config
element will be returned.login-config
LoginConfigType<WebAppType<T>> createLoginConfig()
login-config
elementLoginConfigType>
List<LoginConfigType<WebAppType<T>>> getAllLoginConfig()
login-config
elementslogin-config
WebAppType<T> removeAllLoginConfig()
login-config
elementsLoginConfigType>
SecurityRoleType<WebAppType<T>> getOrCreateSecurityRole()
security-role
element will be created and returned.
Otherwise, the first existing security-role
element will be returned.security-role
SecurityRoleType<WebAppType<T>> createSecurityRole()
security-role
elementSecurityRoleType>
List<SecurityRoleType<WebAppType<T>>> getAllSecurityRole()
security-role
elementssecurity-role
WebAppType<T> removeAllSecurityRole()
security-role
elementsSecurityRoleType>
MessageDestinationType<WebAppType<T>> getOrCreateMessageDestination()
message-destination
element will be created and returned.
Otherwise, the first existing message-destination
element will be returned.message-destination
MessageDestinationType<WebAppType<T>> createMessageDestination()
message-destination
elementMessageDestinationType>
List<MessageDestinationType<WebAppType<T>>> getAllMessageDestination()
message-destination
elementsmessage-destination
WebAppType<T> removeAllMessageDestination()
message-destination
elementsMessageDestinationType>
LocaleEncodingMappingListType<WebAppType<T>> getOrCreateLocaleEncodingMappingList()
locale-encoding-mapping-list
element will be created and returned.
Otherwise, the first existing locale-encoding-mapping-list
element will be returned.locale-encoding-mapping-list
LocaleEncodingMappingListType<WebAppType<T>> createLocaleEncodingMappingList()
locale-encoding-mapping-list
elementLocaleEncodingMappingListType>
List<LocaleEncodingMappingListType<WebAppType<T>>> getAllLocaleEncodingMappingList()
locale-encoding-mapping-list
elementslocale-encoding-mapping-list
WebAppType<T> removeAllLocaleEncodingMappingList()
locale-encoding-mapping-list
elementsLocaleEncodingMappingListType>
WebAppType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsWebAppType
List<String> getAllDescription()
description
elementsdescription
WebAppType<T> removeAllDescription()
description
elementWebAppType
WebAppType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsWebAppType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
WebAppType<T> removeAllDisplayName()
display-name
elementWebAppType
IconType<WebAppType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<WebAppType<T>> createIcon()
icon
elementIconType>
List<IconType<WebAppType<T>>> getAllIcon()
icon
elementsicon
WebAppType<T> removeAllIcon()
icon
elementsIconType>
EnvEntryType<WebAppType<T>> getOrCreateEnvEntry()
env-entry
element will be created and returned.
Otherwise, the first existing env-entry
element will be returned.env-entry
EnvEntryType<WebAppType<T>> createEnvEntry()
env-entry
elementEnvEntryType>
List<EnvEntryType<WebAppType<T>>> getAllEnvEntry()
env-entry
elementsenv-entry
WebAppType<T> removeAllEnvEntry()
env-entry
elementsEnvEntryType>
EjbRefType<WebAppType<T>> getOrCreateEjbRef()
ejb-ref
element will be created and returned.
Otherwise, the first existing ejb-ref
element will be returned.ejb-ref
EjbRefType<WebAppType<T>> createEjbRef()
ejb-ref
elementEjbRefType>
List<EjbRefType<WebAppType<T>>> getAllEjbRef()
ejb-ref
elementsejb-ref
WebAppType<T> removeAllEjbRef()
ejb-ref
elementsEjbRefType>
EjbLocalRefType<WebAppType<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<WebAppType<T>> createEjbLocalRef()
ejb-local-ref
elementEjbLocalRefType>
List<EjbLocalRefType<WebAppType<T>>> getAllEjbLocalRef()
ejb-local-ref
elementsejb-local-ref
WebAppType<T> removeAllEjbLocalRef()
ejb-local-ref
elementsEjbLocalRefType>
ResourceRefType<WebAppType<T>> getOrCreateResourceRef()
resource-ref
element will be created and returned.
Otherwise, the first existing resource-ref
element will be returned.resource-ref
ResourceRefType<WebAppType<T>> createResourceRef()
resource-ref
elementResourceRefType>
List<ResourceRefType<WebAppType<T>>> getAllResourceRef()
resource-ref
elementsresource-ref
WebAppType<T> removeAllResourceRef()
resource-ref
elementsResourceRefType>
ResourceEnvRefType<WebAppType<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<WebAppType<T>> createResourceEnvRef()
resource-env-ref
elementResourceEnvRefType>
List<ResourceEnvRefType<WebAppType<T>>> getAllResourceEnvRef()
resource-env-ref
elementsresource-env-ref
WebAppType<T> removeAllResourceEnvRef()
resource-env-ref
elementsResourceEnvRefType>
MessageDestinationRefType<WebAppType<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<WebAppType<T>> createMessageDestinationRef()
message-destination-ref
elementMessageDestinationRefType>
List<MessageDestinationRefType<WebAppType<T>>> getAllMessageDestinationRef()
message-destination-ref
elementsmessage-destination-ref
WebAppType<T> removeAllMessageDestinationRef()
message-destination-ref
elementsMessageDestinationRefType>
PersistenceContextRefType<WebAppType<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<WebAppType<T>> createPersistenceContextRef()
persistence-context-ref
elementPersistenceContextRefType>
List<PersistenceContextRefType<WebAppType<T>>> getAllPersistenceContextRef()
persistence-context-ref
elementspersistence-context-ref
WebAppType<T> removeAllPersistenceContextRef()
persistence-context-ref
elementsPersistenceContextRefType>
PersistenceUnitRefType<WebAppType<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<WebAppType<T>> createPersistenceUnitRef()
persistence-unit-ref
elementPersistenceUnitRefType>
List<PersistenceUnitRefType<WebAppType<T>>> getAllPersistenceUnitRef()
persistence-unit-ref
elementspersistence-unit-ref
WebAppType<T> removeAllPersistenceUnitRef()
persistence-unit-ref
elementsPersistenceUnitRefType>
LifecycleCallbackType<WebAppType<T>> getOrCreatePostConstruct()
post-construct
element will be created and returned.
Otherwise, the first existing post-construct
element will be returned.post-construct
LifecycleCallbackType<WebAppType<T>> createPostConstruct()
post-construct
elementLifecycleCallbackType>
List<LifecycleCallbackType<WebAppType<T>>> getAllPostConstruct()
post-construct
elementspost-construct
WebAppType<T> removeAllPostConstruct()
post-construct
elementsLifecycleCallbackType>
LifecycleCallbackType<WebAppType<T>> getOrCreatePreDestroy()
pre-destroy
element will be created and returned.
Otherwise, the first existing pre-destroy
element will be returned.pre-destroy
LifecycleCallbackType<WebAppType<T>> createPreDestroy()
pre-destroy
elementLifecycleCallbackType>
List<LifecycleCallbackType<WebAppType<T>>> getAllPreDestroy()
pre-destroy
elementspre-destroy
WebAppType<T> removeAllPreDestroy()
pre-destroy
elementsLifecycleCallbackType>
DataSourceType<WebAppType<T>> getOrCreateDataSource()
data-source
element will be created and returned.
Otherwise, the first existing data-source
element will be returned.data-source
DataSourceType<WebAppType<T>> createDataSource()
data-source
elementDataSourceType>
List<DataSourceType<WebAppType<T>>> getAllDataSource()
data-source
elementsdata-source
WebAppType<T> removeAllDataSource()
data-source
elementsDataSourceType>
ServiceRefType<WebAppType<T>> getOrCreateServiceRef()
service-ref
element will be created and returned.
Otherwise, the first existing service-ref
element will be returned.service-ref
ServiceRefType<WebAppType<T>> createServiceRef()
service-ref
elementServiceRefType>
List<ServiceRefType<WebAppType<T>>> getAllServiceRef()
service-ref
elementsservice-ref
WebAppType<T> removeAllServiceRef()
service-ref
elementsServiceRefType>
WebAppType<T> version(WebAppVersionType version)
version
attributeversion
- the value for the attribute version
WebAppType
WebAppType<T> version(String version)
version
attributeversion
- the value for the attribute version
WebAppType
WebAppVersionType getVersion()
version
attributeversion
String getVersionAsString()
version
attributeversion
WebAppType<T> removeVersion()
version
attributeWebAppType
WebAppType<T> id(String id)
id
attributeid
- the value for the attribute id
WebAppType
String getId()
id
attributeid
WebAppType<T> removeId()
id
attributeWebAppType
WebAppType<T> metadataComplete(Boolean metadataComplete)
metadata-complete
attributemetadataComplete
- the value for the attribute metadata-complete
WebAppType
Boolean isMetadataComplete()
metadata-complete
attributemetadata-complete
WebAppType<T> removeMetadataComplete()
metadata-complete
attributeWebAppType
WebAppType<T> moduleName(String... values)
module-name
elements,
a new module-name
elementvalues
- list of module-name
objectsWebAppType
List<String> getAllModuleName()
module-name
elementsmodule-name
WebAppType<T> removeAllModuleName()
module-name
elementWebAppType
AbsoluteOrderingType<WebAppType<T>> getOrCreateAbsoluteOrdering()
absolute-ordering
element will be created and returned.
Otherwise, the first existing absolute-ordering
element will be returned.absolute-ordering
AbsoluteOrderingType<WebAppType<T>> createAbsoluteOrdering()
absolute-ordering
elementAbsoluteOrderingType>
List<AbsoluteOrderingType<WebAppType<T>>> getAllAbsoluteOrdering()
absolute-ordering
elementsabsolute-ordering
WebAppType<T> removeAllAbsoluteOrdering()
absolute-ordering
elementsAbsoluteOrderingType>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.