org.apache.woden.wsdl20.enumeration

## Class Direction

- java.lang.Object
- - org.apache.woden.wsdl20.enumeration.Direction

-     public class Direction
      extends Object

  This class defines the values of the {direction} property of InterfaceMessageReference and InterfaceFaultReference. This property indicates whether a message is coming "in" to the service or going "out" from the service.

  The property is represented in XML by the message or fault reference element's tag name:

  - <input> and <infault> have the direction "in" - represented by the constant IN
  - <output> and <outfault> have the direction "out" - represented by the constant OUT
  This class uses the typesafe enum pattern. Applications should use the public static final constants defined in this class to specify or to evaluate direction.

  Examples:

           msgRef.setDirection(Direction.IN);
           if(msgRef.getDirection() == Direction.IN) ...
           if(msgRef.getDirection().equals(Direction.IN)) ...

           Note that == and .equals() are equivalent.

  TODO if extensibility is required, chg ctor to protected
  Author:
    jkaputin@apache.org

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Direction` | `IN`
    `static Direction` | `OUT`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### IN

          public static final Direction IN

    - #### OUT

          public static final Direction OUT

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright ? Apache Software Foundation. All Rights Reserved.