com.ibm.wsdl

Class PortImpl

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

public class PortImpl
extends AbstractWSDLElement
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 String
name
protected List
nativeAttributeNames
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

Method Summary

Binding
getBinding()
Get the binding this port refers to.
String
getName()
Get the name of this port.
List
getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
void
setBinding(Binding binding)
Set the binding this port should refer to.
void
setName(String name)
Set the name of this port.
String
toString()

Methods inherited from class com.ibm.wsdl.AbstractWSDLElement

addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttribute, toString

Field Details

binding

protected Binding binding

name

protected String name

nativeAttributeNames

protected List nativeAttributeNames

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Method Details

getBinding

public Binding getBinding()
Get the binding this port refers to.
Specified by:
getBinding in interface Port
Returns:
the binding associated with this port

getName

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

getNativeAttributeNames

public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
Specified by:
getNativeAttributeNames in interface AttributeExtensible
Returns:
a List of Strings, one for each local attribute 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

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()
Overrides:
toString in interface AbstractWSDLElement

Copyright B) 2003,2006 IBM. All Rights Reserved.