org.apache.woden.wsdl20.xml

## Interface BindingOperationElement

- All Superinterfaces:
    AttributeExtensible, DocumentableElement, ElementExtensible, NestedElement, WSDLElement

      public interface BindingOperationElement
      extends DocumentableElement, NestedElement

  Represents the WSDL 2.0 <operation> element, declared as a child of the <binding> element.
  Author:
    John Kaputin (jkaputin@apache.org)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BindingFaultReferenceElement` | `addBindingFaultReferenceElement()` Create a BindingFaultReferenceElement with this BindingOperationElement as its parent and return a reference to it.
    `BindingMessageReferenceElement` | `addBindingMessageReferenceElement()` Create a BindingMessageReferenceElement with this BindingOperationElement as its parent and return a reference to it.
    `BindingFaultReferenceElement[]` | `getBindingFaultReferenceElements()` Return the set of BindingFaultReferenceElements within this BindingOperationElement.
    `BindingMessageReferenceElement[]` | `getBindingMessageReferenceElements()` Return the set of BindingMessageReferenceElements within this BindingOperationElement.
    `InterfaceOperationElement` | `getInterfaceOperationElement()` Return the InterfaceOperationElement referred to by this BindingOperationElement.
    `QName` | `getRef()` Return the name of the InterfaceOperationElement referred to by this BindingOperationElement.
    `void` | `removeBindingFaultReferenceElement(BindingFaultReferenceElement faultRef)` Remove the specified BindingFaultReferenceElement from the set of BindingFaultReferenceElements within this BindingOperationElement.
    `void` | `removeBindingMessageReferenceElement(BindingMessageReferenceElement msgRef)` Remove the specified BindingMessageReferenceElement from the set of BindingMessageReferenceElements within this BindingOperationElement.
    `void` | `setRef(QName operName)` Specify the name of the InterfaceOperationElement referred to by this BindingOperationElement.

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement

      `addDocumentationElement, getDocumentationElements`

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement

      `getParentElement`

    - ### Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement

      `addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace`

    - ### Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible

      `getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute`

    - ### Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible

      `addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement`

- - ### Method Detail

    - #### setRef

          void setRef(QName operName)

      Specify the name of the InterfaceOperationElement referred to by this BindingOperationElement. The specified QName corresponds to the `ref` attribute of the binding <operation> element.
      Parameters:
        `operName` - the QName of the interface operation.

    - #### getRef

          QName getRef()

      Return the name of the InterfaceOperationElement referred to by this BindingOperationElement. This corresponds to the `ref` attribute of the binding <operation> element.
      Returns:
        the QName of the interface operation

    - #### getInterfaceOperationElement

          InterfaceOperationElement getInterfaceOperationElement()

      Return the InterfaceOperationElement referred to by this BindingOperationElement. This equates to the interface <operation> element referred to by the `ref` attribute of the binding <operation> element. If this reference cannot be resolved to an InterfaceOperationElement, this method will return null.
      Returns:
        the InterfaceOperationElement

    - #### addBindingMessageReferenceElement

          BindingMessageReferenceElement addBindingMessageReferenceElement()

      Create a BindingMessageReferenceElement with this BindingOperationElement as its parent and return a reference to it. This equates to adding an <input> or <output> element to the binding <operation> element.
      Returns:
        the BindingMessageReferenceElement

    - #### removeBindingMessageReferenceElement

          void removeBindingMessageReferenceElement(BindingMessageReferenceElement msgRef)

      Remove the specified BindingMessageReferenceElement from the set of BindingMessageReferenceElements within this BindingOperationElement. This equates to removing an <input> or <output> element from the binding <operation> element. If the specified BindingMessageReferenceElement does not exist or if a null value is specified, no action is performed.
      Parameters:
        `msgRef` - the BindingMessageReferenceElement to be removed

    - #### getBindingMessageReferenceElements

          BindingMessageReferenceElement[] getBindingMessageReferenceElements()

      Return the set of BindingMessageReferenceElements within this BindingOperationElement. This equates to the set of <input> and <output> elements within the binding <operation> element. If no BindingMessageReferenceElements exist, an empty array is returned.
      Returns:
        an array of BindingMessageReferenceElement

    - #### addBindingFaultReferenceElement

          BindingFaultReferenceElement addBindingFaultReferenceElement()

      Create a BindingFaultReferenceElement with this BindingOperationElement as its parent and return a reference to it. This equates to adding an <infault> or <outfault> element to the binding <operation> element.
      Returns:
        the BindingFaultReferenceElement

    - #### removeBindingFaultReferenceElement

          void removeBindingFaultReferenceElement(BindingFaultReferenceElement faultRef)

      Remove the specified BindingFaultReferenceElement from the set of BindingFaultReferenceElements within this BindingOperationElement. This equates to removing an <infault> or <outfault> element from the binding <operation> element. If the specified BindingFaultReferenceElement does not exist or if a null value is specified, no action is performed.
      Parameters:
        `faultRef` - the BindingFaultReferenceElement to be removed

    - #### getBindingFaultReferenceElements

          BindingFaultReferenceElement[] getBindingFaultReferenceElements()

      Return the set of BindingFaultReferenceElements within this BindingOperationElement. This equates to the set of <infault> and <outfault> elements within the binding <operation> element. If no BindingFaultReferenceElements exist, an empty array is returned.
      Returns:
        an array of BindingFaultReferenceElement

Copyright ? Apache Software Foundation. All Rights Reserved.