List<gaiasimu.gaia.spacecraft.Transit> fovTransitsSub = fovTransits.subList(0, gc.getTransitNumber());
fovTransits = fovTransitsSub;
}
// create and write MDBObject parameters as requested
long t2 = System.currentTimeMillis();
MDBObject mdbo = createMDBObject(as, fovTransits, random);
mdbo.update();
writeMDBObject(mdbo);
if (as instanceof gaiasimu.universe.source.stellar.StarSystem) {
gaiasimu.universe.source.AstroSource[] astroSourceComponents = as.getComponents();
for (gaiasimu.universe.source.AstroSource asComponent : astroSourceComponents) {
MDBObject componentMDBObject = createMDBObject(asComponent, fovTransits, new Random());
componentMDBObject.update();
writeMDBObject(componentMDBObject);
}
}