Parameter dialog box

 

Parameters

Parameters are information received by an operation, and may be entered from the explorer.

 

Parameters are defined for each operation.  Their name, type and passing mode are essential information.

 

A parameter has:

·         a passing mode (in, out, in/out)

·         a compulsory or optional feature, indicating whether the caller must supply it or not

 

The "Parameter" dialog box contains four tabs - "Properties", "Notes", "Tagged values" and "Stereotypes".  For information on these standard dialog box tabs, please see "Standard dialog box tabs".

 

 

The "Properties" tab of the "Parameter" dialog box

The "Properties" tab of the "Parameter" dialog box is used to define values for a parameter.

 

The "Properties" tab of the "Parameter" dialog box

 

Key:

·         "Name": This is the name of the element

·         "Parameter passing mode": This indicates whether the parameter is in "read only" mode (in) or may be modified (out or in/out).

·         "Max" and "Min": These indicate the maximum and minimum values of the parameter.  If the value is anything other than 1, the parameter is a set with the indicated size (* if unlimited, constant, or integer).

·         "Type constraint/String size": This is the constraint on the parameter type (for example, the size of the character string)

·         "Default value": This is the possible default value of the parameter.

·         "Class": This defines the class to which the parameter belongs.