net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.javaee
Interface WebResourceCollectionType

All Known Implementing Classes:
WebResourceCollectionTypeImpl

public interface WebResourceCollectionType

The web-resource-collectionType is used to identify a subset of the resources and HTTP methods on those resources within a web application to which a security constraint applies. If no HTTP methods are specified, then the security constraint applies to all HTTP methods. Used in: security-constraint

Java class for web-resource-collectionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="web-resource-collectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="web-resource-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
         <element name="http-method" type="{http://java.sun.com/xml/ns/javaee}http-methodType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 String[] getHttpMethod()
           
 String getHttpMethod(int idx)
           
 int getHttpMethodLength()
           
 String getId()
          Gets the value of the id property.
 UrlPatternType[] getUrlPattern()
           
 UrlPatternType getUrlPattern(int idx)
           
 int getUrlPatternLength()
           
 String getWebResourceName()
          Gets the value of the webResourceName property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 String setHttpMethod(int idx, String value)
           
 void setHttpMethod(String[] values)
           
 void setId(String value)
          Sets the value of the id property.
 UrlPatternType setUrlPattern(int idx, UrlPatternType value)
           
 void setUrlPattern(UrlPatternType[] values)
           
 void setWebResourceName(String value)
          Sets the value of the webResourceName property.
 

Method Detail

getWebResourceName

String getWebResourceName()
Gets the value of the webResourceName property.

Returns:
possible object is String

setWebResourceName

void setWebResourceName(String value)
Sets the value of the webResourceName property.

Parameters:
value - allowed object is String

getDescription

DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

int getDescriptionLength()

setDescription

void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

DescriptionType setDescription(int idx,
                               DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getUrlPattern

UrlPatternType[] getUrlPattern()
Returns:
array of UrlPatternType

getUrlPattern

UrlPatternType getUrlPattern(int idx)
Returns:
one of UrlPatternType

getUrlPatternLength

int getUrlPatternLength()

setUrlPattern

void setUrlPattern(UrlPatternType[] values)
Parameters:
values - allowed objects are UrlPatternType

setUrlPattern

UrlPatternType setUrlPattern(int idx,
                             UrlPatternType value)
Parameters:
value - allowed object is UrlPatternType

getHttpMethod

String[] getHttpMethod()
Returns:
array of String

getHttpMethod

String getHttpMethod(int idx)
Returns:
one of String

getHttpMethodLength

int getHttpMethodLength()

setHttpMethod

void setHttpMethod(String[] values)
Parameters:
values - allowed objects are String

setHttpMethod

String setHttpMethod(int idx,
                     String value)
Parameters:
value - allowed object is String

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.