Package org.objectweb.jorm.metainfo.api

Examples of org.objectweb.jorm.metainfo.api.IdentifierMapping


                          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);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.objectweb.jorm.metainfo.api.IdentifierMapping

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.