Package com.ibm.wsdl
Class PortImpl
- java.lang.Object
-
- com.ibm.wsdl.AbstractWSDLElement
-
- com.ibm.wsdl.PortImpl
-
- All Implemented Interfaces:
java.io.Serializable
,AttributeExtensible
,ElementExtensible
,Port
,WSDLElement
public class PortImpl extends AbstractWSDLElement 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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Binding
binding
protected java.lang.String
name
protected java.util.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
-
-
Constructor Summary
Constructors Constructor Description PortImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Binding
getBinding()
Get the binding this port refers to.java.lang.String
getName()
Get the name of this port.java.util.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(java.lang.String name)
Set the name of this port.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.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttribute
-
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
-
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
-
-
-
-
Field Detail
-
name
protected java.lang.String name
-
binding
protected Binding binding
-
nativeAttributeNames
protected java.util.List nativeAttributeNames
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name of this port.
-
getName
public java.lang.String getName()
Get the name of this port.
-
setBinding
public void setBinding(Binding binding)
Set the binding this port should refer to.- Specified by:
setBinding
in interfacePort
- Parameters:
binding
- the desired binding
-
getBinding
public Binding getBinding()
Get the binding this port refers to.- Specified by:
getBinding
in interfacePort
- Returns:
- the binding associated with this port
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractWSDLElement
-
getNativeAttributeNames
public java.util.List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.- Specified by:
getNativeAttributeNames
in interfaceAttributeExtensible
- Returns:
- a List of Strings, one for each local attribute name
-
-