Package org.dmd.mvw.tools.mvwgenerator.generated.dmo

Examples of org.dmd.mvw.tools.mvwgenerator.generated.dmo.ModuleDMO


    // Okay, a bit of trickiness here. The dependsOnModule attribute is a reference
    // to a collection Modules. However, at this stage of things, our objects
    // aren't resolved, so if we use the wrapper interface to access this attribute,
    // we won't get anything back. So, we have to drop down to the DMO level and
    // access the attribute as named references.
    ModuleDMO moduleDMO = (ModuleDMO) currentModule.getDmcObject();
   
    if ( (moduleDMO.getModuleName() != null) && (!moduleDMO.getModuleName().equals("mvw")) ){
      // If this isn't the mvw module, add the mvw module as a dependency, since all
      // modules will require the eventBus.
      moduleDMO.addDependsOnModule("mvw");
    }
   
    Iterator<String> refs = moduleDMO.getDependsOnModule();
    if (refs != null){
      while(refs.hasNext()){
        String ref = refs.next();
        ConfigVersion cv = finder.getConfig(ref);
        if (cv == null){
View Full Code Here


   
    setSubpackage(def);
   
    if (def instanceof Module){
      Module mod = (Module) def;
      ModuleDMO dmo = mod.getDMO();
      modules.put(def.getCamelCaseName(), mod);
     
      if (codeGenModule == null)
        codeGenModule = mod;
     
      currentModule = mod;
     
      // Read any schemas the module depends on
      if (mod.getDependsOnSchemaHasValue()){
        Iterator<String> it = dmo.getDependsOnSchema();
        while(it.hasNext()){
          String ref = it.next();
          schemaParser.parseSchema(readSchemas, ref, false);
        }
      }
View Full Code Here

*/
abstract public class ModuleDMW extends MvwDefinition implements DmcNamedObjectIF {

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:443)
    public ModuleDMW() {
        super(new ModuleDMO(), org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._Module);
    }
View Full Code Here

        super(new ModuleDMO(), org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._Module);
    }

    // Generated from: org.dmd.dmg.generators.BaseDMWGeneratorNewest.dumpWrapper(BaseDMWGeneratorNewest.java:449)
    public ModuleDMW(DmcTypeModifierMV mods) {
        super(new ModuleDMO(mods), org.dmd.mvw.tools.mvwgenerator.generated.MvwSchemaAG._Module);
    }
View Full Code Here

TOP

Related Classes of org.dmd.mvw.tools.mvwgenerator.generated.dmo.ModuleDMO

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.