StateManagerImpl newSM(PersistenceCapable pc, PropertyMap pmap, PersistenceCapable container, String prefix) { StateManagerImpl smi = new StateManagerImpl (this, pmap, container, prefix);  m_smiMap.put(pc, smi); pc.jdoReplaceStateManager(smi); return smi;
StateManagerImpl newSM(PersistenceCapable pc, PropertyMap pmap) { return newSM(pc, pmap, pc, "");
    StateManagerImpl newSM(PersistenceCapable pc, PropertyMap pmap,                           PersistenceCapable container, String prefix) {        StateManagerImpl smi = new StateManagerImpl            (this, pmap, container, prefix);        // set pmap here for objects requiring id gen        m_smiMap.put(pc, smi);        pc.jdoReplaceStateManager(smi);        return smi;    }