Package com.ibm.wsdl

Class PortImpl

All Implemented Interfaces:
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:
  • Field Details

    • name

      protected String name
    • binding

      protected Binding binding
    • nativeAttributeNames

      protected List nativeAttributeNames
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • PortImpl

      public PortImpl()
  • Method Details

    • setName

      public void setName(String name)
      Set the name of this port.
      Specified by:
      setName in interface Port
      Parameters:
      name - the desired name
    • 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
    • getBinding

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

      public String toString()
      Overrides:
      toString in class AbstractWSDLElement
    • 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