Enum ParameterDirectionType



  • public enum ParameterDirectionType
    extends java.lang.Enum<ParameterDirectionType>
    Direction of data transfer direction between formal RPC parameter and actual method's parameter.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      derived
      Actual direction is derived from types of actual method parameter and formal RPC parameter.
      in
      From caller to callee only.
      inout
      Both from caller to callee and then from callee to caller.
      out
      From callee to caller only.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ParameterDirectionType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ParameterDirectionType[] values​()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • derived

        public static final ParameterDirectionType derived
        Actual direction is derived from types of actual method parameter and formal RPC parameter.

        If actual method parameter is of InOut type and formal RPC parameter is INOUT and RPC is synchronous then inout is assumed. In any other case in is assumed.

      • in

        public static final ParameterDirectionType in
        From caller to callee only.

        Actual method parameter can but doesn't have to be of InOut type. Formal RPC parameter can be either IN or INOUT. Allowed both in synchronous and asynchronous RPCs.

      • inout

        public static final ParameterDirectionType inout
        Both from caller to callee and then from callee to caller.

        Actual method parameter must be of InOut type. Formal RPC parameter must be INOUT. Allowed in synchronous RPCs only.

      • out

        public static final ParameterDirectionType out
        From callee to caller only. Caller's value is ignored and INVALID is transfered to callee instead.

        Actual method parameter must be of InOut type. Formal RPC parameter must be INOUT. Allowed in synchronous RPCs only.

    • Method Detail

      • values

        public static ParameterDirectionType[] values​()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ParameterDirectionType c : ParameterDirectionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ParameterDirectionType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null