Package org.dmd.dmc.util

Examples of org.dmd.dmc.util.DmcUncheckedObject.toOIF()


     
      DmcUncheckedObject existing = parsedRules.get(rn);
     
      if (existing != null){
        ResultException ex = new ResultException();
        ex.addError("Clashing ruleNames: \n\n" + existing.toOIF() + "\n" + uco.toOIF());
        throw(ex);
      }
     
      parsedRules.put(rn, uco);
    }
View Full Code Here


        DmcUncheckedObject rule = rules.next();
        ClassDefinition ruleDataCD = sm.isClass(rule.getConstructionClass());
       
        if (ruleDataCD == null){
          ResultException ex = new ResultException();
          ex.addError("Unknown rule data class. For Rule instance: \n" + rule.toOIF());
          throw(ex);
        }
        manager.addImport(ruleDataCD.getDmoImport(), "To instantiate " + rule.getConstructionClass() + " rule data");
        manager.addImport(ruleDataCD.getRuleDefinition().getRuleDefinitionImport(), "To instantiate rules of this type");
       
View Full Code Here

 

  private void formatOtherAttribute(BufferedWriter out, PrintfFormat pf, TreeMap<String,DmcUncheckedObject>  typeDefs, DmcUncheckedObject attribute) throws IOException, ResultException{
    String typeName = attribute.getSV("type");
    DmcUncheckedObject type = typeDefs.get(typeName);
    DebugInfo.debug(type.toOIF() + "\n");
  }


}
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.