org.eclipse.jst.j2ee.webapplication
Interface WebResourceCollection

All Superinterfaces:
J2EEEObject

public interface WebResourceCollection
extends J2EEEObject

Since:
1.0

Method Summary
 void addHTTP(java.lang.String httpMethod)
          Adds instance of HTTPMethodType
 void addURL(java.lang.String urlPattern)
          Adds instance of URLPatternType
 java.lang.String getDescription()
           
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 EList getHttpMethod()
          Returns the value of the 'Http Method' attribute list.
 EList getHTTPs()
          Deprecated. : Use getHttpMethod();
 SecurityConstraint getSecConstraint()
           
 EList getUrlPattern()
          Returns the value of the 'Url Pattern' attribute list.
 EList getURLs()
           
 java.lang.String getWebResourceName()
           
 void setDescription(java.lang.String value)
           
 void setSecConstraint(SecurityConstraint value)
           
 void setWebResourceName(java.lang.String value)
           
 

Method Detail

addHTTP

public void addHTTP(java.lang.String httpMethod)
Adds instance of HTTPMethodType

Parameters:
httpMethod - name of the httpMethod to add

addURL

public void addURL(java.lang.String urlPattern)
Adds instance of URLPatternType

Parameters:
urlPattern - name of the url to add

getWebResourceName

public java.lang.String getWebResourceName()
Returns:
The value of the WebResourceName attribute The web-resource-name contains the name of this web resource collection

setWebResourceName

public void setWebResourceName(java.lang.String value)
Parameters:
value - The new value of the WebResourceName attribute

getDescription

public java.lang.String getDescription()
Returns:
The value of the Description attribute

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getUrlPattern

public EList getUrlPattern()
Returns the value of the 'Url Pattern' attribute list. The list contents are of type String.

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

Returns:
the value of the 'Url Pattern' attribute list.
See Also:
WebapplicationPackage.getWebResourceCollection_UrlPattern()

getHttpMethod

public EList getHttpMethod()
Returns the value of the 'Http Method' attribute list. The list contents are of type HTTPMethodTypeEnum. The literals are from the enumeration HTTPMethodTypeEnum.

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

Returns:
the value of the 'Http Method' attribute list.
See Also:
HTTPMethodTypeEnum, WebapplicationPackage.getWebResourceCollection_HttpMethod()

getHTTPs

public EList getHTTPs()
Deprecated. : Use getHttpMethod();

Returns:
List of HttpMethods

getSecConstraint

public SecurityConstraint getSecConstraint()
Returns:
The SecConstraint reference

setSecConstraint

public void setSecConstraint(SecurityConstraint value)
Parameters:
value - The new value of the SecConstraint reference

getURLs

public EList getURLs()
Returns:
The list of URLs references

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
WebapplicationPackage.getWebResourceCollection_Descriptions()