org.eclipse.jst.j2ee.webapplication
Interface ServletMapping

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface ServletMapping
extends J2EEEObject

The servlet-mapping element defines a mapping between a servlet and a url pattern

Since:
1.0

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Servlet getServlet()
           
 java.lang.String getUrlPattern()
           
 WebApp getWebApp()
           
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setServlet(Servlet value)
           
 void setUrlPattern(java.lang.String value)
           
 void setWebApp(WebApp value)
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getUrlPattern

java.lang.String getUrlPattern()
Returns:
The value of the UrlPattern attribute The url-pattern element contains the url pattern of the mapping. Must follow the rules specified in Section 10 of the Servlet API Specification.

setUrlPattern

void setUrlPattern(java.lang.String value)
Parameters:
value - The new value of the UrlPattern attribute

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), WebapplicationPackage.getServletMapping_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getWebApp

WebApp getWebApp()
Returns:
The WebApp reference

setWebApp

void setWebApp(WebApp value)
Parameters:
value - The new value of the WebApp reference

getServlet

Servlet getServlet()
Returns:
The Servlet reference

setServlet

void setServlet(Servlet value)
Parameters:
value - The new value of the Servlet reference