|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WebResourceCollectionType
public class 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>
| Field Summary | |
|---|---|
protected List<DescriptionType> |
description
|
protected List<String> |
httpMethod
|
protected String |
id
|
protected List<UrlPatternType> |
urlPattern
|
protected String |
webResourceName
|
| Constructor Summary | |
|---|---|
WebResourceCollectionType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WebResourceCollectionType instance. |
|
WebResourceCollectionType(WebResourceCollectionType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WebResourceCollectionType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
WebResourceCollectionType |
clone()
Creates and returns a copy of this object. |
static void |
copyDescription(List<DescriptionType> source,
List<DescriptionType> target)
Copies all values of property Description. |
static void |
copyHttpMethod(List<String> source,
List<String> target)
Copies all values of property HttpMethod. |
static void |
copyUrlPattern(List<UrlPatternType> source,
List<UrlPatternType> target)
Copies all values of property UrlPattern. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String webResourceName
protected List<DescriptionType> description
protected List<UrlPatternType> urlPattern
protected List<String> httpMethod
protected String id
| Constructor Detail |
|---|
public WebResourceCollectionType()
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WebResourceCollectionType instance.
public WebResourceCollectionType(WebResourceCollectionType o)
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WebResourceCollectionType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getWebResourceName()
Stringpublic void setWebResourceName(String value)
value - allowed object is
Stringpublic List<DescriptionType> getDescription()
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
public List<UrlPatternType> getUrlPattern()
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
public List<String> getHttpMethod()
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
public String getId()
Stringpublic void setId(String value)
value - allowed object is
String
public static void copyDescription(List<DescriptionType> source,
List<DescriptionType> target)
Description.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyUrlPattern(List<UrlPatternType> source,
List<UrlPatternType> target)
UrlPattern.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
public static void copyHttpMethod(List<String> source,
List<String> target)
HttpMethod.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public WebResourceCollectionType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||