DATASET (static ProDataSet) parameters
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
In Java, the client interface for a DATASET parameter:
- Represents a
DATASETobject as arrays of the constituent temp-tables' row objects. For example:public class DsCustOrd implements java.io.Serializable { private CustOrders.CustOrders.DsCustOrdTtCust[] ttCust; private CustOrders.CustOrders.DsCustOrdTtOrder[] ttOrder; ... } - Represents an output
DATASETparameter using an array holder class. For example:public final class DsCustOrdHolder implements javax.xml.rpc.holders.Holder { public CustOrders.CustOrders.DsCustOrd value; public DsCustOrdHolder() { } public DsCustOrdHolder(CustOrders.CustOrders.DsCustOrd value) { this.value = value; } } - Represents a
NESTED DATA-RELATIONby embedding an array of the child temp-table's row objects in the parent temp-table definition. For example:public class DsCustOrdTtOrder implements java.io.Serializable { private java.lang.Integer orderNum; private java.lang.Integer custNum; private CustOrders.CustOrders.DsCustOrdTtOrderTtOrderLine[] ttOrderLine; ... }
The following Java application is an example of handling the DsCustOrd
parameter in a Java client:
|