com.ibm.wsdl
Class ServiceImpl
- java.io.Serializable, AttributeExtensible, ElementExtensible, java.io.Serializable, Service, WSDLElement
This class represents a service, which groups related
ports to provide some functionality.
- Paul Fremantle
- Nirmal Mukhi
- Matthew J. Duftler
nativeAttributeNames
protected List nativeAttributeNames
serialVersionUID
public static final long serialVersionUID
addPort
public void addPort(Port port)
Add a port to this service.
- addPort in interface Service
port
- the port to be added
getNativeAttributeNames
public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
- getNativeAttributeNames in interface AttributeExtensible
- a List of Strings, one for each local attribute name
getPort
public Port getPort(String name)
Get the specified port.
- getPort in interface Service
name
- the name of the desired port.
- the corresponding port, or null if there wasn't
any matching port
getPorts
public Map getPorts()
Get all the ports defined here.
- getPorts in interface Service
removePort
public Port removePort(String name)
Remove the specified port.
- removePort in interface Service
name
- the name of the port to be removed.
- the port which was removed
setQName
public void setQName(QName name)
Set the name of this service.
- setQName in interface Service
Copyright B) 2003,2006 IBM. All Rights Reserved.