org.omg.CORBA
Class NamedValue

java.lang.Object
  extended by org.omg.CORBA.NamedValue

public abstract class NamedValue
extends Object

The class is used to describe a call parameter, having name, value and the passing mode flags (ARG_IN, ARG_OUT or ARG_INOUT. The same class is also used in Context to pass the property names and values. This class is normally created by ORB.create_named_value(String, Any, int).


Constructor Summary
NamedValue()
           
 
Method Summary
abstract  int flags()
          Get the parameter flags.
abstract  String name()
          Get the name of this parameter.
abstract  Any value()
          Get the value of this parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedValue

public NamedValue()
Method Detail

flags

public abstract int flags()
Get the parameter flags.

Returns:
normally one of (ARG_IN, ARG_OUT or ARG_INOUT).

name

public abstract String name()
Get the name of this parameter.

Returns:
the name of this instance.

value

public abstract Any value()
Get the value of this parameter. The parameter value is wrapped into the instance of Any.

Returns:
the value of this parameter.