public class ServiceImpl extends AbstractWSDLElement implements Service
Modifier and Type | Field and Description |
---|---|
protected QName |
name |
protected java.util.List |
nativeAttributeNames |
protected java.util.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.
|
java.util.List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
Port |
getPort(java.lang.String name)
Get the specified port.
|
java.util.Map |
getPorts()
Get all the ports defined here.
|
QName |
getQName()
Get the name of this service.
|
Port |
removePort(java.lang.String name)
Remove the specified port.
|
void |
setQName(QName name)
Set the name of this service.
|
java.lang.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 java.util.Map ports
protected java.util.List nativeAttributeNames
public static final long serialVersionUID
public void setQName(QName name)
public QName getQName()
public void addPort(Port port)
public Port getPort(java.lang.String name)
public Port removePort(java.lang.String name)
removePort
in interface Service
name
- the name of the port to be removed.public java.util.Map getPorts()
public java.lang.String toString()
toString
in class AbstractWSDLElement
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
Copyright ? 2003, 2013 IBM. All Rights Reserved.