public interface WebservicesType<T> extends Child<T>
webservicesType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
WebservicesType<T> contextRoot(String contextRoot)
context-root
elementcontextRoot
- the value for the element context-root
WebservicesType
String getContextRoot()
context-root
elementcontext-root
WebservicesType<T> removeContextRoot()
context-root
elementWebservicesType
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
elementWebserviceDescriptionType>
List<WebserviceDescriptionType<WebservicesType<T>>> getAllWebserviceDescription()
webservice-description
elementswebservice-description
WebservicesType<T> removeAllWebserviceDescription()
webservice-description
elementsWebserviceDescriptionType>
WebservicesType<T> id(String id)
id
attributeid
- the value for the attribute id
WebservicesType
String getId()
id
attributeid
WebservicesType<T> removeId()
id
attributeWebservicesType
Copyright © 2019 JBoss by Red Hat. All rights reserved.