Enum ParameterDirectionType
- java.lang.Object
-
- java.lang.Enum<ParameterDirectionType>
-
- sk.ipesoft.d2000.d2japi.annotations.ParameterDirectionType
-
public enum ParameterDirectionType extends java.lang.Enum<ParameterDirectionType>
Direction of data transfer direction between formal RPC parameter and actual method's parameter.
-
-
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.
-
-
-
Enum Constant Detail
-
derived
public static final ParameterDirectionType derived
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-