Collection createdMOs)
throws SpeedoException, PException {
ClassMapping cm = sc.jormclass.getClassProject(projectName)
.getMapping(mapperName).getClassMapping();
NameDef classNd = null;
IdentifierMapping im = cm.getIdentifierMapping();
if (im != null) {
classNd = (NameDef) im.getLinkedMO();
if (classNd != null) {
return true;
}
}
if (sc.getSuperClassName() == null) {
classNd = sc.jormclass.createNameDef();
nmf.getNamingManager(sc).defineClassIdentifierNameDef(
classNd, sc.jormclass, sc, cm, this, mb, createdMOs);
if (cm != null) {
cm.createIdentifierMapping(classNd);
}
} else {
SpeedoClass parent = sc.getSpeedoClassFromContext(sc.getSuperClassName());
im = parent.jormclass
.getClassProject(projectName).getMapping(mapperName)
.getClassMapping().getIdentifierMapping();
if (im != null) {
classNd = (NameDef) im.getLinkedMO();
if (classNd != null) {
cm.createIdentifierMapping(classNd);
}
}
}