public void makePersistent(POManagerItf pm, PersistentObjectItf sp, SpeedoGenClassPO thepo, Map map) {
if (!sp.speedoIsActive()) {
if (sp instanceof SpeedoGenClassPO) {
//Genclass contains genclass instances
SpeedoGenClassPO sgcp = (SpeedoGenClassPO) sp;
if (sgcp.speedoGetPType() == null) {
//Assign the PType to the generic class
sgcp.speedoSetPType(thepo.speedoGetPType().getNestedPType());
}
sgcp.speedoSetLinkedField(thepo.speedoGetGenClassId());
sgcp.speedoSetPNameHints(thepo.getPName());