org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface WebResourceCollectionType<T>

All Superinterfaces:
Child<T>

public interface WebResourceCollectionType<T>
extends Child<T>

This interface defines the contract for the web-resource-collectionType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 WebResourceCollectionType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllHttpMethod()
          Returns all http-method elements
 List<String> getAllHttpMethodOmission()
          Returns all http-method-omission elements
 List<String> getAllUrlPattern()
          Returns all url-pattern elements
 String getId()
          Returns the id attribute
 String getWebResourceName()
          Returns the web-resource-name element
 WebResourceCollectionType<T> httpMethod(String... values)
          Creates for all String objects representing http-method elements, a new http-method element
 WebResourceCollectionType<T> httpMethodOmission(String... values)
          Creates for all String objects representing http-method-omission elements, a new http-method-omission element
 WebResourceCollectionType<T> id(String id)
          Sets the id attribute
 WebResourceCollectionType<T> removeAllDescription()
          Removes the description element
 WebResourceCollectionType<T> removeAllHttpMethod()
          Removes the http-method element
 WebResourceCollectionType<T> removeAllHttpMethodOmission()
          Removes the http-method-omission element
 WebResourceCollectionType<T> removeAllUrlPattern()
          Removes the url-pattern element
 WebResourceCollectionType<T> removeId()
          Removes the id attribute
 WebResourceCollectionType<T> removeWebResourceName()
          Removes the web-resource-name element
 WebResourceCollectionType<T> urlPattern(String... values)
          Creates for all String objects representing url-pattern elements, a new url-pattern element
 WebResourceCollectionType<T> webResourceName(String webResourceName)
          Sets the web-resource-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

webResourceName

WebResourceCollectionType<T> webResourceName(String webResourceName)
Sets the web-resource-name element

Parameters:
webResourceName - the value for the element web-resource-name
Returns:
the current instance of WebResourceCollectionType

getWebResourceName

String getWebResourceName()
Returns the web-resource-name element

Returns:
the node defined for the element web-resource-name

removeWebResourceName

WebResourceCollectionType<T> removeWebResourceName()
Removes the web-resource-name element

Returns:
the current instance of WebResourceCollectionType

description

WebResourceCollectionType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of WebResourceCollectionType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

WebResourceCollectionType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of WebResourceCollectionType

urlPattern

WebResourceCollectionType<T> urlPattern(String... values)
Creates for all String objects representing url-pattern elements, a new url-pattern element

Parameters:
values - list of url-pattern objects
Returns:
the current instance of WebResourceCollectionType

getAllUrlPattern

List<String> getAllUrlPattern()
Returns all url-pattern elements

Returns:
list of url-pattern

removeAllUrlPattern

WebResourceCollectionType<T> removeAllUrlPattern()
Removes the url-pattern element

Returns:
the current instance of WebResourceCollectionType

httpMethod

WebResourceCollectionType<T> httpMethod(String... values)
Creates for all String objects representing http-method elements, a new http-method element

Parameters:
values - list of http-method objects
Returns:
the current instance of WebResourceCollectionType

getAllHttpMethod

List<String> getAllHttpMethod()
Returns all http-method elements

Returns:
list of http-method

removeAllHttpMethod

WebResourceCollectionType<T> removeAllHttpMethod()
Removes the http-method element

Returns:
the current instance of WebResourceCollectionType

httpMethodOmission

WebResourceCollectionType<T> httpMethodOmission(String... values)
Creates for all String objects representing http-method-omission elements, a new http-method-omission element

Parameters:
values - list of http-method-omission objects
Returns:
the current instance of WebResourceCollectionType

getAllHttpMethodOmission

List<String> getAllHttpMethodOmission()
Returns all http-method-omission elements

Returns:
list of http-method-omission

removeAllHttpMethodOmission

WebResourceCollectionType<T> removeAllHttpMethodOmission()
Removes the http-method-omission element

Returns:
the current instance of WebResourceCollectionType

id

WebResourceCollectionType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of WebResourceCollectionType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

WebResourceCollectionType<T> removeId()
Removes the id attribute

Returns:
the current instance of WebResourceCollectionType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.