org.apache.woden.wsdl20.xml

## Interface InterfaceFaultReferenceElement

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

      public interface InterfaceFaultReferenceElement
      extends DocumentableElement, NestedElement

  Represents the WSDL 2.0 <infault> and <outfault> elements, declared as child elements of the interface <operation> element.
  Author:
    John Kaputin (jkaputin@apache.org)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Direction` | `getDirection()` Returns an enumerated type, Direction, that indicates the direction of this fault.
    `InterfaceFaultElement` | `getInterfaceFaultElement()` Return the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement.
    `NCName` | `getMessageLabel()` Return the NCName representing the message label.
    `QName` | `getRef()` Return the name of the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement.
    `void` | `setDirection(Direction dir)` Set the message direction using the specified enumerated type, Direction, which indicates the direction of the fault.
    `void` | `setMessageLabel(NCName msgLabel)` Set the message label to the specified NCName.
    `void` | `setRef(QName faultName)` Specify the name of the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement.

    - ### 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 faultName)

      Specify the name of the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement. The specified QName corresponds to the `ref` attribute of the interface operation <infault> or <outfault> element.
      Parameters:
        `faultName` - the QName of the interface fault

    - #### getRef

          QName getRef()

      Return the name of the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement. This corresponds to the `ref` attribute of the interface operation <infault> or <outfault> element.
      Returns:
        the QName of the interface fault

    - #### getInterfaceFaultElement

          InterfaceFaultElement getInterfaceFaultElement()

      Return the InterfaceFaultElement referred to by this InterfaceFaultReferenceElement. This equates to the interface <fault> element referred to by the `ref` attribute of the interface operation <infault> or <outfault> element. If this reference cannot be resolved to an InterfaceFaultElement, this method will return null.
      Returns:
        the InterfaceFaultElement

    - #### setMessageLabel

          void setMessageLabel(NCName msgLabel)

      Set the message label to the specified NCName. This corresponds to the `messageLabel` attribute of the interface operation <infault> and <outfault> elements. It represents a placeholder message in the message exchange pattern specified by the parent interface <operation> element.
      Parameters:
        `msgLabel` - the NCName representing the message label

    - #### getMessageLabel

          NCName getMessageLabel()

      Return the NCName representing the message label. This corresponds to the `messageLabel` attribute of the interface operation <infault> and <outfault> elements. It represents a placeholder message in the message exchange pattern specified by the parent interface <operation> element.
      Returns:
        NCName the message label

    - #### setDirection

          void setDirection(Direction dir)

      Set the message direction using the specified enumerated type, Direction, which indicates the direction of the fault. Direction.IN corresponds to the interface operation <infault> element. Direction.OUT corresponds to the interface operation <outfault> element.
      Parameters:
        `dir` - the Direction of the fault

    - #### getDirection

          Direction getDirection()

      Returns an enumerated type, Direction, that indicates the direction of this fault. Direction.IN corresponds to the interface operation <infault> element. Direction.OUT corresponds to the interface operation <outfault> element.
      Returns:
        the Direction of the fault

Copyright ? Apache Software Foundation. All Rights Reserved.