Try OpenEdge Now
skip to main content
Java Open Clients
Using the Open Client Java OpenAPI to Directly Access the AppServer : Setting up parameters : Defining the schema for temp-tables in a ProDataSet : Defining a ProDataObjectMetaData object
 
Defining a ProDataObjectMetaData object
For each table (ProDataObject collection) contained within a ProDataGraph, you must define a com.progress.open4gl.ProDataObjectMetaData object to hold the schema using the following constructor:
Syntax
public ProDataObjectMetaData(String tableName, int numFields,
                             boolean bimageFlag,
                             int numIndexes, String multiIxCols,
                             String XMLNamespace, String XMLPrefix)
tableName
Specifies a name for the specified ProDataObject type (and collection). This name is typically identical to any ABL temp-table to which this collection is mapped.
numFields
Specifies the number of fields (column properties) in the specified ProDataObject type.
bimageFlag
Specifies true if the corresponding ABL temp-table is defined with the BEFORE-TABLE option, indicating that the temp-table (and hence the ProDataObject collection) can be modified. Otherwise, this value must be false and you cannot pass modified data between the Open Client and the AppServer.
numIndexes
Specifies the number of indexes on the table.
multiIxCols
Specifies null if there are no indexes or a formatted string that contains all the index info for this temp-table, as follows:
Syntax
"[primeUniqueFlag,primeFld1[,primeFldn]...:primeIdxName.]
[uniqueIdxfld1[,uniqueIdxfldn]...:uniqueIdxName.]..."
For more information on this formatted string, see the section on the ProDataObjectMetaData() constructor in AccessingABL ProDataSets.
XMLNamespace
Specifies the namespace for XML serialization or null.
XMLPrefix
Specifies the prefix for XML serialization or null.