net.sourceforge.ccxjc.it.model.pkg.collections.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
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<String> getHttpMethod()
          Gets the value of the httpMethod property.
 String getId()
          Gets the value of the id property.
 List<UrlPatternType> getUrlPattern()
          Gets the value of the urlPattern property.
 String getWebResourceName()
          Gets the value of the webResourceName property.
 void setId(String value)
          Sets the value of the id property.
 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

List<DescriptionType> getDescription()
Gets the value of the description property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list DescriptionType


getUrlPattern

List<UrlPatternType> getUrlPattern()
Gets the value of the urlPattern property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the urlPattern property.

For example, to add a new item, do as follows:

    getUrlPattern().add(newItem);
 

Objects of the following type(s) are allowed in the list UrlPatternType


getHttpMethod

List<String> getHttpMethod()
Gets the value of the httpMethod property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the httpMethod property.

For example, to add a new item, do as follows:

    getHttpMethod().add(newItem);
 

Objects of the following type(s) are allowed in the list 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.