Object[][] columnHeaders = new Object[][] { { "COL1", "COL2", "COL3" } }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
List columnHeadersList = new ArrayList();
columnHeadersList.add( "COL1" ); //$NON-NLS-1$
columnHeadersList.add( "COL2" ); //$NON-NLS-1$
columnHeadersList.add( "COL3" ); //$NON-NLS-1$
MemoryMetaData md2 = new MemoryMetaData( columnHeaders, null );
// emd.getAttribute(1, 1, "COL1"); //$NON-NLS-1$
// emd.setBusinessColumns(columnHeadersList);
MemoryResultSet rs = new MemoryResultSet( md2 );
rs.addRow( new Object[] { "DATA1", "DATA2", new Date() } ); //$NON-NLS-1$ //$NON-NLS-2$
return rs;