|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebservicesType<T>
This interface defines the contract for the webservicesType
xsd type
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 |
---|
WebservicesType<T> contextRoot(String contextRoot)
context-root
element
contextRoot
- the value for the element context-root
WebservicesType
String getContextRoot()
context-root
element
context-root
WebservicesType<T> removeContextRoot()
context-root
element
WebservicesType
WebserviceDescriptionType<WebservicesType<T>> getOrCreateWebserviceDescription()
webservice-description
element will be created and returned.
Otherwise, the first existing webservice-description
element will be returned.
webservice-description
WebserviceDescriptionType<WebservicesType<T>> createWebserviceDescription()
webservice-description
element
WebserviceDescriptionType>
List<WebserviceDescriptionType<WebservicesType<T>>> getAllWebserviceDescription()
webservice-description
elements
webservice-description
WebservicesType<T> removeAllWebserviceDescription()
webservice-description
elements
WebserviceDescriptionType>
WebservicesType<T> id(String id)
id
attribute
id
- the value for the attribute id
WebservicesType
String getId()
id
attribute
id
WebservicesType<T> removeId()
id
attribute
WebservicesType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |