Parameter passing modes
- Last Updated: January 16, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
From the viewpoint of the Java Open Client, the minimum information that you must provide in
a ProDataGraph to map a ProDataSet parameter depends on the parameter passing
mode of the application service. For example:
-
OUTPUTparameters — You must pass acom.progress.open4gl.ProDataGraphHolderobject instance (see ProDataGraphHolder class). Use of this holder class is similar to holder classes for other parameter data type mappings. On output, the holder object contains a reference to acom.progress.open4gl.ProDataGraphobject that you can access. For more information on managing aProDataGraphfor anOUTPUTProDataSet parameter, see Pass a ProDataGraph as OUTPUT. -
INPUTparameters — You must pass acom.progress.open4gl.ProDataGraphobject instance. Before passing theProDataGraph, as a minimum, you must create and initialize (or obtain) the object with aProDataGraphMetaDataobject specifying the number and meta data of its underlying tables (ProDataObjectMetaDataobjects), and which must map to the ProDataSet temp-table schemas. In this meta data, you must also includeProDataRelationMetaDataobjects that map to allDATA-RELATIONobjects defined in a static ProDataSet parameter. Differences do exist for how the schema must be passed between static and dynamic ProDataSets. For more information on managing aProDataGraphfor anINPUTProDataSet parameter, see Pass a ProDataGraph as INPUT or INPUT-OUTPUT. -
INPUT-OUTPUTparameters — You must pass an instance ofcom.progress.open4gl.ProDataGraphHolderthat contains a reference to a client-suppliedcom.progress.open4gl.ProDataGraphobject instance (see the ProDataGraphHolder class). Use of this holder class is similar to holder classes for other parameter data type mappings. The requirements for supplying the inputProDataGraphare the same as for passing anINPUTparameter. On output, the same holder object is changed to reference acom.progress.open4gl.ProDataGraphobject that represents the ProDataSet that is passed as output. For more information on managing aProDataGraphfor anINPUT-OUTPUTProDataSet parameter, see Pass a ProDataGraph as INPUT or INPUT-OUTPUT.