com.ibm.wsdl

Class PortImpl

public class PortImpl extends Object implements Port

This class represents a port, an endpoint for the functionality described by a particular port type.

Author: Paul Fremantle Nirmal Mukhi Matthew J. Duftler

Field Summary
protected Bindingbinding
protected ElementdocEl
protected ListextElements
protected Stringname
static longserialVersionUID
Method Summary
voidaddExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
BindinggetBinding()
Get the binding this port refers to.
ElementgetDocumentationElement()
Get the documentation element.
ListgetExtensibilityElements()
Get all the extensibility elements defined here.
StringgetName()
Get the name of this port.
voidsetBinding(Binding binding)
Set the binding this port should refer to.
voidsetDocumentationElement(Element docEl)
Set the documentation element for this document.
voidsetName(String name)
Set the name of this port.
StringtoString()

Field Detail

binding

protected Binding binding

docEl

protected Element docEl

extElements

protected List extElements

name

protected String name

serialVersionUID

public static final long serialVersionUID

Method Detail

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.

Parameters: extElement the extensibility element to be added

getBinding

public Binding getBinding()
Get the binding this port refers to.

Returns: the binding associated with this port

getDocumentationElement

public Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Returns: the documentation element

getExtensibilityElements

public List getExtensibilityElements()
Get all the extensibility elements defined here.

getName

public String getName()
Get the name of this port.

Returns: the port name

setBinding

public void setBinding(Binding binding)
Set the binding this port should refer to.

Parameters: binding the desired binding

setDocumentationElement

public void setDocumentationElement(Element docEl)
Set the documentation element for this document. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Parameters: docEl the documentation element

setName

public void setName(String name)
Set the name of this port.

Parameters: name the desired name

toString

public String toString()
Copyright B) 2003,2005 IBM. All Rights Reserved.