|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.ServiceImpl
public class ServiceImpl
This class represents a service, which groups related ports to provide some functionality.
Field Summary | |
---|---|
protected QName |
name
|
protected java.util.List |
nativeAttributeNames
|
protected java.util.Map |
ports
|
static long |
serialVersionUID
|
Fields inherited from class com.ibm.wsdl.AbstractWSDLElement |
---|
docEl, extElements, extensionAttributes |
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible |
---|
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE |
Constructor Summary | |
---|---|
ServiceImpl()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class com.ibm.wsdl.AbstractWSDLElement |
---|
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.wsdl.WSDLElement |
---|
getDocumentationElement, setDocumentationElement |
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible |
---|
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute |
Methods inherited from interface javax.wsdl.extensions.ElementExtensible |
---|
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement |
Field Detail |
---|
protected QName name
protected java.util.Map ports
protected java.util.List nativeAttributeNames
public static final long serialVersionUID
Constructor Detail |
---|
public ServiceImpl()
Method Detail |
---|
public void setQName(QName name)
setQName
in interface Service
name
- the desired namepublic QName getQName()
getQName
in interface Service
public void addPort(Port port)
addPort
in interface Service
port
- the port to be addedpublic Port getPort(java.lang.String name)
getPort
in interface Service
name
- the name of the desired port.
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()
getPorts
in interface Service
public java.lang.String toString()
toString
in class AbstractWSDLElement
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface AttributeExtensible
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |