Enum Class PParameterDirection

java.lang.Object
java.lang.Enum<PParameterDirection>
tools.refinery.interpreter.matchers.psystem.queries.PParameterDirection
All Implemented Interfaces:
Serializable, Comparable<PParameterDirection>, Constable

public enum PParameterDirection extends Enum<PParameterDirection>
Values of this enum describe a constraint to the calling of patterns regarding its parameters.
Since:
1.4
  • Enum Constant Details

    • INOUT

      public static final PParameterDirection INOUT
      Default value, no additional constraint is applied
    • IN

      public static final PParameterDirection IN
      The parameters marked with this constraints shall be set to a value before calling the pattern
    • OUT

      public static final PParameterDirection OUT
      The parameters marked with this constraints shall not be set to a value before calling the pattern
  • Method Details

    • values

      public static PParameterDirection[] 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 PParameterDirection 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