public class WebResourceCollectionType extends Object
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"/>
<choice minOccurs="0">
<element name="http-method" type="{http://java.sun.com/xml/ns/javaee}http-methodType" maxOccurs="unbounded"/>
<element name="http-method-omission" type="{http://java.sun.com/xml/ns/javaee}http-methodType" maxOccurs="unbounded"/>
</choice>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected List<String> |
httpMethod |
protected List<String> |
httpMethodOmission |
protected String |
id |
protected List<UrlPatternType> |
urlPattern |
protected String |
webResourceName |
| Constructor and Description |
|---|
WebResourceCollectionType() |
protected String webResourceName
protected List<DescriptionType> description
protected List<UrlPatternType> urlPattern
protected String id
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 List<String> getHttpMethodOmission()
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 httpMethodOmission property.
For example, to add a new item, do as follows:
getHttpMethodOmission().add(newItem);
Objects of the following type(s) are allowed in the list
String
public void setId(String value)
value - allowed object is
Stringpublic WebResourceCollectionType withWebResourceName(String value)
public WebResourceCollectionType withDescription(DescriptionType... values)
public WebResourceCollectionType withDescription(Collection<DescriptionType> values)
public WebResourceCollectionType withUrlPattern(UrlPatternType... values)
public WebResourceCollectionType withUrlPattern(Collection<UrlPatternType> values)
public WebResourceCollectionType withHttpMethod(String... values)
public WebResourceCollectionType withHttpMethod(Collection<String> values)
public WebResourceCollectionType withHttpMethodOmission(String... values)
public WebResourceCollectionType withHttpMethodOmission(Collection<String> values)
public WebResourceCollectionType withId(String value)
Copyright © 2019. All rights reserved.