net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee
Class WebResourceCollectionType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.WebResourceCollectionType
All Implemented Interfaces:
Serializable, Cloneable

public class WebResourceCollectionType
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  DescriptionType[] description
           
protected  String[] httpMethod
           
protected  String id
           
protected  UrlPatternType[] urlPattern
           
protected  String webResourceName
           
 
Constructor Summary
WebResourceCollectionType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.WebResourceCollectionType instance.
WebResourceCollectionType(WebResourceCollectionType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.WebResourceCollectionType instance by copying a given instance.
 
Method Summary
 WebResourceCollectionType clone()
          Creates and returns a copy of this object.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webResourceName

protected String webResourceName

description

protected DescriptionType[] description

urlPattern

protected UrlPatternType[] urlPattern

httpMethod

protected String[] httpMethod

id

protected String id
Constructor Detail

WebResourceCollectionType

public WebResourceCollectionType()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.WebResourceCollectionType instance.


WebResourceCollectionType

public WebResourceCollectionType(WebResourceCollectionType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.WebResourceCollectionType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getWebResourceName

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

Returns:
possible object is String

setWebResourceName

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

Parameters:
value - allowed object is String

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

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

setDescription

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

getUrlPattern

public UrlPatternType[] getUrlPattern()
Returns:
array of UrlPatternType

getUrlPattern

public UrlPatternType getUrlPattern(int idx)
Returns:
one of UrlPatternType

getUrlPatternLength

public int getUrlPatternLength()

setUrlPattern

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

setUrlPattern

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

getHttpMethod

public String[] getHttpMethod()
Returns:
array of String

getHttpMethod

public String getHttpMethod(int idx)
Returns:
one of String

getHttpMethodLength

public int getHttpMethodLength()

setHttpMethod

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

setHttpMethod

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

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

clone

public WebResourceCollectionType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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