org.apache.ode.bpel.compiler.bom

## Class PartnerLinkType.Role

- java.lang.Object
- - org.apache.ode.bpel.compiler.bom.BpelObject
  - - org.apache.ode.bpel.compiler.bom.BpelObject4WSDL
    - - org.apache.ode.bpel.compiler.bom.PartnerLinkType.Role

- All Implemented Interfaces:
    java.io.Serializable, javax.wsdl.extensions.ExtensibilityElement, SourceLocation
  Direct Known Subclasses:
    PartnerLinkType.Role11
  Enclosing class:
    PartnerLinkType

      public static class PartnerLinkType.Role
      extends BpelObject4WSDL

  Representation of the WSDL partnerLink link type role elements.
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.apache.ode.bpel.compiler.bom.BpelObject

      `ATTR_LINENO`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PartnerLinkType.Role(org.w3c.dom.Element el)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()` Get the portName of the role (e.g.
    `javax.xml.namespace.QName` | `getPortType()` Get the WSDL portType of the role (i.e.

    - ### Methods inherited from class org.apache.ode.bpel.compiler.bom.BpelObject4WSDL

      `getElementType, getRequired, getTargetNamespace, setElementType, setRequired, setTargetNamespace`

    - ### Methods inherited from class org.apache.ode.bpel.compiler.bom.BpelObject

      `createBpelObject, getAttribute, getAttribute, getAttribute, getAttribute, getChildren, getChildren, getChildren, getColumnNo, getElement, getExtensibilityElement, getExtensibilityElements, getFirstChild, getFirstChild, getFirstExtensibilityElementElement, getLineNo, getNamespaceContext, getPath, getTextValue, getType, getURI, is11, is20Draft, isAttributeSet, rewriteTargetNS, setURI, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PartnerLinkType.Role

          public PartnerLinkType.Role(org.w3c.dom.Element el)

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Get the portName of the role (e.g. "Buyer", "Seller").
      Returns:
        role portName

    - #### getPortType

          public javax.xml.namespace.QName getPortType()

      Get the WSDL portType of the role (i.e. the interface implemented by the object acting in the role).
      Returns:
        role portType