| Previous | Next |  | Contents | Index | Glossary

## Parameter Structure

Oracle Workflow uses the object type WF_PARAMETER_T to store a parameter name and value pair in a form that can be included in an event message parameter list. WF_PARAMETER_T allows custom values to be added to the WF_EVENT_T event message object. The WF_PARAMETER_T datatype contains the following attributes:

WF_PARAMETER_T

Attribute Name | Datatype | Description
--- | --- | ---
NAME | VARCHAR2(30) | The parameter name.
VALUE | VARCHAR2(2000) | The parameter value.

The WF_PARAMETER_T object type also includes the following methods, which you can use to retrieve and set the values of its attributes.

- getName

- getValue

- setName

- setValue

## getName

PL/SQL Syntax

`MEMBER FUNCTION getName`

         return varchar2

Description

Returns the value of the NAME attribute in a WF_PARAMETER_T object.

## getValue

PL/SQL Syntax

`MEMBER FUNCTION getValue`

         return varchar2

Description

Returns the value of the VALUE attribute in a WF_PARAMETER_T object.

## setName

PL/SQL Syntax

`MEMBER PROCEDURE setName`

         (pName in varchar2)

Description

Sets the value of the NAME attribute in a WF_PARAMETER_T object.

Arguments (input) | pNameThe value for the NAME attribute.

## setValue

PL/SQL Syntax

`MEMBER PROCEDURE setValue`

         (pValue in varchar2)

Description

Sets the value of the VALUE attribute in a WF_PARAMETER_T object.

Arguments (input) | pValueThe value for the VALUE attribute.

| Previous | Next |  | Contents | Index | Glossary