org.jboss.shrinkwrap.descriptor.impl.webcommon30
Class WebFragmentTypeImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.impl.webcommon30.WebFragmentTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, WebFragmentType<T>

public class WebFragmentTypeImpl<T>
extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WebFragmentType<T>

This class implements the web-fragmentType xsd type

Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

Constructor Summary
WebFragmentTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
           
WebFragmentTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
           
 
Method Summary
 ParamValueType<WebFragmentType<T>> contextParam()
          Returns the context-param element
 DataSourceType<WebFragmentType<T>> dataSource()
          Returns the data-source element
 WebFragmentType<T> distributable()
           
 EjbLocalRefType<WebFragmentType<T>> ejbLocalRef()
          Returns the ejb-local-ref element
 EjbRefType<WebFragmentType<T>> ejbRef()
          Returns the ejb-ref element
 EnvEntryType<WebFragmentType<T>> envEntry()
          Returns the env-entry element
 ErrorPageType<WebFragmentType<T>> errorPage()
          Returns the error-page element
 FilterType<WebFragmentType<T>> filter()
          Returns the filter element
 FilterMappingType<WebFragmentType<T>> filterMapping()
          Returns the filter-mapping element
 java.util.List<ParamValueType<WebFragmentType<T>>> getContextParamList()
          Returns all context-param elements
 java.util.List<DataSourceType<WebFragmentType<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<WebFragmentType<T>>> getEjbLocalRefList()
          Returns all ejb-local-ref elements
 java.util.List<EjbRefType<WebFragmentType<T>>> getEjbRefList()
          Returns all ejb-ref elements
 java.util.List<EnvEntryType<WebFragmentType<T>>> getEnvEntryList()
          Returns all env-entry elements
 java.util.List<ErrorPageType<WebFragmentType<T>>> getErrorPageList()
          Returns all error-page elements
 java.util.List<FilterType<WebFragmentType<T>>> getFilterList()
          Returns all filter elements
 java.util.List<FilterMappingType<WebFragmentType<T>>> getFilterMappingList()
          Returns all filter-mapping elements
 java.util.List<IconType<WebFragmentType<T>>> getIconList()
          Returns all icon elements
 java.util.List<JspConfigType<WebFragmentType<T>>> getJspConfigList()
          Returns all jsp-config elements
 java.util.List<ListenerType<WebFragmentType<T>>> getListenerList()
          Returns all listener elements
 java.util.List<LocaleEncodingMappingListType<WebFragmentType<T>>> getLocaleEncodingMappingListList()
          Returns all locale-encoding-mapping-list elements
 java.util.List<LoginConfigType<WebFragmentType<T>>> getLoginConfigList()
          Returns all login-config elements
 java.util.List<MessageDestinationType<WebFragmentType<T>>> getMessageDestinationList()
          Returns all message-destination elements
 java.util.List<MessageDestinationRefType<WebFragmentType<T>>> getMessageDestinationRefList()
          Returns all message-destination-ref elements
 java.util.List<MimeMappingType<WebFragmentType<T>>> getMimeMappingList()
          Returns all mime-mapping elements
 java.util.List<java.lang.String> getNameList()
          Returns all name elements
 java.util.List<OrderingType<WebFragmentType<T>>> getOrderingList()
          Returns all ordering elements
 java.util.List<PersistenceContextRefType<WebFragmentType<T>>> getPersistenceContextRefList()
          Returns all persistence-context-ref elements
 java.util.List<PersistenceUnitRefType<WebFragmentType<T>>> getPersistenceUnitRefList()
          Returns all persistence-unit-ref elements
 java.util.List<LifecycleCallbackType<WebFragmentType<T>>> getPostConstructList()
          Returns all post-construct elements
 java.util.List<LifecycleCallbackType<WebFragmentType<T>>> getPreDestroyList()
          Returns all pre-destroy elements
 java.util.List<ResourceEnvRefType<WebFragmentType<T>>> getResourceEnvRefList()
          Returns all resource-env-ref elements
 java.util.List<ResourceRefType<WebFragmentType<T>>> getResourceRefList()
          Returns all resource-ref elements
 java.util.List<SecurityConstraintType<WebFragmentType<T>>> getSecurityConstraintList()
          Returns all security-constraint elements
 java.util.List<SecurityRoleType<WebFragmentType<T>>> getSecurityRoleList()
          Returns all security-role elements
 java.util.List<ServletType<WebFragmentType<T>>> getServletList()
          Returns all servlet elements
 java.util.List<ServletMappingType<WebFragmentType<T>>> getServletMappingList()
          Returns all servlet-mapping elements
 java.util.List<SessionConfigType<WebFragmentType<T>>> getSessionConfigList()
          Returns all session-config elements
 WebAppVersionType getVersion()
          Returns the version element
 java.lang.String getVersionAsString()
          Returns the version element
 java.util.List<WelcomeFileListType<WebFragmentType<T>>> getWelcomeFileListList()
          Returns all welcome-file-list elements
 IconType<WebFragmentType<T>> icon()
          Returns the icon element
 java.lang.Boolean isDistributable()
           
 java.lang.Boolean isMetadataComplete()
          Returns the metadata-complete element
 JspConfigType<WebFragmentType<T>> jspConfig()
          Returns the jsp-config element
 ListenerType<WebFragmentType<T>> listener()
          Returns the listener element
 LocaleEncodingMappingListType<WebFragmentType<T>> localeEncodingMappingList()
          Returns the locale-encoding-mapping-list element
 LoginConfigType<WebFragmentType<T>> loginConfig()
          Returns the login-config element
 MessageDestinationType<WebFragmentType<T>> messageDestination()
          Returns the message-destination element
 MessageDestinationRefType<WebFragmentType<T>> messageDestinationRef()
          Returns the message-destination-ref element
 MimeMappingType<WebFragmentType<T>> mimeMapping()
          Returns the mime-mapping element
 OrderingType<WebFragmentType<T>> ordering()
          Returns the ordering element
 PersistenceContextRefType<WebFragmentType<T>> persistenceContextRef()
          Returns the persistence-context-ref element
 PersistenceUnitRefType<WebFragmentType<T>> persistenceUnitRef()
          Returns the persistence-unit-ref element
 LifecycleCallbackType<WebFragmentType<T>> postConstruct()
          Returns the post-construct element
 LifecycleCallbackType<WebFragmentType<T>> preDestroy()
          Returns the pre-destroy element
 WebFragmentType<T> removeAllContextParam()
          Removes all context-param elements
 WebFragmentType<T> removeAllDataSource()
          Removes all data-source elements
 WebFragmentType<T> removeAllDescription()
          Removes the description element
 WebFragmentType<T> removeAllDisplayName()
          Removes the display-name element
 WebFragmentType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 WebFragmentType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 WebFragmentType<T> removeAllEnvEntry()
          Removes all env-entry elements
 WebFragmentType<T> removeAllErrorPage()
          Removes all error-page elements
 WebFragmentType<T> removeAllFilter()
          Removes all filter elements
 WebFragmentType<T> removeAllFilterMapping()
          Removes all filter-mapping elements
 WebFragmentType<T> removeAllIcon()
          Removes all icon elements
 WebFragmentType<T> removeAllJspConfig()
          Removes all jsp-config elements
 WebFragmentType<T> removeAllListener()
          Removes all listener elements
 WebFragmentType<T> removeAllLocaleEncodingMappingList()
          Removes all locale-encoding-mapping-list elements
 WebFragmentType<T> removeAllLoginConfig()
          Removes all login-config elements
 WebFragmentType<T> removeAllMessageDestination()
          Removes all message-destination elements
 WebFragmentType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 WebFragmentType<T> removeAllMimeMapping()
          Removes all mime-mapping elements
 WebFragmentType<T> removeAllName()
          Removes the name element
 WebFragmentType<T> removeAllOrdering()
          Removes all ordering elements
 WebFragmentType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 WebFragmentType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 WebFragmentType<T> removeAllPostConstruct()
          Removes all post-construct elements
 WebFragmentType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 WebFragmentType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 WebFragmentType<T> removeAllResourceRef()
          Removes all resource-ref elements
 WebFragmentType<T> removeAllSecurityConstraint()
          Removes all security-constraint elements
 WebFragmentType<T> removeAllSecurityRole()
          Removes all security-role elements
 WebFragmentType<T> removeAllServlet()
          Removes all servlet elements
 WebFragmentType<T> removeAllServletMapping()
          Removes all servlet-mapping elements
 WebFragmentType<T> removeAllSessionConfig()
          Removes all session-config elements
 WebFragmentType<T> removeAllWelcomeFileList()
          Removes all welcome-file-list elements
 WebFragmentType<T> removeMetadataComplete()
          Removes the metadata-complete attribute
 WebFragmentType<T> removeVersion()
          Removes the version attribute
 ResourceEnvRefType<WebFragmentType<T>> resourceEnvRef()
          Returns the resource-env-ref element
 ResourceRefType<WebFragmentType<T>> resourceRef()
          Returns the resource-ref element
 SecurityConstraintType<WebFragmentType<T>> securityConstraint()
          Returns the security-constraint element
 SecurityRoleType<WebFragmentType<T>> securityRole()
          Returns the security-role element
 ServletType<WebFragmentType<T>> servlet()
          Returns the servlet element
 ServletMappingType<WebFragmentType<T>> servletMapping()
          Returns the servlet-mapping element
 SessionConfigType<WebFragmentType<T>> sessionConfig()
          Returns the session-config element
 WebFragmentType<T> setDescription(java.lang.String description)
          Creates a new description element
 WebFragmentType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 WebFragmentType<T> setDisplayName(java.lang.String displayName)
          Creates a new display-name element
 WebFragmentType<T> setDisplayNameList(java.lang.String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 WebFragmentType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
          Sets the metadata-complete attribute
 WebFragmentType<T> setName(java.lang.String name)
          Creates a new name element
 WebFragmentType<T> setNameList(java.lang.String... values)
          Creates for all String objects representing name elements, a new name element
 WebFragmentType<T> setVersion(java.lang.String version)
          Sets the version attribute
 WebFragmentType<T> setVersion(WebAppVersionType version)
          Sets the version attribute
 T up()
           
 WelcomeFileListType<WebFragmentType<T>> welcomeFileList()
          Returns the welcome-file-list element
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFragmentTypeImpl

public WebFragmentTypeImpl(T t,
                           java.lang.String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.Node node)

WebFragmentTypeImpl

public WebFragmentTypeImpl(T t,
                           java.lang.String nodeName,
                           org.jboss.shrinkwrap.descriptor.spi.Node node,
                           org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail

up

public T up()
Specified by:
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>

distributable

public WebFragmentType<T> distributable()
Specified by:
distributable in interface WebFragmentType<T>

isDistributable

public java.lang.Boolean isDistributable()
Specified by:
isDistributable in interface WebFragmentType<T>

removeAllContextParam

public WebFragmentType<T> removeAllContextParam()
Removes all context-param elements

Specified by:
removeAllContextParam in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

contextParam

public ParamValueType<WebFragmentType<T>> contextParam()
Returns the context-param element

Specified by:
contextParam in interface WebFragmentType<T>
Returns:
the node defined for the element context-param

getContextParamList

public java.util.List<ParamValueType<WebFragmentType<T>>> getContextParamList()
Returns all context-param elements

Specified by:
getContextParamList in interface WebFragmentType<T>
Returns:
list of context-param

removeAllFilter

public WebFragmentType<T> removeAllFilter()
Removes all filter elements

Specified by:
removeAllFilter in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

filter

public FilterType<WebFragmentType<T>> filter()
Returns the filter element

Specified by:
filter in interface WebFragmentType<T>
Returns:
the node defined for the element filter

getFilterList

public java.util.List<FilterType<WebFragmentType<T>>> getFilterList()
Returns all filter elements

Specified by:
getFilterList in interface WebFragmentType<T>
Returns:
list of filter

removeAllFilterMapping

public WebFragmentType<T> removeAllFilterMapping()
Removes all filter-mapping elements

Specified by:
removeAllFilterMapping in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

filterMapping

public FilterMappingType<WebFragmentType<T>> filterMapping()
Returns the filter-mapping element

Specified by:
filterMapping in interface WebFragmentType<T>
Returns:
the node defined for the element filter-mapping

getFilterMappingList

public java.util.List<FilterMappingType<WebFragmentType<T>>> getFilterMappingList()
Returns all filter-mapping elements

Specified by:
getFilterMappingList in interface WebFragmentType<T>
Returns:
list of filter-mapping

removeAllListener

public WebFragmentType<T> removeAllListener()
Removes all listener elements

Specified by:
removeAllListener in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

listener

public ListenerType<WebFragmentType<T>> listener()
Returns the listener element

Specified by:
listener in interface WebFragmentType<T>
Returns:
the node defined for the element listener

getListenerList

public java.util.List<ListenerType<WebFragmentType<T>>> getListenerList()
Returns all listener elements

Specified by:
getListenerList in interface WebFragmentType<T>
Returns:
list of listener

removeAllServlet

public WebFragmentType<T> removeAllServlet()
Removes all servlet elements

Specified by:
removeAllServlet in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

servlet

public ServletType<WebFragmentType<T>> servlet()
Returns the servlet element

Specified by:
servlet in interface WebFragmentType<T>
Returns:
the node defined for the element servlet

getServletList

public java.util.List<ServletType<WebFragmentType<T>>> getServletList()
Returns all servlet elements

Specified by:
getServletList in interface WebFragmentType<T>
Returns:
list of servlet

removeAllServletMapping

public WebFragmentType<T> removeAllServletMapping()
Removes all servlet-mapping elements

Specified by:
removeAllServletMapping in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

servletMapping

public ServletMappingType<WebFragmentType<T>> servletMapping()
Returns the servlet-mapping element

Specified by:
servletMapping in interface WebFragmentType<T>
Returns:
the node defined for the element servlet-mapping

getServletMappingList

public java.util.List<ServletMappingType<WebFragmentType<T>>> getServletMappingList()
Returns all servlet-mapping elements

Specified by:
getServletMappingList in interface WebFragmentType<T>
Returns:
list of servlet-mapping

removeAllSessionConfig

public WebFragmentType<T> removeAllSessionConfig()
Removes all session-config elements

Specified by:
removeAllSessionConfig in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

sessionConfig

public SessionConfigType<WebFragmentType<T>> sessionConfig()
Returns the session-config element

Specified by:
sessionConfig in interface WebFragmentType<T>
Returns:
the node defined for the element session-config

getSessionConfigList

public java.util.List<SessionConfigType<WebFragmentType<T>>> getSessionConfigList()
Returns all session-config elements

Specified by:
getSessionConfigList in interface WebFragmentType<T>
Returns:
list of session-config

removeAllMimeMapping

public WebFragmentType<T> removeAllMimeMapping()
Removes all mime-mapping elements

Specified by:
removeAllMimeMapping in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

mimeMapping

public MimeMappingType<WebFragmentType<T>> mimeMapping()
Returns the mime-mapping element

Specified by:
mimeMapping in interface WebFragmentType<T>
Returns:
the node defined for the element mime-mapping

getMimeMappingList

public java.util.List<MimeMappingType<WebFragmentType<T>>> getMimeMappingList()
Returns all mime-mapping elements

Specified by:
getMimeMappingList in interface WebFragmentType<T>
Returns:
list of mime-mapping

removeAllWelcomeFileList

public WebFragmentType<T> removeAllWelcomeFileList()
Removes all welcome-file-list elements

Specified by:
removeAllWelcomeFileList in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

welcomeFileList

public WelcomeFileListType<WebFragmentType<T>> welcomeFileList()
Returns the welcome-file-list element

Specified by:
welcomeFileList in interface WebFragmentType<T>
Returns:
the node defined for the element welcome-file-list

getWelcomeFileListList

public java.util.List<WelcomeFileListType<WebFragmentType<T>>> getWelcomeFileListList()
Returns all welcome-file-list elements

Specified by:
getWelcomeFileListList in interface WebFragmentType<T>
Returns:
list of welcome-file-list

removeAllErrorPage

public WebFragmentType<T> removeAllErrorPage()
Removes all error-page elements

Specified by:
removeAllErrorPage in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

errorPage

public ErrorPageType<WebFragmentType<T>> errorPage()
Returns the error-page element

Specified by:
errorPage in interface WebFragmentType<T>
Returns:
the node defined for the element error-page

getErrorPageList

public java.util.List<ErrorPageType<WebFragmentType<T>>> getErrorPageList()
Returns all error-page elements

Specified by:
getErrorPageList in interface WebFragmentType<T>
Returns:
list of error-page

removeAllJspConfig

public WebFragmentType<T> removeAllJspConfig()
Removes all jsp-config elements

Specified by:
removeAllJspConfig in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

jspConfig

public JspConfigType<WebFragmentType<T>> jspConfig()
Returns the jsp-config element

Specified by:
jspConfig in interface WebFragmentType<T>
Returns:
the node defined for the element jsp-config

getJspConfigList

public java.util.List<JspConfigType<WebFragmentType<T>>> getJspConfigList()
Returns all jsp-config elements

Specified by:
getJspConfigList in interface WebFragmentType<T>
Returns:
list of jsp-config

removeAllSecurityConstraint

public WebFragmentType<T> removeAllSecurityConstraint()
Removes all security-constraint elements

Specified by:
removeAllSecurityConstraint in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

securityConstraint

public SecurityConstraintType<WebFragmentType<T>> securityConstraint()
Returns the security-constraint element

Specified by:
securityConstraint in interface WebFragmentType<T>
Returns:
the node defined for the element security-constraint

getSecurityConstraintList

public java.util.List<SecurityConstraintType<WebFragmentType<T>>> getSecurityConstraintList()
Returns all security-constraint elements

Specified by:
getSecurityConstraintList in interface WebFragmentType<T>
Returns:
list of security-constraint

removeAllLoginConfig

public WebFragmentType<T> removeAllLoginConfig()
Removes all login-config elements

Specified by:
removeAllLoginConfig in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

loginConfig

public LoginConfigType<WebFragmentType<T>> loginConfig()
Returns the login-config element

Specified by:
loginConfig in interface WebFragmentType<T>
Returns:
the node defined for the element login-config

getLoginConfigList

public java.util.List<LoginConfigType<WebFragmentType<T>>> getLoginConfigList()
Returns all login-config elements

Specified by:
getLoginConfigList in interface WebFragmentType<T>
Returns:
list of login-config

removeAllSecurityRole

public WebFragmentType<T> removeAllSecurityRole()
Removes all security-role elements

Specified by:
removeAllSecurityRole in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

securityRole

public SecurityRoleType<WebFragmentType<T>> securityRole()
Returns the security-role element

Specified by:
securityRole in interface WebFragmentType<T>
Returns:
the node defined for the element security-role

getSecurityRoleList

public java.util.List<SecurityRoleType<WebFragmentType<T>>> getSecurityRoleList()
Returns all security-role elements

Specified by:
getSecurityRoleList in interface WebFragmentType<T>
Returns:
list of security-role

removeAllMessageDestination

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

Specified by:
removeAllMessageDestination in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

messageDestination

public MessageDestinationType<WebFragmentType<T>> messageDestination()
Returns the message-destination element

Specified by:
messageDestination in interface WebFragmentType<T>
Returns:
the node defined for the element message-destination

getMessageDestinationList

public java.util.List<MessageDestinationType<WebFragmentType<T>>> getMessageDestinationList()
Returns all message-destination elements

Specified by:
getMessageDestinationList in interface WebFragmentType<T>
Returns:
list of message-destination

removeAllLocaleEncodingMappingList

public WebFragmentType<T> removeAllLocaleEncodingMappingList()
Removes all locale-encoding-mapping-list elements

Specified by:
removeAllLocaleEncodingMappingList in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

localeEncodingMappingList

public LocaleEncodingMappingListType<WebFragmentType<T>> localeEncodingMappingList()
Returns the locale-encoding-mapping-list element

Specified by:
localeEncodingMappingList in interface WebFragmentType<T>
Returns:
the node defined for the element locale-encoding-mapping-list

getLocaleEncodingMappingListList

public java.util.List<LocaleEncodingMappingListType<WebFragmentType<T>>> getLocaleEncodingMappingListList()
Returns all locale-encoding-mapping-list elements

Specified by:
getLocaleEncodingMappingListList in interface WebFragmentType<T>
Returns:
list of locale-encoding-mapping-list

setDescription

public WebFragmentType<T> setDescription(java.lang.String description)
Creates a new description element

Specified by:
setDescription in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

setDescriptionList

public WebFragmentType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Specified by:
setDescriptionList in interface WebFragmentType<T>
Parameters:
list - of description objects
Returns:
the current instance of WebFragmentType

removeAllDescription

public WebFragmentType<T> removeAllDescription()
Removes the description element

Specified by:
removeAllDescription in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

getDescriptionList

public java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Specified by:
getDescriptionList in interface WebFragmentType<T>
Returns:
list of description

setDisplayName

public WebFragmentType<T> setDisplayName(java.lang.String displayName)
Creates a new display-name element

Specified by:
setDisplayName in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

setDisplayNameList

public WebFragmentType<T> setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements, a new display-name element

Specified by:
setDisplayNameList in interface WebFragmentType<T>
Parameters:
list - of display-name objects
Returns:
the current instance of WebFragmentType

removeAllDisplayName

public WebFragmentType<T> removeAllDisplayName()
Removes the display-name element

Specified by:
removeAllDisplayName in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

getDisplayNameList

public java.util.List<java.lang.String> getDisplayNameList()
Returns all display-name elements

Specified by:
getDisplayNameList in interface WebFragmentType<T>
Returns:
list of display-name

removeAllIcon

public WebFragmentType<T> removeAllIcon()
Removes all icon elements

Specified by:
removeAllIcon in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

icon

public IconType<WebFragmentType<T>> icon()
Returns the icon element

Specified by:
icon in interface WebFragmentType<T>
Returns:
the node defined for the element icon

getIconList

public java.util.List<IconType<WebFragmentType<T>>> getIconList()
Returns all icon elements

Specified by:
getIconList in interface WebFragmentType<T>
Returns:
list of icon

removeAllEnvEntry

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

Specified by:
removeAllEnvEntry in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

envEntry

public EnvEntryType<WebFragmentType<T>> envEntry()
Returns the env-entry element

Specified by:
envEntry in interface WebFragmentType<T>
Returns:
the node defined for the element env-entry

getEnvEntryList

public java.util.List<EnvEntryType<WebFragmentType<T>>> getEnvEntryList()
Returns all env-entry elements

Specified by:
getEnvEntryList in interface WebFragmentType<T>
Returns:
list of env-entry

removeAllEjbRef

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

Specified by:
removeAllEjbRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

ejbRef

public EjbRefType<WebFragmentType<T>> ejbRef()
Returns the ejb-ref element

Specified by:
ejbRef in interface WebFragmentType<T>
Returns:
the node defined for the element ejb-ref

getEjbRefList

public java.util.List<EjbRefType<WebFragmentType<T>>> getEjbRefList()
Returns all ejb-ref elements

Specified by:
getEjbRefList in interface WebFragmentType<T>
Returns:
list of ejb-ref

removeAllEjbLocalRef

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

Specified by:
removeAllEjbLocalRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

ejbLocalRef

public EjbLocalRefType<WebFragmentType<T>> ejbLocalRef()
Returns the ejb-local-ref element

Specified by:
ejbLocalRef in interface WebFragmentType<T>
Returns:
the node defined for the element ejb-local-ref

getEjbLocalRefList

public java.util.List<EjbLocalRefType<WebFragmentType<T>>> getEjbLocalRefList()
Returns all ejb-local-ref elements

Specified by:
getEjbLocalRefList in interface WebFragmentType<T>
Returns:
list of ejb-local-ref

removeAllResourceRef

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

Specified by:
removeAllResourceRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

resourceRef

public ResourceRefType<WebFragmentType<T>> resourceRef()
Returns the resource-ref element

Specified by:
resourceRef in interface WebFragmentType<T>
Returns:
the node defined for the element resource-ref

getResourceRefList

public java.util.List<ResourceRefType<WebFragmentType<T>>> getResourceRefList()
Returns all resource-ref elements

Specified by:
getResourceRefList in interface WebFragmentType<T>
Returns:
list of resource-ref

removeAllResourceEnvRef

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

Specified by:
removeAllResourceEnvRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

resourceEnvRef

public ResourceEnvRefType<WebFragmentType<T>> resourceEnvRef()
Returns the resource-env-ref element

Specified by:
resourceEnvRef in interface WebFragmentType<T>
Returns:
the node defined for the element resource-env-ref

getResourceEnvRefList

public java.util.List<ResourceEnvRefType<WebFragmentType<T>>> getResourceEnvRefList()
Returns all resource-env-ref elements

Specified by:
getResourceEnvRefList in interface WebFragmentType<T>
Returns:
list of resource-env-ref

removeAllMessageDestinationRef

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

Specified by:
removeAllMessageDestinationRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

messageDestinationRef

public MessageDestinationRefType<WebFragmentType<T>> messageDestinationRef()
Returns the message-destination-ref element

Specified by:
messageDestinationRef in interface WebFragmentType<T>
Returns:
the node defined for the element message-destination-ref

getMessageDestinationRefList

public java.util.List<MessageDestinationRefType<WebFragmentType<T>>> getMessageDestinationRefList()
Returns all message-destination-ref elements

Specified by:
getMessageDestinationRefList in interface WebFragmentType<T>
Returns:
list of message-destination-ref

removeAllPersistenceContextRef

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

Specified by:
removeAllPersistenceContextRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

persistenceContextRef

public PersistenceContextRefType<WebFragmentType<T>> persistenceContextRef()
Returns the persistence-context-ref element

Specified by:
persistenceContextRef in interface WebFragmentType<T>
Returns:
the node defined for the element persistence-context-ref

getPersistenceContextRefList

public java.util.List<PersistenceContextRefType<WebFragmentType<T>>> getPersistenceContextRefList()
Returns all persistence-context-ref elements

Specified by:
getPersistenceContextRefList in interface WebFragmentType<T>
Returns:
list of persistence-context-ref

removeAllPersistenceUnitRef

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

Specified by:
removeAllPersistenceUnitRef in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

persistenceUnitRef

public PersistenceUnitRefType<WebFragmentType<T>> persistenceUnitRef()
Returns the persistence-unit-ref element

Specified by:
persistenceUnitRef in interface WebFragmentType<T>
Returns:
the node defined for the element persistence-unit-ref

getPersistenceUnitRefList

public java.util.List<PersistenceUnitRefType<WebFragmentType<T>>> getPersistenceUnitRefList()
Returns all persistence-unit-ref elements

Specified by:
getPersistenceUnitRefList in interface WebFragmentType<T>
Returns:
list of persistence-unit-ref

removeAllPostConstruct

public WebFragmentType<T> removeAllPostConstruct()
Removes all post-construct elements

Specified by:
removeAllPostConstruct in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

postConstruct

public LifecycleCallbackType<WebFragmentType<T>> postConstruct()
Returns the post-construct element

Specified by:
postConstruct in interface WebFragmentType<T>
Returns:
the node defined for the element post-construct

getPostConstructList

public java.util.List<LifecycleCallbackType<WebFragmentType<T>>> getPostConstructList()
Returns all post-construct elements

Specified by:
getPostConstructList in interface WebFragmentType<T>
Returns:
list of post-construct

removeAllPreDestroy

public WebFragmentType<T> removeAllPreDestroy()
Removes all pre-destroy elements

Specified by:
removeAllPreDestroy in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

preDestroy

public LifecycleCallbackType<WebFragmentType<T>> preDestroy()
Returns the pre-destroy element

Specified by:
preDestroy in interface WebFragmentType<T>
Returns:
the node defined for the element pre-destroy

getPreDestroyList

public java.util.List<LifecycleCallbackType<WebFragmentType<T>>> getPreDestroyList()
Returns all pre-destroy elements

Specified by:
getPreDestroyList in interface WebFragmentType<T>
Returns:
list of pre-destroy

removeAllDataSource

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

Specified by:
removeAllDataSource in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

dataSource

public DataSourceType<WebFragmentType<T>> dataSource()
Returns the data-source element

Specified by:
dataSource in interface WebFragmentType<T>
Returns:
the node defined for the element data-source

getDataSourceList

public java.util.List<DataSourceType<WebFragmentType<T>>> getDataSourceList()
Returns all data-source elements

Specified by:
getDataSourceList in interface WebFragmentType<T>
Returns:
list of data-source

setVersion

public WebFragmentType<T> setVersion(WebAppVersionType version)
Sets the version attribute

Specified by:
setVersion in interface WebFragmentType<T>
Parameters:
version - the value for the attribute version
Returns:
the current instance of WebFragmentType

setVersion

public WebFragmentType<T> setVersion(java.lang.String version)
Sets the version attribute

Specified by:
setVersion in interface WebFragmentType<T>
Parameters:
version - the value for the attribute version
Returns:
the current instance of WebFragmentType

removeVersion

public WebFragmentType<T> removeVersion()
Removes the version attribute

Specified by:
removeVersion in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

getVersion

public WebAppVersionType getVersion()
Returns the version element

Specified by:
getVersion in interface WebFragmentType<T>
Returns:
the node defined for the element version

getVersionAsString

public java.lang.String getVersionAsString()
Returns the version element

Specified by:
getVersionAsString in interface WebFragmentType<T>
Returns:
the node defined for the element version

setMetadataComplete

public WebFragmentType<T> setMetadataComplete(java.lang.Boolean metadataComplete)
Sets the metadata-complete attribute

Specified by:
setMetadataComplete in interface WebFragmentType<T>
Parameters:
metadataComplete - the value for the attribute metadata-complete
Returns:
the current instance of WebFragmentType

removeMetadataComplete

public WebFragmentType<T> removeMetadataComplete()
Removes the metadata-complete attribute

Specified by:
removeMetadataComplete in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

isMetadataComplete

public java.lang.Boolean isMetadataComplete()
Returns the metadata-complete element

Specified by:
isMetadataComplete in interface WebFragmentType<T>
Returns:
the node defined for the element metadata-complete

setName

public WebFragmentType<T> setName(java.lang.String name)
Creates a new name element

Specified by:
setName in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

setNameList

public WebFragmentType<T> setNameList(java.lang.String... values)
Creates for all String objects representing name elements, a new name element

Specified by:
setNameList in interface WebFragmentType<T>
Parameters:
list - of name objects
Returns:
the current instance of WebFragmentType

removeAllName

public WebFragmentType<T> removeAllName()
Removes the name element

Specified by:
removeAllName in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

getNameList

public java.util.List<java.lang.String> getNameList()
Returns all name elements

Specified by:
getNameList in interface WebFragmentType<T>
Returns:
list of name

removeAllOrdering

public WebFragmentType<T> removeAllOrdering()
Removes all ordering elements

Specified by:
removeAllOrdering in interface WebFragmentType<T>
Returns:
the current instance of WebFragmentType

ordering

public OrderingType<WebFragmentType<T>> ordering()
Returns the ordering element

Specified by:
ordering in interface WebFragmentType<T>
Returns:
the node defined for the element ordering

getOrderingList

public java.util.List<OrderingType<WebFragmentType<T>>> getOrderingList()
Returns all ordering elements

Specified by:
getOrderingList in interface WebFragmentType<T>
Returns:
list of ordering