Progress
Open Client
Developer’s Guide
Data Type Mapping
INPUT 4GL parameters are mapped directly to Java data types and classes. OUTPUT and INPUT-OUTPUT parameters, with the exception of TEMP-TABLE and TABLE-HANDLE parameters, are mapped to
Holder
classes in thecom.progress.open4gl
package. The contents of the holder class are the same Java data types and classes as the INPUT parameters.The Java proxy data type applies to both INPUT and OUTPUT parameters for all except TEMP-TABLE and TABLE-HANDLE parameters, where the data type differs for INPUT and OUTPUT parameters.
Table 5–1 shows the 4GL-to-Java data type mapping for parameters.
The COM-HANDLE, WIDGET-HANDLE, RECID, or ROWID 4GL data types are not meaningful outside of the Progress environment. Their use is restricted to obtaining the value from a Progress procedure and being able to pass it back to another Progress procedure.
The mapping for the individual fields of a TEMP-TABLE differs from that of other parameters. For information on data type mapping for TEMP-TABLE or TABLE-HANDLE parameters, see Table 5–3.
NOTE: Open Clients do not support the Progress BUFFER parameter.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |