Hi Kavitha,
You can get the classes in a datasource using the below code snippet:
---------------------------------------------------------------------------------------------------------------------------------------
IInfoObject oInfoObject = (IInfoObject) oInfoObjects.get(i);
out.println("<tr><td>"+ oInfoObject.getTitle() + "</td>");
DocumentInstance wiDoc = widocRepEngine.openDocument(oInfoObject.getID());
DataSourceObjects dbObject=wiDoc.getDataProviders().getItem(0).getDataSource().getClasses();
for(int k=0;k<dbObject.getChildCount();k++)
{
String count=dbObject.getChildAt(k).getName();
out.println("<td>"+count+"</td></tr>");
out.println("<tr><td> </td>");
}
---------------------------------------------------------------------------------------------------------------------------------------
However I am not sure about the objects, if you can specify your requirement with an example we can check for some options.
Hope this helps.
Regards,
Rajarsh