Enum Class Relation.Direction

java.lang.Object
java.lang.Enum<Relation.Direction>
de.iip_ecosphere.platform.services.spring.descriptor.Relation.Direction
All Implemented Interfaces:
Serializable, Comparable<Relation.Direction>, Constable
Enclosing interface:
Relation

public static enum Relation.Direction extends Enum<Relation.Direction>
Declares the direction types of an relation.
Author:
Holger Eichelberger, SSE
  • Enum Constant Details

    • IN

      public static final Relation.Direction IN
      Input direction.
    • OUT

      public static final Relation.Direction OUT
      Output direction.
    • OTHER

      public static final Relation.Direction OTHER
      If an explicit direction for other relations such as the empty channel for local connections shall be stated.
  • Constructor Details

    • Direction

      private Direction()
  • Method Details

    • values

      public static Relation.Direction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Relation.Direction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null