public class ServiceImpl extends java.lang.Object implements Service
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Element |
docEl |
protected java.util.List |
extElements |
protected QName |
name |
protected java.util.Map |
ports |
static long |
serialVersionUID |
| Constructor and Description |
|---|
ServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
void |
addPort(Port port)
Add a port to this service.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
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.
|
void |
setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document.
|
void |
setQName(QName name)
Set the name of this service.
|
java.lang.String |
toString() |
protected QName name
protected java.util.Map ports
protected org.w3c.dom.Element docEl
protected java.util.List extElements
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 java.util.Map getPorts()
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement in interface ServicedocEl - the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement in interface Servicepublic void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement in interface ElementExtensibleextElement - the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements in interface ElementExtensiblepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2003,2005 IBM. All Rights Reserved.