Package org.conserve.tools.generators

Examples of org.conserve.tools.generators.SubclassMover.move()


        if (!superClasses.contains(superClass))
        {
          //klass has been moved, it now has a new superclass.
          SubclassMover sm = new SubclassMover(adapter);
          ObjectStack oldObjectStack = getObjectStackFromDatabase(klass, cw);
          sm.move(oldObjectStack, nuObjectStack, nuObjectStack.getActualRepresentation(), cw);
          // update the C_IS_A table to reflect new superclass
          String klassName = ObjectTools.getSystemicName(klass);
          addClassRelation(klassName, superClassName, cw);
          String oldSuperClass = oldObjectStack.getRepresentation(oldObjectStack.getLevel(klass) - 1)
              .getSystemicName();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.