org.omg.CORBA

Class NamedValue

public abstract class NamedValue extends Object

The class is used to describe a call parameter, having name, value and the passing mode flags ({@link ARG_IN}, {@link ARG_OUT} or {@link ARG_INOUT}. The same class is also used in {@link Context} to pass the property names and values. This class is normally created by {@link ORB#create_named_value(String, Any, int)}.
Method Summary
abstract intflags()
Get the parameter flags.
abstract Stringname()
Get the name of this parameter.
abstract Anyvalue()
Get the value of this parameter.

Method Detail

flags

public abstract int flags()
Get the parameter flags.

Returns: normally one of ({@link ARG_IN}, {@link ARG_OUT} or {@link 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 {@link Any}.

Returns: the value of this parameter.