sp.speedoGetHome().sendEvent(HomeItf.PRE_ATTACH, sp, null);
StateItf sar = sp.speedoGetHome().readIntention(sp, null);
//if made persistent in this method
// force the state to detached_dirty
if (oid == null) {
sar.forceDetachedDirty();
}
//call the attach method on the po
sp.speedoGetHome().attachCopy(sp, this, map, detached, sar);
// if made persistent in this method
// restore the state to detached_none