weblogic.common
Class ParamValue

A ParamValue is the value part of a name/value pair used for events
and remote procedures.

A ParamSet has keynames, and each keyname has a ParamValue
associated with it. A ParamValue may be made up of a vector of
ParamValues, in which case the elements in the vector are
accessible by index position.

The variables in this class are used for setting attributes for
IN, OUT and IN/OUT parameters used for database stored procedures.

Conversions among the various datatypes are handled automatically
in a "Java" way, i.e., the conversion can be accomplished either
of these ways:

With a cast. For example, for float --> int, you might use:

float f = 1.2;
int i = (int) f;

By using some java.* method for the conversion. For example,
you might use:

ParamValue(java.lang.String name,
int datatype,
int inouttype,
java.lang.String paramDesc)
Constructs a ParamValue with the specified name, of
the specified data type, of the specified parameter
type, and of the specified parameter description.

set

Sets the value of a ParamValue to a ParamValue. If the
type is unknown, sets it to the type of the specified
ParamValue. If the specified ParamValue is a Vector
of other ParamValues, copies the vector to the ParamValue
that is returned.