com.ibm.wsdl

Class PortImpl

Implemented Interfaces:
ElementExtensible, Port, java.io.Serializable

public class PortImpl
extends java.lang.Object
implements Port

This class represents a port, an endpoint for the functionality described by a particular port type.
Authors:
Paul Fremantle
Nirmal Mukhi
Matthew J. Duftler

Field Summary

protected Binding
binding
protected Element
docEl
protected List
extElements
protected String
name
static long
serialVersionUID

Method Summary

void
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
Binding
getBinding()
Get the binding this port refers to.
Element
getDocumentationElement()
Get the documentation element.
List
getExtensibilityElements()
Get all the extensibility elements defined here.
String
getName()
Get the name of this port.
void
setBinding(Binding binding)
Set the binding this port should refer to.
void
setDocumentationElement(Element docEl)
Set the documentation element for this document.
void
setName(String name)
Set the name of this port.
String
toString()

Field Details

binding

protected Binding binding

docEl

protected Element docEl

extElements

protected List extElements

name

protected String name

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Method Details

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
Specified by:
addExtensibilityElement in interface ElementExtensible
Parameters:
extElement - the extensibility element to be added

getBinding

public Binding getBinding()
Get the binding this port refers to.
Specified by:
getBinding in interface Port
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.
Specified by:
getDocumentationElement in interface Port
Returns:
the documentation element

getExtensibilityElements

public List getExtensibilityElements()
Get all the extensibility elements defined here.
Specified by:
getExtensibilityElements in interface ElementExtensible

getName

public String getName()
Get the name of this port.
Specified by:
getName in interface Port
Returns:
the port name

setBinding

public void setBinding(Binding binding)
Set the binding this port should refer to.
Specified by:
setBinding in interface Port
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.
Specified by:
setDocumentationElement in interface Port
Parameters:
docEl - the documentation element

setName

public void setName(String name)
Set the name of this port.
Specified by:
setName in interface Port
Parameters:
name - the desired name

toString

public String toString()