public void addTable(ProDataObjectMetaData doMetaData)
|
// Create the ProDataObjectMetaData for the Customer table
ProDataObjectMetaData doCustMD = new ProDataObjectMetaData ("ttCust", 3, false, 0, null, null, null); doCustMD.setFieldMetaData(1, "CustNum", 0, Parameter.PRO_INTEGER, 0, 0); doCustMD.setFieldMetaData(2, "Name", 0, Parameter.PRO_CHARACTER, 1, 0); doCustMD.setFieldMetaData(3, "SalesRep", 0, Parameter.PRO_CHARACTER, 2, 0); // Add the table to the ProDataGraph meta data dgMetaData.addTable(doCustMD); |