String overURL = resultSet.getString(2);//("OVERVIEW_URL");
String instParms = resultSet.getString(3);//("INSTANCE_PARMS");
if (tModelKey != null)
{
TModelInstanceInfo info = new TModelInstanceInfo();
info.setTModelKey(tModelKey);
OverviewDoc overviewDoc = null;
if (overURL != null)
{
overviewDoc = new OverviewDoc();
overviewDoc.setOverviewURL(overURL);
}
InstanceParms instanceParms = null;
if (instParms != null)
{
instanceParms = new InstanceParms();
instanceParms.setText(instParms);
}
InstanceDetails details = null;
if ((overviewDoc != null) || (instanceParms != null))
{
details = new InstanceDetails();
details.setOverviewDoc(overviewDoc);
details.setInstanceParms(instanceParms);
info.setInstanceDetails(details);
}
infoList.add(info);
}
}