PersistenceCapable newPC(PropertyMap pmap, Class klass, PersistenceCapable container, String prefix) { PersistenceCapable pc = JDOImplHelper.getInstance().newInstance (klass, null); StateManagerImpl smi = new StateManagerImpl (this, pmap, container == null ? pc : container, prefix); pc.jdoReplaceStateManager(smi); m_smiMap.put(pc, smi); return pc;
PersistenceCapable newPC(PropertyMap pmap) { return newPC(pmap, pmap.getObjectType().getJavaClass(), null, "");
    PersistenceCapable newPC(PropertyMap pmap, Class klass,                             PersistenceCapable container, String prefix) {        PersistenceCapable pc = JDOImplHelper.getInstance().newInstance            (klass, null);        StateManagerImpl smi = new StateManagerImpl            (this, pmap, container == null ? pc : container, prefix);        pc.jdoReplaceStateManager(smi);        m_smiMap.put(pc, smi);        return pc;    }