append(sb, "-prefix", myPrefix);
  public String writeToString(String _defaultEOGeneratorPath, String _defaultTemplateDir, String _defaultJavaTemplate, String _defaultSubclassJavaTemplate) {    StringBuffer sb = new StringBuffer();    sb.append(escape(getEOGeneratorPath(_defaultEOGeneratorPath), false));    append(sb, "-destination", myDestination);    append(sb, "-java", myJava);    append(sb, "-javaTemplate", getJavaTemplate(_defaultJavaTemplate));    Iterator modelsIter = myModels.iterator();    while (modelsIter.hasNext()) {      EOModelReference model = (EOModelReference) modelsIter.next();      append(sb, "-model", model.getPath());    }    append(sb, "-packagedirs", myPackageDirs);    Iterator refModelsIter = myRefModels.iterator();    while (refModelsIter.hasNext()) {      EOModelReference refModel = (EOModelReference) refModelsIter.next();      append(sb, "-refmodel", refModel.getPath());    }    append(sb, "-subclassDestination", mySubclassDestination);    append(sb, "-subclassJavaTemplate", getSubclassJavaTemplate(_defaultSubclassJavaTemplate));    append(sb, "-templatedir", getTemplateDir(_defaultTemplateDir));    append(sb, "-verbose", myVerbose);    Iterator definesIter = myDefines.iterator();    while (definesIter.hasNext()) {      Define define = (Define) definesIter.next();      String name = define.getName();      String value = define.getValue();      append(sb, "-define-" + name, value);    }    return sb.toString();  }