|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.ParameterMode
public class ParameterMode
Defines the parameter modes (the ways in that a method parameter is used during invocation). In CORBA, a method parameter can pass the value (PARAM_IN), be used as a placeholder to return the value (PARAM_OUT) or both pass the data and be used as a placeholder to return the changed value (PARAM_INOUT).
Field Summary | |
---|---|
static int |
_PARAM_IN
This value means that the parameter is an IN parameter. |
static int |
_PARAM_INOUT
This value means that the parameter is an INOUT parameter. |
static int |
_PARAM_OUT
This value means that the parameter is an OUT parameter. |
static ParameterMode |
PARAM_IN
This value means that the parameter is an IN parameter. |
static ParameterMode |
PARAM_INOUT
This value means that the parameter is an INOUT parameter. |
static ParameterMode |
PARAM_OUT
This value means that the parameter is an OUT parameter. |
Constructor Summary | |
---|---|
protected |
ParameterMode(int a_value)
Create an instance of the parameter mode with the given value. |
Method Summary | |
---|---|
static ParameterMode |
from_int(int p_mode)
Get a parameter mode instance for the integer parameter mode code. |
int |
value()
Return the integer value code for the given parameter mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int _PARAM_IN
public static final int _PARAM_OUT
public static final int _PARAM_INOUT
public static final ParameterMode PARAM_IN
public static final ParameterMode PARAM_OUT
public static final ParameterMode PARAM_INOUT
Constructor Detail |
---|
protected ParameterMode(int a_value)
Method Detail |
---|
public int value()
public static ParameterMode from_int(int p_mode)
p_mode
- a parameter mode (0..2).
BAD_PARAM
- for the invalid parameter mode code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |