org.jboss.shrinkwrap.descriptor.api.jboss51
Interface WebservicesType<T>

All Superinterfaces:
Child<T>

public interface WebservicesType<T>
extends Child<T>

This interface defines the contract for the webservicesType xsd type

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

Method Summary
 WebservicesType<T> contextRoot(String contextRoot)
          Sets the context-root element
 WebserviceDescriptionType<WebservicesType<T>> createWebserviceDescription()
          Creates a new webservice-description element
 List<WebserviceDescriptionType<WebservicesType<T>>> getAllWebserviceDescription()
          Returns all webservice-description elements
 String getContextRoot()
          Returns the context-root element
 String getId()
          Returns the id attribute
 WebserviceDescriptionType<WebservicesType<T>> getOrCreateWebserviceDescription()
          If not already created, a new webservice-description element will be created and returned.
 WebservicesType<T> id(String id)
          Sets the id attribute
 WebservicesType<T> removeAllWebserviceDescription()
          Removes all webservice-description elements
 WebservicesType<T> removeContextRoot()
          Removes the context-root element
 WebservicesType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

contextRoot

WebservicesType<T> contextRoot(String contextRoot)
Sets the context-root element

Parameters:
contextRoot - the value for the element context-root
Returns:
the current instance of WebservicesType

getContextRoot

String getContextRoot()
Returns the context-root element

Returns:
the node defined for the element context-root

removeContextRoot

WebservicesType<T> removeContextRoot()
Removes the context-root element

Returns:
the current instance of WebservicesType

getOrCreateWebserviceDescription

WebserviceDescriptionType<WebservicesType<T>> getOrCreateWebserviceDescription()
If not already created, a new webservice-description element will be created and returned. Otherwise, the first existing webservice-description element will be returned.

Returns:
the instance defined for the element webservice-description

createWebserviceDescription

WebserviceDescriptionType<WebservicesType<T>> createWebserviceDescription()
Creates a new webservice-description element

Returns:
the new created instance of WebserviceDescriptionType>

getAllWebserviceDescription

List<WebserviceDescriptionType<WebservicesType<T>>> getAllWebserviceDescription()
Returns all webservice-description elements

Returns:
list of webservice-description

removeAllWebserviceDescription

WebservicesType<T> removeAllWebserviceDescription()
Removes all webservice-description elements

Returns:
the current instance of WebserviceDescriptionType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

WebservicesType<T> removeId()
Removes the id attribute

Returns:
the current instance of WebservicesType


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