public class ServiceImpl extends AbstractWSDLElement implements Service
Modifier and Type | Field and Description |
---|---|
protected QName |
name |
protected List |
nativeAttributeNames |
protected Map |
ports |
static long |
serialVersionUID |
docEl, extElements, extensionAttributes
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Constructor and Description |
---|
ServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addPort(Port port)
Add a port to this service.
|
List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
Port |
getPort(String name)
Get the specified port.
|
Map |
getPorts()
Get all the ports defined here.
|
QName |
getQName()
Get the name of this service.
|
Port |
removePort(String name)
Remove the specified port.
|
void |
setQName(QName name)
Set the name of this service.
|
String |
toString() |
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
protected QName name
protected Map ports
protected List nativeAttributeNames
public static final long serialVersionUID
public void setQName(QName name)
public QName getQName()
public void addPort(Port port)
public Port removePort(String name)
removePort
in interface Service
name
- the name of the port to be removed.public Map getPorts()
public String toString()
toString
in class AbstractWSDLElement
public List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
Copyright © 2017 JBoss by Red Hat. All rights reserved.