tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fra...@apache.org
Subject svn commit: r425913 [3/5] - in /incubator/tuscany/java/sdo: impl/src/main/java/org/apache/tuscany/sdo/impl/ impl/src/main/java/org/apache/tuscany/sdo/model/impl/ tools/src/main/java/org/apache/tuscany/sdo/generate/templates/model/ tools/templates/models/
Date Wed, 26 Jul 2006 23:55:43 GMT
Modified: incubator/tuscany/java/sdo/tools/src/main/java/org/apache/tuscany/sdo/generate/templates/model/SDOFactoryClass.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/tools/src/main/java/org/apache/tuscany/sdo/generate/templates/model/SDOFactoryClass.java?rev=425913&r1=425912&r2=425913&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/tools/src/main/java/org/apache/tuscany/sdo/generate/templates/model/SDOFactoryClass.java (original)
+++ incubator/tuscany/java/sdo/tools/src/main/java/org/apache/tuscany/sdo/generate/templates/model/SDOFactoryClass.java Wed Jul 26 16:55:42 2006
@@ -1,23 +1,10 @@
-/**
- *
- * Copyright 2005 The Apache Software Foundation
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
 package org.apache.tuscany.sdo.generate.templates.model;
 
 import java.util.*;
 import org.eclipse.emf.codegen.ecore.genmodel.*;
+import org.eclipse.emf.ecore.*;
+import org.eclipse.emf.codegen.ecore.genmodel.impl.Literals;
+import org.eclipse.emf.ecore.util.*;
 
 public class SDOFactoryClass
 {
@@ -62,434 +49,484 @@
   protected final String TEXT_29 = NL + "\t/**" + NL + "\t * The singleton instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
   protected final String TEXT_30 = " eINSTANCE = ";
   protected final String TEXT_31 = ".init();" + NL;
-  protected final String TEXT_32 = NL + "/**" + NL + " * The package namespace URI." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
-  protected final String TEXT_33 = NL;
-  protected final String TEXT_34 = " NAMESPACE_URI = \"";
-  protected final String TEXT_35 = "\";";
-  protected final String TEXT_36 = NL + NL + "/**" + NL + " * The package namespace name." + NL + " * <!-- begin-user-doc -->" + NL + " * <!-- end-user-doc -->" + NL + " * @generated" + NL + " */";
-  protected final String TEXT_37 = NL;
-  protected final String TEXT_38 = " NAMESPACE_PREFIX = \"";
-  protected final String TEXT_39 = "\";";
-  protected final String TEXT_40 = NL + NL;
-  protected final String TEXT_41 = NL;
-  protected final String TEXT_42 = "int ";
-  protected final String TEXT_43 = " = ";
-  protected final String TEXT_44 = ";";
-  protected final String TEXT_45 = NL + "\t" + NL + "\t" + NL + "\t/**" + NL + "\t * Creates the default factory implementation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */";
-  protected final String TEXT_46 = NL + NL + "\t/**" + NL + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
-  protected final String TEXT_47 = "()" + NL + "\t{" + NL + "\t\tsuper(NAMESPACE_URI, NAMESPACE_PREFIX);" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
-  protected final String TEXT_48 = " create(int typeNumber)" + NL + "\t{" + NL + "\t\tswitch (typeNumber)" + NL + "\t\t{";
-  protected final String TEXT_49 = NL + "\t\t\t// TODO make sure we're supposed to ingore DOCUMENT_ROOT" + NL + "\t\t\tcase ";
-  protected final String TEXT_50 = ": return (";
-  protected final String TEXT_51 = ")create";
-  protected final String TEXT_52 = "();";
-  protected final String TEXT_53 = NL + "\t\t\tdefault:" + NL + "\t\t\t\treturn super.create(typeNumber);" + NL + "\t\t}" + NL + "\t}" + NL + NL;
-  protected final String TEXT_54 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Object createFromString(";
-  protected final String TEXT_55 = " eDataType, String initialValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
-  protected final String TEXT_56 = NL + "\t\t\tcase ";
-  protected final String TEXT_57 = ".";
-  protected final String TEXT_58 = ":" + NL + "\t\t\t\treturn create";
-  protected final String TEXT_59 = "FromString(eDataType, initialValue);";
-  protected final String TEXT_60 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
-  protected final String TEXT_61 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convertToString(";
-  protected final String TEXT_62 = " eDataType, Object instanceValue)" + NL + "\t{" + NL + "\t\tswitch (eDataType.getClassifierID())" + NL + "\t\t{";
-  protected final String TEXT_63 = NL + "\t\t\tcase ";
-  protected final String TEXT_64 = ".";
-  protected final String TEXT_65 = ":" + NL + "\t\t\t\treturn convert";
-  protected final String TEXT_66 = "ToString(eDataType, instanceValue);";
-  protected final String TEXT_67 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + eDataType.getName() + \"' is not a valid classifier\");";
-  protected final String TEXT_68 = NL + "\t\t}" + NL + "\t}" + NL;
-  protected final String TEXT_69 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
-  protected final String TEXT_70 = " create";
-  protected final String TEXT_71 = "()" + NL + "\t{";
+  protected final String TEXT_32 = NL + "\t/**" + NL + "\t * The package namespace URI." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+  protected final String TEXT_33 = " NAMESPACE_URI = \"";
+  protected final String TEXT_34 = "\";";
+  protected final String TEXT_35 = NL + NL + "\t/**" + NL + "\t * The package namespace name." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+  protected final String TEXT_36 = " NAMESPACE_PREFIX = \"";
+  protected final String TEXT_37 = "\";";
+  protected final String TEXT_38 = "\t" + NL + "\t";
+  protected final String TEXT_39 = "int ";
+  protected final String TEXT_40 = " = ";
+  protected final String TEXT_41 = ";";
+  protected final String TEXT_42 = NL + "\t";
+  protected final String TEXT_43 = NL + "\t/**" + NL + "\t * Creates an instance of the factory." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+  protected final String TEXT_44 = "()" + NL + "\t{" + NL + "\t\tsuper(NAMESPACE_URI, NAMESPACE_PREFIX);" + NL + "\t}" + NL + "\t" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+  protected final String TEXT_45 = " create(int typeNumber)" + NL + "\t{" + NL + "\t\tswitch (typeNumber)" + NL + "\t\t{";
+  protected final String TEXT_46 = NL + "\t\t\tcase ";
+  protected final String TEXT_47 = ": return (";
+  protected final String TEXT_48 = ")create";
+  protected final String TEXT_49 = "();";
+  protected final String TEXT_50 = NL + "\t\t\tdefault:" + NL + "\t\t\t\treturn super.create(typeNumber);" + NL + "\t\t}" + NL + "\t}" + NL;
+  protected final String TEXT_51 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Object createFromString(";
+  protected final String TEXT_52 = " type, String initialValue, int propertyValue)" + NL + "\t{" + NL + "\t\tswitch (propertyValue)" + NL + "\t\t{";
+  protected final String TEXT_53 = NL + "\t\t\tcase ";
+  protected final String TEXT_54 = ":" + NL + "\t\t\t\treturn create";
+  protected final String TEXT_55 = "FromString(type, initialValue);";
+  protected final String TEXT_56 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + type.getName() + \"' is not a valid property value\");";
+  protected final String TEXT_57 = NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convertToString(";
+  protected final String TEXT_58 = " type, Object instanceValue, int propertyValue)" + NL + "\t{" + NL + "\t\tswitch (propertyValue)" + NL + "\t\t{";
+  protected final String TEXT_59 = NL + "\t\t\tcase ";
+  protected final String TEXT_60 = ":" + NL + "\t\t\t\treturn convert";
+  protected final String TEXT_61 = "ToString(type, instanceValue);";
+  protected final String TEXT_62 = NL + "\t\t\tdefault:" + NL + "\t\t\t\tthrow new IllegalArgumentException(\"The datatype '\" + type.getName() + \"' is not a valid property value\");";
+  protected final String TEXT_63 = NL + "\t\t}" + NL + "\t}";
+  protected final String TEXT_64 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+  protected final String TEXT_65 = " create";
+  protected final String TEXT_66 = "()" + NL + "\t{";
+  protected final String TEXT_67 = NL + "\t\t";
+  protected final String TEXT_68 = " ";
+  protected final String TEXT_69 = " = ";
+  protected final String TEXT_70 = "super.create(";
+  protected final String TEXT_71 = ");";
   protected final String TEXT_72 = NL + "\t\t";
   protected final String TEXT_73 = " ";
-  protected final String TEXT_74 = " = ";
-  protected final String TEXT_75 = "super.create(";
-  protected final String TEXT_76 = ");";
-  protected final String TEXT_77 = NL + "\t\t";
-  protected final String TEXT_78 = " ";
-  protected final String TEXT_79 = " = new ";
-  protected final String TEXT_80 = "()";
-  protected final String TEXT_81 = "{}";
-  protected final String TEXT_82 = ";";
-  protected final String TEXT_83 = NL + "\t\treturn ";
-  protected final String TEXT_84 = ";" + NL + "\t}" + NL + "\t" + NL + "\t// Following creates and initializes SDO metadata for the supported types." + NL + "\tprotected ";
-  protected final String TEXT_85 = " ";
-  protected final String TEXT_86 = "Type = null;" + NL + "\t" + NL + "\tpublic ";
-  protected final String TEXT_87 = " get";
-  protected final String TEXT_88 = "()" + NL + "\t{" + NL + "\t\t// TODO - kdk - verify how to generate quoteType...";
-  protected final String TEXT_89 = "Type?" + NL + "\t\treturn ";
-  protected final String TEXT_90 = "Type;" + NL + "    }";
-  protected final String TEXT_91 = NL + NL + "\tprivate static boolean isInited = false;" + NL + "\t" + NL + "\tpublic static ";
-  protected final String TEXT_92 = " init()" + NL + "\t{" + NL + "    \tif (isInited) return (";
-  protected final String TEXT_93 = ")FactoryBase.getStaticFactory(";
-  protected final String TEXT_94 = ".NAMESPACE_URI);" + NL + "    \t";
-  protected final String TEXT_95 = " the";
-  protected final String TEXT_96 = " = new ";
-  protected final String TEXT_97 = "();" + NL + "    \tisInited = true;" + NL + "" + NL + "    \t// Initialize simple dependencies" + NL + "    \t";
-  protected final String TEXT_98 = ".registerStaticTypes(";
-  protected final String TEXT_99 = ".class);" + NL + "    \t";
-  protected final String TEXT_100 = ".registerStaticTypes(";
-  protected final String TEXT_101 = ".class);" + NL + "    \t" + NL + "    \t// Create package meta-data objects" + NL + "    \tthe";
-  protected final String TEXT_102 = ".createMetaData();" + NL + "" + NL + "    \t// Initialize created meta-data" + NL + "    \tthe";
-  protected final String TEXT_103 = ".initializeMetaData();" + NL + "" + NL + "    \t// Mark meta-data to indicate it can't be changed" + NL + "    \t//the";
-  protected final String TEXT_104 = ".freeze(); //FB do we need to freeze / should we freeze ????" + NL + "" + NL + "    \treturn the";
-  protected final String TEXT_105 = ";" + NL + "\t}" + NL + "  " + NL + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\tpublic void createMetaData()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL + "\t\tisCreated = true;";
-  protected final String TEXT_106 = NL + "  ";
-  protected final String TEXT_107 = NL + "    ";
-  protected final String TEXT_108 = "Type = createType(false, ";
-  protected final String TEXT_109 = ");";
-  protected final String TEXT_110 = NL + "\t\tcreateProperty(";
-  protected final String TEXT_111 = ", ";
-  protected final String TEXT_112 = "Type, ";
-  protected final String TEXT_113 = ".";
-  protected final String TEXT_114 = ");";
-  protected final String TEXT_115 = NL + "\t}" + NL + "\tprivate boolean isInitialized = false;" + NL + "" + NL + "\tpublic void initializeMetaData()" + NL + "\t{" + NL + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;" + NL + "" + NL + "\t\t// Obtain other dependent packages" + NL + "\t\t";
-  protected final String TEXT_116 = " theModelPackageImpl = (";
-  protected final String TEXT_117 = ")FactoryBase.getStaticFactory(";
-  protected final String TEXT_118 = ".NAMESPACE_URI);" + NL + "" + NL + "\t\t// Add supertypes to classes" + NL + "\t\t// Initialize classes and features; add operations and parameters";
-  protected final String TEXT_119 = NL + "\t\t" + NL + "\t\tinitializeType(";
-  protected final String TEXT_120 = "Type, ";
-  protected final String TEXT_121 = ".class, \"";
-  protected final String TEXT_122 = "\");";
-  protected final String TEXT_123 = NL + "\t\tinitializeProperty((";
-  protected final String TEXT_124 = ")";
-  protected final String TEXT_125 = "Type.getProperties().get(";
-  protected final String TEXT_126 = ".";
-  protected final String TEXT_127 = "), ";
-  protected final String TEXT_128 = ", \"";
-  protected final String TEXT_129 = "\", ";
-  protected final String TEXT_130 = ", ";
-  protected final String TEXT_131 = ", ";
-  protected final String TEXT_132 = ", ";
-  protected final String TEXT_133 = ", ";
-  protected final String TEXT_134 = ", ";
-  protected final String TEXT_135 = ", ";
+  protected final String TEXT_74 = " = new ";
+  protected final String TEXT_75 = "()";
+  protected final String TEXT_76 = "{}";
+  protected final String TEXT_77 = ";";
+  protected final String TEXT_78 = NL + "\t\treturn ";
+  protected final String TEXT_79 = ";" + NL + "\t}";
+  protected final String TEXT_80 = NL + "\t" + NL + "\t// Following creates and initializes SDO metadata for the supported types.";
+  protected final String TEXT_81 = "\t";
+  protected final String TEXT_82 = "\t" + NL + "\tprotected ";
+  protected final String TEXT_83 = " ";
+  protected final String TEXT_84 = "Type = null;" + NL + "" + NL + "\tpublic ";
+  protected final String TEXT_85 = " get";
+  protected final String TEXT_86 = "()" + NL + "\t{" + NL + "\t\treturn ";
+  protected final String TEXT_87 = "Type;" + NL + "\t}" + NL;
+  protected final String TEXT_88 = "\t" + NL + "" + NL + "\tprivate static boolean isInited = false;" + NL + "" + NL + "\tpublic static ";
+  protected final String TEXT_89 = " init()" + NL + "\t{" + NL + "\t\tif (isInited) return (";
+  protected final String TEXT_90 = ")FactoryBase.getStaticFactory(";
+  protected final String TEXT_91 = ".NAMESPACE_URI);" + NL + "\t\t";
+  protected final String TEXT_92 = " the";
+  protected final String TEXT_93 = " = new ";
+  protected final String TEXT_94 = "();" + NL + "\t\tisInited = true;" + NL + "" + NL + "\t\t// Initialize simple dependencies" + NL + "\t\t";
+  protected final String TEXT_95 = ".registerStaticTypes(";
+  protected final String TEXT_96 = ".class);" + NL + "\t\t";
+  protected final String TEXT_97 = ".registerStaticTypes(";
+  protected final String TEXT_98 = ".class);" + NL + "" + NL + "\t\t// Create package meta-data objects" + NL + "\t\tthe";
+  protected final String TEXT_99 = ".createMetaData();" + NL + "" + NL + "\t\t// Initialize created meta-data" + NL + "\t\tthe";
+  protected final String TEXT_100 = ".initializeMetaData();" + NL + "" + NL + "\t\t// Mark meta-data to indicate it can't be changed" + NL + "\t\t//the";
+  protected final String TEXT_101 = ".freeze(); //FB do we need to freeze / should we freeze ????" + NL + "" + NL + "\t\treturn the";
+  protected final String TEXT_102 = ";" + NL + "\t}" + NL + "  " + NL + "\tprivate boolean isCreated = false;" + NL + "" + NL + "\tpublic void createMetaData()" + NL + "\t{" + NL + "\t\tif (isCreated) return;" + NL + "\t\tisCreated = true;";
+  protected final String TEXT_103 = "\t";
+  protected final String TEXT_104 = NL;
+  protected final String TEXT_105 = NL + "\t\t";
+  protected final String TEXT_106 = "Type = createType(false, ";
+  protected final String TEXT_107 = ");";
+  protected final String TEXT_108 = NL + "\t\tcreateProperty(";
+  protected final String TEXT_109 = ", ";
+  protected final String TEXT_110 = "Type, ";
+  protected final String TEXT_111 = ".";
+  protected final String TEXT_112 = ");";
+  protected final String TEXT_113 = NL + "\t\t// Create enums" + NL + "\t\t// todo";
+  protected final String TEXT_114 = NL + "\t\t";
+  protected final String TEXT_115 = " = createEEnum(";
+  protected final String TEXT_116 = ");";
+  protected final String TEXT_117 = NL + "\t\t";
+  protected final String TEXT_118 = "Type = createType(true, ";
+  protected final String TEXT_119 = " );";
+  protected final String TEXT_120 = NL + "\t}" + NL + "\t" + NL + "\tprivate boolean isInitialized = false;" + NL + "" + NL + "\tpublic void initializeMetaData()" + NL + "\t{" + NL + "\t\tif (isInitialized) return;" + NL + "\t\tisInitialized = true;";
+  protected final String TEXT_121 = NL + NL + "\t\t// Obtain other dependent packages";
+  protected final String TEXT_122 = NL + "\t\t";
+  protected final String TEXT_123 = " ";
+  protected final String TEXT_124 = " = (";
+  protected final String TEXT_125 = ")FactoryBase.getStaticFactory(";
+  protected final String TEXT_126 = ".NAMESPACE_URI);";
+  protected final String TEXT_127 = NL + "\t\t";
+  protected final String TEXT_128 = " property = null;" + NL + "" + NL + "\t\t// Add supertypes to classes" + NL + "\t\t// Initialize classes and features; add operations and parameters";
+  protected final String TEXT_129 = NL + "\t\tinitializeType(";
+  protected final String TEXT_130 = "Type, ";
+  protected final String TEXT_131 = ".class, \"";
+  protected final String TEXT_132 = "\");";
+  protected final String TEXT_133 = NL + "\t\tsetInstanceProperty (";
+  protected final String TEXT_134 = "Type, \"";
+  protected final String TEXT_135 = "\", ";
   protected final String TEXT_136 = ", ";
-  protected final String TEXT_137 = " , ";
-  protected final String TEXT_138 = ");";
-  protected final String TEXT_139 = NL + "\t\tinitializeProperty((";
+  protected final String TEXT_137 = ");";
+  protected final String TEXT_138 = NL;
+  protected final String TEXT_139 = NL + "\t\tproperty = (";
   protected final String TEXT_140 = ")";
   protected final String TEXT_141 = "Type.getProperties().get(";
   protected final String TEXT_142 = ".";
-  protected final String TEXT_143 = "), ";
-  protected final String TEXT_144 = ", \"";
-  protected final String TEXT_145 = "\", ";
-  protected final String TEXT_146 = ", ";
+  protected final String TEXT_143 = ");";
+  protected final String TEXT_144 = NL + "\t\tinitializeProperty(property, ";
+  protected final String TEXT_145 = ", \"";
+  protected final String TEXT_146 = "\", ";
   protected final String TEXT_147 = ", ";
   protected final String TEXT_148 = ", ";
   protected final String TEXT_149 = ", ";
   protected final String TEXT_150 = ", ";
   protected final String TEXT_151 = ", ";
-  protected final String TEXT_152 = ");";
-  protected final String TEXT_153 = "createXSDMetaData();" + NL + "\t}" + NL + "  " + NL + "\tprotected void createXSDMetaData()" + NL + "\t{" + NL + "\t\tsuper.createXSDMetaData();";
-  protected final String TEXT_154 = NL + "\t\t// TODO - kdk - is the order right?  should kind, elementOnly be first" + NL + "\t\taddXSDMapping" + NL + "\t\t(";
-  protected final String TEXT_155 = "Type," + NL + "\t\tnew String[] " + NL + "\t\t{" + NL + "\t\t\"name\", \"";
-  protected final String TEXT_156 = "\"," + NL + "\t\t\"kind\", \"elementOnly\"" + NL + "\t\t});";
-  protected final String TEXT_157 = NL + "\t\taddXSDMapping" + NL + "\t\t((";
-  protected final String TEXT_158 = ")";
-  protected final String TEXT_159 = "Type.getProperties().get(";
-  protected final String TEXT_160 = ".";
-  protected final String TEXT_161 = ")," + NL + "\t\tnew String[]" + NL + "\t\t{" + NL + "\t\t\"kind\", \"element\"," + NL + "\t\t\"name\", \"";
-  protected final String TEXT_162 = "\"" + NL + "\t\t});" + NL + "\t";
-  protected final String TEXT_163 = NL;
-  protected final String TEXT_164 = NL + "\t\t// TODO - kdk - how do I filter out mixed, xMLNSPrefixMap, and xSISchemaLocation without hardcoding it" + NL + "\t\t// TODO - kdk - can I hardcode ##targetNamespace?" + NL + "\t";
-  protected final String TEXT_165 = NL + "\t\tcreateGlobalProperty" + NL + "\t\t(\"";
-  protected final String TEXT_166 = "\", " + NL + "\t\t";
-  protected final String TEXT_167 = ".get";
-  protected final String TEXT_168 = "()," + NL + "\t\tnew String[] " + NL + "\t\t{" + NL + "\t\t\"kind\", \"element\"," + NL + "\t\t\"name\", \"";
-  protected final String TEXT_169 = "\"," + NL + "\t\t\"namespace\", \"##targetNamespace\"" + NL + "\t\t});  " + NL + "\t";
-  protected final String TEXT_170 = NL + "  }" + NL;
-  protected final String TEXT_171 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
-  protected final String TEXT_172 = " create";
-  protected final String TEXT_173 = "(String literal)" + NL + "\t{";
-  protected final String TEXT_174 = NL + "\t\t";
-  protected final String TEXT_175 = " result = ";
-  protected final String TEXT_176 = ".get(literal);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
-  protected final String TEXT_177 = ".getName() + \"'\");";
-  protected final String TEXT_178 = NL + "\t\treturn result;";
-  protected final String TEXT_179 = NL + "\t\treturn new ";
-  protected final String TEXT_180 = "(create";
-  protected final String TEXT_181 = "(literal));";
-  protected final String TEXT_182 = NL + "\t\treturn create";
-  protected final String TEXT_183 = "(literal);";
-  protected final String TEXT_184 = NL + "\t\treturn new ";
-  protected final String TEXT_185 = "(";
-  protected final String TEXT_186 = ".create";
-  protected final String TEXT_187 = "(literal));";
-  protected final String TEXT_188 = NL + "\t\treturn ";
-  protected final String TEXT_189 = ".create";
-  protected final String TEXT_190 = "(literal);";
-  protected final String TEXT_191 = NL + "\t\treturn (";
-  protected final String TEXT_192 = ")";
-  protected final String TEXT_193 = ".createFromString(";
-  protected final String TEXT_194 = ", literal);";
-  protected final String TEXT_195 = NL + "\t\tif (literal == null) return null;" + NL + "\t\t";
-  protected final String TEXT_196 = " result = new ";
-  protected final String TEXT_197 = "();" + NL + "\t\tfor (";
-  protected final String TEXT_198 = " stringTokenizer = new ";
-  protected final String TEXT_199 = "(literal); stringTokenizer.hasMoreTokens(); )" + NL + "\t\t{" + NL + "\t\t\tString item = stringTokenizer.nextToken();";
-  protected final String TEXT_200 = NL + "\t\t\tresult.add(create";
-  protected final String TEXT_201 = "(item));";
-  protected final String TEXT_202 = NL + "\t\t\tresult.add(create";
-  protected final String TEXT_203 = "FromString(";
-  protected final String TEXT_204 = ", item));";
-  protected final String TEXT_205 = NL + "\t\t\tresult.add(";
-  protected final String TEXT_206 = ".create";
-  protected final String TEXT_207 = "(item));";
-  protected final String TEXT_208 = NL + "\t\t\tresult.add(";
-  protected final String TEXT_209 = ".createFromString(";
-  protected final String TEXT_210 = ", item));";
-  protected final String TEXT_211 = NL + "\t\t}" + NL + "\t\treturn result;";
-  protected final String TEXT_212 = NL + "\t\tif (literal == null) return ";
-  protected final String TEXT_213 = ";" + NL + "\t\t";
-  protected final String TEXT_214 = " result = ";
-  protected final String TEXT_215 = ";" + NL + "\t\tRuntimeException exception = null;";
-  protected final String TEXT_216 = NL + "\t\ttry" + NL + "\t\t{";
-  protected final String TEXT_217 = NL + "\t\t\tresult = create";
-  protected final String TEXT_218 = "(literal);";
-  protected final String TEXT_219 = NL + "\t\t\tresult = (";
-  protected final String TEXT_220 = ")create";
-  protected final String TEXT_221 = "FromString(";
-  protected final String TEXT_222 = ", literal);";
-  protected final String TEXT_223 = NL + "\t\t\tresult = ";
-  protected final String TEXT_224 = ".create";
-  protected final String TEXT_225 = "(literal);";
-  protected final String TEXT_226 = NL + "\t\t\tresult = (";
-  protected final String TEXT_227 = ")";
-  protected final String TEXT_228 = ".createFromString(";
-  protected final String TEXT_229 = ", literal);";
-  protected final String TEXT_230 = NL + "\t\t\tif (";
-  protected final String TEXT_231 = "result != null && ";
-  protected final String TEXT_232 = ".INSTANCE.validate(";
-  protected final String TEXT_233 = ", ";
-  protected final String TEXT_234 = "new ";
-  protected final String TEXT_235 = "(result)";
-  protected final String TEXT_236 = "result";
-  protected final String TEXT_237 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
-  protected final String TEXT_238 = NL + "\t\tif (";
-  protected final String TEXT_239 = "result != null || ";
-  protected final String TEXT_240 = "exception == null) return result;" + NL + "    " + NL + "\t\tthrow exception;";
-  protected final String TEXT_241 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
-  protected final String TEXT_242 = "();";
-  protected final String TEXT_243 = NL + "\t\treturn ((";
-  protected final String TEXT_244 = ")super.createFromString(";
-  protected final String TEXT_245 = ", literal)).";
-  protected final String TEXT_246 = "();";
-  protected final String TEXT_247 = NL + "\t\treturn (";
-  protected final String TEXT_248 = ")super.createFromString(";
-  protected final String TEXT_249 = ", literal);";
-  protected final String TEXT_250 = NL + "\t}" + NL;
-  protected final String TEXT_251 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
-  protected final String TEXT_252 = " create";
-  protected final String TEXT_253 = "FromString(";
-  protected final String TEXT_254 = " eDataType, String initialValue)" + NL + "\t{";
-  protected final String TEXT_255 = NL + "\t\treturn create";
-  protected final String TEXT_256 = "(initialValue);";
-  protected final String TEXT_257 = NL + "\t\t";
-  protected final String TEXT_258 = " result = ";
-  protected final String TEXT_259 = ".get(initialValue);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + eDataType.getName() + \"'\");";
-  protected final String TEXT_260 = NL + "\t\treturn result;";
-  protected final String TEXT_261 = NL + "\t\treturn (";
-  protected final String TEXT_262 = ")create";
-  protected final String TEXT_263 = "FromString(";
-  protected final String TEXT_264 = ", initialValue);";
-  protected final String TEXT_265 = NL + "\t\treturn (";
-  protected final String TEXT_266 = ")";
-  protected final String TEXT_267 = ".createFromString(";
-  protected final String TEXT_268 = ", initialValue);";
-  protected final String TEXT_269 = NL + "\t\treturn create";
-  protected final String TEXT_270 = "(initialValue);";
-  protected final String TEXT_271 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
-  protected final String TEXT_272 = " result = new ";
-  protected final String TEXT_273 = "();" + NL + "\t\tfor (";
-  protected final String TEXT_274 = " stringTokenizer = new ";
-  protected final String TEXT_275 = "(initialValue); stringTokenizer.hasMoreTokens(); )" + NL + "\t\t{" + NL + "\t\t\tString item = stringTokenizer.nextToken();";
-  protected final String TEXT_276 = NL + "\t\t\tresult.add(create";
-  protected final String TEXT_277 = "FromString(";
-  protected final String TEXT_278 = ", item));";
-  protected final String TEXT_279 = NL + "\t\t\tresult.add(";
-  protected final String TEXT_280 = ".createFromString(";
-  protected final String TEXT_281 = ", item));";
-  protected final String TEXT_282 = NL + "\t\t}" + NL + "\t\treturn result;";
-  protected final String TEXT_283 = NL + "\t\treturn new ";
-  protected final String TEXT_284 = "(create";
-  protected final String TEXT_285 = "(initialValue));";
-  protected final String TEXT_286 = NL + "\t\treturn create";
-  protected final String TEXT_287 = "(initialValue);";
-  protected final String TEXT_288 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
-  protected final String TEXT_289 = " result = null;" + NL + "\t\tRuntimeException exception = null;";
-  protected final String TEXT_290 = NL + "\t\ttry" + NL + "\t\t{";
-  protected final String TEXT_291 = NL + "\t\t\tresult = (";
-  protected final String TEXT_292 = ")create";
-  protected final String TEXT_293 = "FromString(";
-  protected final String TEXT_294 = ", initialValue);";
-  protected final String TEXT_295 = NL + "\t\t\tresult = (";
-  protected final String TEXT_296 = ")";
-  protected final String TEXT_297 = ".createFromString(";
-  protected final String TEXT_298 = ", initialValue);";
-  protected final String TEXT_299 = NL + "\t\t\tif (result != null && ";
-  protected final String TEXT_300 = ".INSTANCE.validate(eDataType, result, null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
-  protected final String TEXT_301 = NL + "\t\tif (result != null || exception == null) return result;" + NL + "    " + NL + "\t\tthrow exception;";
-  protected final String TEXT_302 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
-  protected final String TEXT_303 = "();";
-  protected final String TEXT_304 = NL + "\t\treturn (";
-  protected final String TEXT_305 = ")super.createFromString(eDataType, initialValue);";
-  protected final String TEXT_306 = NL + "\t}" + NL;
-  protected final String TEXT_307 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
-  protected final String TEXT_308 = "(";
-  protected final String TEXT_309 = " instanceValue)" + NL + "\t{";
-  protected final String TEXT_310 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
-  protected final String TEXT_311 = NL + "\t\treturn instanceValue == null ? null : convert";
-  protected final String TEXT_312 = "(instanceValue.";
-  protected final String TEXT_313 = "());";
-  protected final String TEXT_314 = NL + "\t\treturn convert";
-  protected final String TEXT_315 = "(instanceValue);";
-  protected final String TEXT_316 = NL + "\t\treturn ";
-  protected final String TEXT_317 = ".convert";
-  protected final String TEXT_318 = "(instanceValue);";
-  protected final String TEXT_319 = NL + "\t\treturn ";
-  protected final String TEXT_320 = ".convertToString(";
-  protected final String TEXT_321 = ", instanceValue);";
-  protected final String TEXT_322 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
-  protected final String TEXT_323 = " result = new ";
-  protected final String TEXT_324 = "();" + NL + "\t\tfor (";
-  protected final String TEXT_325 = " i = instanceValue.iterator(); i.hasNext(); )" + NL + "\t\t{";
-  protected final String TEXT_326 = NL + "\t\t\tresult.append(convert";
-  protected final String TEXT_327 = "((";
-  protected final String TEXT_328 = ")i.next()));";
-  protected final String TEXT_329 = NL + "\t\t\tresult.append(convert";
-  protected final String TEXT_330 = "ToString(";
-  protected final String TEXT_331 = ", i.next()));";
-  protected final String TEXT_332 = NL + "\t\t\tresult.append(";
-  protected final String TEXT_333 = ".convert";
-  protected final String TEXT_334 = "((";
-  protected final String TEXT_335 = ")i.next()));";
-  protected final String TEXT_336 = NL + "\t\t\tresult.append(";
-  protected final String TEXT_337 = ".convertToString(";
-  protected final String TEXT_338 = ", i.next()));";
-  protected final String TEXT_339 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
-  protected final String TEXT_340 = NL + "\t\tif (instanceValue == null) return null;";
-  protected final String TEXT_341 = NL + "\t\tif (";
-  protected final String TEXT_342 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
-  protected final String TEXT_343 = NL + "\t\t\t\tString value = convert";
-  protected final String TEXT_344 = "(instanceValue);";
-  protected final String TEXT_345 = NL + "\t\t\t\tString value = convert";
-  protected final String TEXT_346 = "ToString(";
-  protected final String TEXT_347 = ", instanceValue);";
-  protected final String TEXT_348 = NL + "\t\t\t\tString value = ";
-  protected final String TEXT_349 = ".convert";
-  protected final String TEXT_350 = "((";
-  protected final String TEXT_351 = ")instanceValue);";
-  protected final String TEXT_352 = NL + "\t\t\t\tString value = ";
-  protected final String TEXT_353 = ".convertToString(";
-  protected final String TEXT_354 = ", instanceValue);";
-  protected final String TEXT_355 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t}" + NL + "\t\t}";
-  protected final String TEXT_356 = NL + "\t\ttry" + NL + "\t\t{";
-  protected final String TEXT_357 = NL + "\t\t\tString value = convert";
-  protected final String TEXT_358 = "(instanceValue);";
-  protected final String TEXT_359 = NL + "\t\t\tString value = convert";
-  protected final String TEXT_360 = "ToString(";
-  protected final String TEXT_361 = ", new ";
-  protected final String TEXT_362 = "(instanceValue));";
-  protected final String TEXT_363 = NL + "\t\t\tString value = ";
-  protected final String TEXT_364 = ".convert";
-  protected final String TEXT_365 = "(instanceValue);";
-  protected final String TEXT_366 = NL + "\t\t\tString value = ";
-  protected final String TEXT_367 = ".convertToString(";
-  protected final String TEXT_368 = ", new ";
-  protected final String TEXT_369 = "(instanceValue));";
-  protected final String TEXT_370 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t}";
-  protected final String TEXT_371 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
-  protected final String TEXT_372 = ".getName());";
-  protected final String TEXT_373 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
-  protected final String TEXT_374 = "();";
-  protected final String TEXT_375 = NL + "\t\treturn super.convertToString(";
-  protected final String TEXT_376 = ", new ";
-  protected final String TEXT_377 = "(instanceValue));";
-  protected final String TEXT_378 = NL + "\t\treturn super.convertToString(";
-  protected final String TEXT_379 = ", instanceValue);";
-  protected final String TEXT_380 = NL + "\t}" + NL;
-  protected final String TEXT_381 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
-  protected final String TEXT_382 = "ToString(";
-  protected final String TEXT_383 = " eDataType, Object instanceValue)" + NL + "\t{";
-  protected final String TEXT_384 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
-  protected final String TEXT_385 = NL + "\t\treturn convert";
-  protected final String TEXT_386 = "ToString(";
-  protected final String TEXT_387 = ", instanceValue);";
-  protected final String TEXT_388 = NL + "\t\treturn ";
-  protected final String TEXT_389 = ".convertToString(";
-  protected final String TEXT_390 = ", instanceValue);";
-  protected final String TEXT_391 = NL + "\t\treturn convert";
-  protected final String TEXT_392 = "((";
-  protected final String TEXT_393 = ")instanceValue);";
-  protected final String TEXT_394 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\t";
-  protected final String TEXT_395 = " list = (";
-  protected final String TEXT_396 = ")instanceValue;" + NL + "\t\tif (list.isEmpty()) return \"\";" + NL + "\t\t";
-  protected final String TEXT_397 = " result = new ";
-  protected final String TEXT_398 = "();" + NL + "\t\tfor (";
-  protected final String TEXT_399 = " i = list.iterator(); i.hasNext(); )" + NL + "\t\t{";
-  protected final String TEXT_400 = NL + "\t\t\tresult.append(convert";
-  protected final String TEXT_401 = "ToString(";
-  protected final String TEXT_402 = ", i.next()));";
-  protected final String TEXT_403 = NL + "\t\t\tresult.append(";
-  protected final String TEXT_404 = ".convertToString(";
-  protected final String TEXT_405 = ", i.next()));";
-  protected final String TEXT_406 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
-  protected final String TEXT_407 = NL + "\t\treturn instanceValue == null ? null : convert";
-  protected final String TEXT_408 = "(((";
-  protected final String TEXT_409 = ")instanceValue).";
-  protected final String TEXT_410 = "());";
-  protected final String TEXT_411 = NL + "\t\treturn convert";
-  protected final String TEXT_412 = "(instanceValue);";
-  protected final String TEXT_413 = NL + "\t\tif (instanceValue == null) return null;";
-  protected final String TEXT_414 = NL + "\t\tif (";
-  protected final String TEXT_415 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
-  protected final String TEXT_416 = NL + "\t\t\t\tString value = convert";
-  protected final String TEXT_417 = "ToString(";
-  protected final String TEXT_418 = ", instanceValue);";
-  protected final String TEXT_419 = NL + "\t\t\t\tString value = ";
-  protected final String TEXT_420 = ".convertToString(";
-  protected final String TEXT_421 = ", instanceValue);";
-  protected final String TEXT_422 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t}" + NL + "\t\t}";
-  protected final String TEXT_423 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+eDataType.getName());";
-  protected final String TEXT_424 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
-  protected final String TEXT_425 = "();";
-  protected final String TEXT_426 = NL + "\t\treturn super.convertToString(eDataType, instanceValue);";
-  protected final String TEXT_427 = NL + "\t}" + NL;
-  protected final String TEXT_428 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
-  protected final String TEXT_429 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
-  protected final String TEXT_430 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
-  protected final String TEXT_431 = " create";
-  protected final String TEXT_432 = "();" + NL;
-  protected final String TEXT_433 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
-  protected final String TEXT_434 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
-  protected final String TEXT_435 = " create";
-  protected final String TEXT_436 = "(String literal);" + NL + "" + NL + "\t/**" + NL + "\t * Returns a literal representation of an instance of data type '<em>";
-  protected final String TEXT_437 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */" + NL + "\tString convert";
-  protected final String TEXT_438 = "(";
-  protected final String TEXT_439 = " instanceValue);" + NL;
-  protected final String TEXT_440 = NL + "} //";
-  protected final String TEXT_441 = NL;
+  protected final String TEXT_152 = ", ";
+  protected final String TEXT_153 = ", ";
+  protected final String TEXT_154 = " , ";
+  protected final String TEXT_155 = ");";
+  protected final String TEXT_156 = NL + "\t\tinitializeProperty(property, ";
+  protected final String TEXT_157 = ", \"";
+  protected final String TEXT_158 = "\", ";
+  protected final String TEXT_159 = ", ";
+  protected final String TEXT_160 = ", ";
+  protected final String TEXT_161 = ", ";
+  protected final String TEXT_162 = ", ";
+  protected final String TEXT_163 = ", ";
+  protected final String TEXT_164 = ", ";
+  protected final String TEXT_165 = ");";
+  protected final String TEXT_166 = NL + "\t\tsetInstanceProperty (property, \"";
+  protected final String TEXT_167 = "\", ";
+  protected final String TEXT_168 = ", ";
+  protected final String TEXT_169 = ");";
+  protected final String TEXT_170 = NL;
+  protected final String TEXT_171 = NL + "\t\t// Initialize data types";
+  protected final String TEXT_172 = NL + "\t\tinitializeType(";
+  protected final String TEXT_173 = "Type, ";
+  protected final String TEXT_174 = ".class, \"";
+  protected final String TEXT_175 = "\", ";
+  protected final String TEXT_176 = ", ";
+  protected final String TEXT_177 = ");";
+  protected final String TEXT_178 = NL + "\t\tsetInstanceProperty (";
+  protected final String TEXT_179 = "Type, \"";
+  protected final String TEXT_180 = "\", ";
+  protected final String TEXT_181 = ", ";
+  protected final String TEXT_182 = ");";
+  protected final String TEXT_183 = NL;
+  protected final String TEXT_184 = NL + "\t\tcreateXSDMetaData(theModelPackageImpl);" + NL + "\t}" + NL + "\t  " + NL + "\tprotected void createXSDMetaData(ModelFactoryImpl theModelPackageImpl)" + NL + "\t{" + NL + "\t\tsuper.createXSDMetaData();" + NL + "\t\t" + NL + "\t\t";
+  protected final String TEXT_185 = " property = null;" + NL + "\t\t";
+  protected final String TEXT_186 = NL + "\t\taddXSDMapping" + NL + "\t\t  (new String[]" + NL + "\t\t\t {";
+  protected final String TEXT_187 = NL + "\t\t\t ";
+  protected final String TEXT_188 = ", ";
+  protected final String TEXT_189 = NL + "\t\t\t });" + NL;
+  protected final String TEXT_190 = NL + "\t\taddXSDMapping" + NL + "\t\t  (";
+  protected final String TEXT_191 = "Type," + NL + "\t\t\t new String[] " + NL + "\t\t\t {";
+  protected final String TEXT_192 = NL + "\t\t\t ";
+  protected final String TEXT_193 = ", ";
+  protected final String TEXT_194 = NL + "\t\t\t });" + NL;
+  protected final String TEXT_195 = NL + "\t\tproperty = createGlobalProperty" + NL + "\t\t  (\"";
+  protected final String TEXT_196 = "\"," + NL + "\t\t  ";
+  protected final String TEXT_197 = ".get";
+  protected final String TEXT_198 = "()," + NL + "\t\t\t new String[]" + NL + "\t\t\t {";
+  protected final String TEXT_199 = NL + "\t\t\t ";
+  protected final String TEXT_200 = ", ";
+  protected final String TEXT_201 = NL + "\t\t\t }," + NL + "\t\t\t IS_ATTRIBUTE);";
+  protected final String TEXT_202 = NL + "\t\t\t });";
+  protected final String TEXT_203 = NL + "              ";
+  protected final String TEXT_204 = NL + "\t\tsetInstanceProperty" + NL + "\t\t  (property," + NL + "\t\t\t \"";
+  protected final String TEXT_205 = "\"," + NL + "\t\t\t ";
+  protected final String TEXT_206 = ", ";
+  protected final String TEXT_207 = ");";
+  protected final String TEXT_208 = NL + "                  ";
+  protected final String TEXT_209 = "  ";
+  protected final String TEXT_210 = NL + "\t\taddXSDMapping" + NL + "\t\t  ((";
+  protected final String TEXT_211 = ")";
+  protected final String TEXT_212 = "Type.getProperties().get(";
+  protected final String TEXT_213 = ".";
+  protected final String TEXT_214 = ")," + NL + "\t\t\t new String[]" + NL + "\t\t\t {";
+  protected final String TEXT_215 = NL + "\t\t\t ";
+  protected final String TEXT_216 = ", ";
+  protected final String TEXT_217 = NL + "\t\t\t });" + NL;
+  protected final String TEXT_218 = NL + "  }" + NL + "  ";
+  protected final String TEXT_219 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+  protected final String TEXT_220 = " create";
+  protected final String TEXT_221 = "(String literal)" + NL + "\t{";
+  protected final String TEXT_222 = NL + "\t\t";
+  protected final String TEXT_223 = " result = ";
+  protected final String TEXT_224 = ".get(literal);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + literal + \"' is not a valid enumerator of '\" + ";
+  protected final String TEXT_225 = ".getName() + \"'\");";
+  protected final String TEXT_226 = NL + "\t\treturn result;";
+  protected final String TEXT_227 = NL + "\t\treturn new ";
+  protected final String TEXT_228 = "(create";
+  protected final String TEXT_229 = "(literal));";
+  protected final String TEXT_230 = NL + "\t\treturn create";
+  protected final String TEXT_231 = "(literal);";
+  protected final String TEXT_232 = NL + "\t\treturn new ";
+  protected final String TEXT_233 = "(";
+  protected final String TEXT_234 = ".create";
+  protected final String TEXT_235 = "(literal));";
+  protected final String TEXT_236 = NL + "\t\treturn ";
+  protected final String TEXT_237 = ".create";
+  protected final String TEXT_238 = "(literal);";
+  protected final String TEXT_239 = NL + "\t\treturn (";
+  protected final String TEXT_240 = ")";
+  protected final String TEXT_241 = ".createFromString(";
+  protected final String TEXT_242 = ", literal);";
+  protected final String TEXT_243 = NL + "\t\tif (literal == null) return null;" + NL + "\t\t";
+  protected final String TEXT_244 = " result = new ";
+  protected final String TEXT_245 = "();" + NL + "\t\tfor (";
+  protected final String TEXT_246 = " stringTokenizer = new ";
+  protected final String TEXT_247 = "(literal); stringTokenizer.hasMoreTokens(); )" + NL + "\t\t{" + NL + "\t\t\tString item = stringTokenizer.nextToken();";
+  protected final String TEXT_248 = NL + "\t\t\tresult.add(create";
+  protected final String TEXT_249 = "(item));";
+  protected final String TEXT_250 = NL + "\t\t\tresult.add(create";
+  protected final String TEXT_251 = "FromString(";
+  protected final String TEXT_252 = ", item));";
+  protected final String TEXT_253 = NL + "\t\t\tresult.add(";
+  protected final String TEXT_254 = ".create";
+  protected final String TEXT_255 = "(item));";
+  protected final String TEXT_256 = NL + "\t\t\tresult.add(";
+  protected final String TEXT_257 = ".createFromString(";
+  protected final String TEXT_258 = ", item));";
+  protected final String TEXT_259 = NL + "\t\t}" + NL + "\t\treturn result;";
+  protected final String TEXT_260 = NL + "\t\tif (literal == null) return ";
+  protected final String TEXT_261 = ";" + NL + "\t\t";
+  protected final String TEXT_262 = " result = ";
+  protected final String TEXT_263 = ";" + NL + "\t\tRuntimeException exception = null;";
+  protected final String TEXT_264 = NL + "\t\ttry" + NL + "\t\t{";
+  protected final String TEXT_265 = NL + "\t\t\tresult = create";
+  protected final String TEXT_266 = "(literal);";
+  protected final String TEXT_267 = NL + "\t\t\tresult = (";
+  protected final String TEXT_268 = ")create";
+  protected final String TEXT_269 = "FromString(";
+  protected final String TEXT_270 = ", literal);";
+  protected final String TEXT_271 = NL + "\t\t\tresult = ";
+  protected final String TEXT_272 = ".create";
+  protected final String TEXT_273 = "(literal);";
+  protected final String TEXT_274 = NL + "\t\t\tresult = (";
+  protected final String TEXT_275 = ")";
+  protected final String TEXT_276 = ".createFromString(";
+  protected final String TEXT_277 = ", literal);";
+  protected final String TEXT_278 = NL + "\t\t\tif (";
+  protected final String TEXT_279 = "result != null && ";
+  protected final String TEXT_280 = ".INSTANCE.validate(";
+  protected final String TEXT_281 = ", ";
+  protected final String TEXT_282 = "new ";
+  protected final String TEXT_283 = "(result)";
+  protected final String TEXT_284 = "result";
+  protected final String TEXT_285 = ", null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+  protected final String TEXT_286 = NL + "\t\tif (";
+  protected final String TEXT_287 = "result != null || ";
+  protected final String TEXT_288 = "exception == null) return result;" + NL + "    " + NL + "\t\tthrow exception;";
+  protected final String TEXT_289 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+  protected final String TEXT_290 = "();";
+  protected final String TEXT_291 = NL + "\t\treturn ((";
+  protected final String TEXT_292 = ")super.createFromString(";
+  protected final String TEXT_293 = ", literal)).";
+  protected final String TEXT_294 = "();";
+  protected final String TEXT_295 = NL + "\t\treturn (";
+  protected final String TEXT_296 = ")super.createFromString(";
+  protected final String TEXT_297 = ", literal);";
+  protected final String TEXT_298 = NL + "\t}" + NL;
+  protected final String TEXT_299 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
+  protected final String TEXT_300 = " create";
+  protected final String TEXT_301 = "FromString(";
+  protected final String TEXT_302 = " type, String initialValue)" + NL + "\t{";
+  protected final String TEXT_303 = NL + "\t\treturn create";
+  protected final String TEXT_304 = "(initialValue);";
+  protected final String TEXT_305 = NL + "\t\t";
+  protected final String TEXT_306 = " result = ";
+  protected final String TEXT_307 = ".get(initialValue);" + NL + "\t\tif (result == null) throw new IllegalArgumentException(\"The value '\" + initialValue + \"' is not a valid enumerator of '\" + type.getName() + \"'\");";
+  protected final String TEXT_308 = NL + "\t\treturn result;";
+  protected final String TEXT_309 = NL + "\t\treturn (";
+  protected final String TEXT_310 = ")create";
+  protected final String TEXT_311 = "FromString(";
+  protected final String TEXT_312 = ", initialValue);";
+  protected final String TEXT_313 = NL + "\t\treturn (";
+  protected final String TEXT_314 = ")";
+  protected final String TEXT_315 = ".createFromString(";
+  protected final String TEXT_316 = ", initialValue);";
+  protected final String TEXT_317 = NL + "\t\treturn create";
+  protected final String TEXT_318 = "(initialValue);";
+  protected final String TEXT_319 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+  protected final String TEXT_320 = " result = new ";
+  protected final String TEXT_321 = "();" + NL + "\t\tfor (";
+  protected final String TEXT_322 = " stringTokenizer = new ";
+  protected final String TEXT_323 = "(initialValue); stringTokenizer.hasMoreTokens(); )" + NL + "\t\t{" + NL + "\t\t\tString item = stringTokenizer.nextToken();";
+  protected final String TEXT_324 = NL + "\t\t\tresult.add(create";
+  protected final String TEXT_325 = "FromString(";
+  protected final String TEXT_326 = ", item));";
+  protected final String TEXT_327 = NL + "\t\t\tresult.add(";
+  protected final String TEXT_328 = ".createFromString(";
+  protected final String TEXT_329 = ", item));";
+  protected final String TEXT_330 = NL + "\t\t}" + NL + "\t\treturn result;";
+  protected final String TEXT_331 = NL + "\t\treturn new ";
+  protected final String TEXT_332 = "(create";
+  protected final String TEXT_333 = "(initialValue));";
+  protected final String TEXT_334 = NL + "\t\treturn create";
+  protected final String TEXT_335 = "(initialValue);";
+  protected final String TEXT_336 = NL + "\t\tif (initialValue == null) return null;" + NL + "\t\t";
+  protected final String TEXT_337 = " result = null;" + NL + "\t\tRuntimeException exception = null;";
+  protected final String TEXT_338 = NL + "\t\ttry" + NL + "\t\t{";
+  protected final String TEXT_339 = NL + "\t\t\tresult = (";
+  protected final String TEXT_340 = ")create";
+  protected final String TEXT_341 = "FromString(";
+  protected final String TEXT_342 = ", initialValue);";
+  protected final String TEXT_343 = NL + "\t\t\tresult = (";
+  protected final String TEXT_344 = ")";
+  protected final String TEXT_345 = ".createFromString(";
+  protected final String TEXT_346 = ", initialValue);";
+  protected final String TEXT_347 = NL + "\t\t\tif (result != null && ";
+  protected final String TEXT_348 = ".INSTANCE.validate(type, result, null, null))" + NL + "\t\t\t{" + NL + "\t\t\t\treturn result;" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tcatch (RuntimeException e)" + NL + "\t\t{" + NL + "\t\t\texception = e;" + NL + "\t\t}";
+  protected final String TEXT_349 = NL + "\t\tif (result != null || exception == null) return result;" + NL + "    " + NL + "\t\tthrow exception;";
+  protected final String TEXT_350 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+  protected final String TEXT_351 = "();";
+  protected final String TEXT_352 = NL + "\t\treturn (";
+  protected final String TEXT_353 = ")super.createFromString(type, initialValue);";
+  protected final String TEXT_354 = NL + "\t}" + NL;
+  protected final String TEXT_355 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+  protected final String TEXT_356 = "(";
+  protected final String TEXT_357 = " instanceValue)" + NL + "\t{";
+  protected final String TEXT_358 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+  protected final String TEXT_359 = NL + "\t\treturn instanceValue == null ? null : convert";
+  protected final String TEXT_360 = "(instanceValue.";
+  protected final String TEXT_361 = "());";
+  protected final String TEXT_362 = NL + "\t\treturn convert";
+  protected final String TEXT_363 = "(instanceValue);";
+  protected final String TEXT_364 = NL + "\t\treturn ";
+  protected final String TEXT_365 = ".convert";
+  protected final String TEXT_366 = "(instanceValue);";
+  protected final String TEXT_367 = NL + "\t\treturn ";
+  protected final String TEXT_368 = ".convertToString(";
+  protected final String TEXT_369 = ", instanceValue);";
+  protected final String TEXT_370 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\tif (instanceValue.isEmpty()) return \"\";" + NL + "\t\t";
+  protected final String TEXT_371 = " result = new ";
+  protected final String TEXT_372 = "();" + NL + "\t\tfor (";
+  protected final String TEXT_373 = " i = instanceValue.iterator(); i.hasNext(); )" + NL + "\t\t{";
+  protected final String TEXT_374 = NL + "\t\t\tresult.append(convert";
+  protected final String TEXT_375 = "((";
+  protected final String TEXT_376 = ")i.next()));";
+  protected final String TEXT_377 = NL + "\t\t\tresult.append(convert";
+  protected final String TEXT_378 = "ToString(";
+  protected final String TEXT_379 = ", i.next()));";
+  protected final String TEXT_380 = NL + "\t\t\tresult.append(";
+  protected final String TEXT_381 = ".convert";
+  protected final String TEXT_382 = "((";
+  protected final String TEXT_383 = ")i.next()));";
+  protected final String TEXT_384 = NL + "\t\t\tresult.append(";
+  protected final String TEXT_385 = ".convertToString(";
+  protected final String TEXT_386 = ", i.next()));";
+  protected final String TEXT_387 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+  protected final String TEXT_388 = NL + "\t\tif (instanceValue == null) return null;";
+  protected final String TEXT_389 = NL + "\t\tif (";
+  protected final String TEXT_390 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+  protected final String TEXT_391 = NL + "\t\t\t\tString value = convert";
+  protected final String TEXT_392 = "(instanceValue);";
+  protected final String TEXT_393 = NL + "\t\t\t\tString value = convert";
+  protected final String TEXT_394 = "ToString(";
+  protected final String TEXT_395 = ", instanceValue);";
+  protected final String TEXT_396 = NL + "\t\t\t\tString value = ";
+  protected final String TEXT_397 = ".convert";
+  protected final String TEXT_398 = "((";
+  protected final String TEXT_399 = ")instanceValue);";
+  protected final String TEXT_400 = NL + "\t\t\t\tString value = ";
+  protected final String TEXT_401 = ".convertToString(";
+  protected final String TEXT_402 = ", instanceValue);";
+  protected final String TEXT_403 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t}" + NL + "\t\t}";
+  protected final String TEXT_404 = NL + "\t\ttry" + NL + "\t\t{";
+  protected final String TEXT_405 = NL + "\t\t\tString value = convert";
+  protected final String TEXT_406 = "(instanceValue);";
+  protected final String TEXT_407 = NL + "\t\t\tString value = convert";
+  protected final String TEXT_408 = "ToString(";
+  protected final String TEXT_409 = ", new ";
+  protected final String TEXT_410 = "(instanceValue));";
+  protected final String TEXT_411 = NL + "\t\t\tString value = ";
+  protected final String TEXT_412 = ".convert";
+  protected final String TEXT_413 = "(instanceValue);";
+  protected final String TEXT_414 = NL + "\t\t\tString value = ";
+  protected final String TEXT_415 = ".convertToString(";
+  protected final String TEXT_416 = ", new ";
+  protected final String TEXT_417 = "(instanceValue));";
+  protected final String TEXT_418 = NL + "\t\t\tif (value != null) return value;" + NL + "\t\t}" + NL + "\t\tcatch (Exception e)" + NL + "\t\t{" + NL + "\t\t}";
+  protected final String TEXT_419 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+";
+  protected final String TEXT_420 = ".getName());";
+  protected final String TEXT_421 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+  protected final String TEXT_422 = "();";
+  protected final String TEXT_423 = NL + "\t\treturn super.convertToString(";
+  protected final String TEXT_424 = ", new ";
+  protected final String TEXT_425 = "(instanceValue));";
+  protected final String TEXT_426 = NL + "\t\treturn super.convertToString(";
+  protected final String TEXT_427 = ", instanceValue);";
+  protected final String TEXT_428 = NL + "\t}" + NL;
+  protected final String TEXT_429 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String convert";
+  protected final String TEXT_430 = "ToString(";
+  protected final String TEXT_431 = " type, Object instanceValue)" + NL + "\t{";
+  protected final String TEXT_432 = NL + "\t\treturn instanceValue == null ? null : instanceValue.toString();";
+  protected final String TEXT_433 = NL + "\t\treturn convert";
+  protected final String TEXT_434 = "ToString(";
+  protected final String TEXT_435 = ", instanceValue);";
+  protected final String TEXT_436 = NL + "\t\treturn ";
+  protected final String TEXT_437 = ".convertToString(";
+  protected final String TEXT_438 = ", instanceValue);";
+  protected final String TEXT_439 = NL + "\t\treturn convert";
+  protected final String TEXT_440 = "((";
+  protected final String TEXT_441 = ")instanceValue);";
+  protected final String TEXT_442 = NL + "\t\tif (instanceValue == null) return null;" + NL + "\t\t";
+  protected final String TEXT_443 = " list = (";
+  protected final String TEXT_444 = ")instanceValue;" + NL + "\t\tif (list.isEmpty()) return \"\";" + NL + "\t\t";
+  protected final String TEXT_445 = " result = new ";
+  protected final String TEXT_446 = "();" + NL + "\t\tfor (";
+  protected final String TEXT_447 = " i = list.iterator(); i.hasNext(); )" + NL + "\t\t{";
+  protected final String TEXT_448 = NL + "\t\t\tresult.append(convert";
+  protected final String TEXT_449 = "ToString(";
+  protected final String TEXT_450 = ", i.next()));";
+  protected final String TEXT_451 = NL + "\t\t\tresult.append(";
+  protected final String TEXT_452 = ".convertToString(";
+  protected final String TEXT_453 = ", i.next()));";
+  protected final String TEXT_454 = NL + "\t\t\tresult.append(' ');" + NL + "\t\t}" + NL + "\t\treturn result.substring(0, result.length() - 1);";
+  protected final String TEXT_455 = NL + "\t\treturn instanceValue == null ? null : convert";
+  protected final String TEXT_456 = "(((";
+  protected final String TEXT_457 = ")instanceValue).";
+  protected final String TEXT_458 = "());";
+  protected final String TEXT_459 = NL + "\t\treturn convert";
+  protected final String TEXT_460 = "(instanceValue);";
+  protected final String TEXT_461 = NL + "\t\tif (instanceValue == null) return null;";
+  protected final String TEXT_462 = NL + "\t\tif (";
+  protected final String TEXT_463 = ".isInstance(instanceValue))" + NL + "\t\t{" + NL + "\t\t\ttry" + NL + "\t\t\t{";
+  protected final String TEXT_464 = NL + "\t\t\t\tString value = convert";
+  protected final String TEXT_465 = "ToString(";
+  protected final String TEXT_466 = ", instanceValue);";
+  protected final String TEXT_467 = NL + "\t\t\t\tString value = ";
+  protected final String TEXT_468 = ".convertToString(";
+  protected final String TEXT_469 = ", instanceValue);";
+  protected final String TEXT_470 = NL + "\t\t\t\tif (value != null) return value;" + NL + "\t\t\t}" + NL + "\t\t\tcatch (Exception e)" + NL + "\t\t\t{" + NL + "\t\t\t}" + NL + "\t\t}";
+  protected final String TEXT_471 = NL + "\t\tthrow new IllegalArgumentException(\"Invalid value: '\"+instanceValue+\"' for datatype :\"+type.getName());";
+  protected final String TEXT_472 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new ";
+  protected final String TEXT_473 = "();";
+  protected final String TEXT_474 = NL + "\t\treturn super.convertToString(type, instanceValue);";
+  protected final String TEXT_475 = NL + "\t}" + NL;
+  protected final String TEXT_476 = NL + "\t/**" + NL + "\t * Returns a new object of class '<em>";
+  protected final String TEXT_477 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return a new object of class '<em>";
+  protected final String TEXT_478 = "</em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+  protected final String TEXT_479 = " create";
+  protected final String TEXT_480 = "();" + NL;
+  protected final String TEXT_481 = NL + "\t/**" + NL + "\t * Returns an instance of data type '<em>";
+  protected final String TEXT_482 = "</em>' corresponding the given literal." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param literal a literal of the data type." + NL + "\t * @return a new instance value of the data type." + NL + "\t * @generated" + NL + "\t */" + NL + "\t";
+  protected final String TEXT_483 = " create";
+  protected final String TEXT_484 = "(String literal);" + NL + "" + NL + "\t/**" + NL + "\t * Returns a literal representation of an instance of data type '<em>";
+  protected final String TEXT_485 = "</em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param instanceValue an instance value of the data type." + NL + "\t * @return a literal representation of the instance value." + NL + "\t * @generated" + NL + "\t */" + NL + "\tString convert";
+  protected final String TEXT_486 = "(";
+  protected final String TEXT_487 = " instanceValue);" + NL;
+  protected final String TEXT_488 = NL + "} //";
+  protected final String TEXT_489 = NL;
 
   public String generate(Object argument)
   {
     final StringBuffer stringBuffer = new StringBuffer();
     
 /**
- * <copyright>
  *
- * Copyright (c) 2002-2005 IBM Corporation and others.
- * All rights reserved.   This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ *  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
  *
- * Contributors:
- *   IBM - Initial API and implementation
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
- * </copyright>
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
  */
 
     GenPackage genPackage = (GenPackage)((Object[])argument)[0]; GenModel genModel=genPackage.getGenModel();
@@ -572,135 +609,140 @@
     }
     if (isImplementation) {
     stringBuffer.append(TEXT_32);
-    stringBuffer.append(TEXT_33);
     stringBuffer.append(publicStaticFinalFlag);
     stringBuffer.append(genModel.getImportedName("java.lang.String"));
-    stringBuffer.append(TEXT_34);
+    stringBuffer.append(TEXT_33);
     stringBuffer.append(genPackage.getNSURI());
-    stringBuffer.append(TEXT_35);
+    stringBuffer.append(TEXT_34);
     stringBuffer.append(genModel.getNonNLS());
-    stringBuffer.append(TEXT_36);
-    stringBuffer.append(TEXT_37);
+    stringBuffer.append(TEXT_35);
     stringBuffer.append(publicStaticFinalFlag);
     stringBuffer.append(genModel.getImportedName("java.lang.String"));
-    stringBuffer.append(TEXT_38);
+    stringBuffer.append(TEXT_36);
     stringBuffer.append(genPackage.getNSName());
-    stringBuffer.append(TEXT_39);
+    stringBuffer.append(TEXT_37);
     stringBuffer.append(genModel.getNonNLS());
+    int genIndex = 1;
+for (Iterator i=genPackage.getOrderedGenClassifiers().iterator(); i.hasNext();) { GenClassifier genClassifier = (GenClassifier)i.next();
+    if (!genPackage.getClassifierID(genClassifier).equals("DOCUMENT_ROOT")) { 
+    stringBuffer.append(TEXT_38);
+    stringBuffer.append(publicStaticFinalFlag);
+    stringBuffer.append(TEXT_39);
+    stringBuffer.append(genPackage.getClassifierID(genClassifier));
     stringBuffer.append(TEXT_40);
-    for (Iterator i=genPackage.getOrderedGenClassifiers().iterator(); i.hasNext();) { GenClassifier genClassifier = (GenClassifier)i.next();
-    if (!genClassifier.getClassifierID().equals("DOCUMENT_ROOT")) { 
+    stringBuffer.append(genIndex);
     stringBuffer.append(TEXT_41);
-    stringBuffer.append(publicStaticFinalFlag);
+    genIndex++;
+     } }
     stringBuffer.append(TEXT_42);
-    stringBuffer.append(genPackage.getClassifierID(genClassifier));
+    String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();
     stringBuffer.append(TEXT_43);
-    stringBuffer.append(genPackage.getClassifierValue(genClassifier));
+    stringBuffer.append(genPackage.getFactoryClassName());
     stringBuffer.append(TEXT_44);
-    } }
+    stringBuffer.append(genModel.getImportedName("commonj.sdo.DataObject"));
     stringBuffer.append(TEXT_45);
-    String factoryType = genModel.isSuppressEMFMetaData() ? genPackage.getFactoryClassName() : genPackage.getImportedFactoryInterfaceName();
+    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
+    if (!genClass.isAbstract() && !genClass.isDynamic()) {
     stringBuffer.append(TEXT_46);
-    stringBuffer.append(genPackage.getFactoryClassName());
+    stringBuffer.append(genClass.getClassifierID());
     stringBuffer.append(TEXT_47);
     stringBuffer.append(genModel.getImportedName("commonj.sdo.DataObject"));
     stringBuffer.append(TEXT_48);
-    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
-    if (!genClass.isAbstract() && !genClass.getClassifierID().equals("DOCUMENT_ROOT")) {
-    stringBuffer.append(TEXT_49);
-    stringBuffer.append(genClass.getClassifierID());
-    stringBuffer.append(TEXT_50);
-    stringBuffer.append(genModel.getImportedName("commonj.sdo.DataObject"));
-    stringBuffer.append(TEXT_51);
     stringBuffer.append(genClass.getName());
-    stringBuffer.append(TEXT_52);
+    stringBuffer.append(TEXT_49);
     }
     }
-    stringBuffer.append(TEXT_53);
+    stringBuffer.append(TEXT_50);
     if (!genPackage.getAllGenDataTypes().isEmpty()) {
-    stringBuffer.append(TEXT_54);
-    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
-    stringBuffer.append(TEXT_55);
+    stringBuffer.append(TEXT_51);
+    stringBuffer.append(genModel.getImportedName("commonj.sdo.Type"));
+    stringBuffer.append(TEXT_52);
     for (Iterator i=genPackage.getAllGenDataTypes().iterator(); i.hasNext();) { GenDataType genDataType = (GenDataType)i.next();
     if (genDataType.isSerializable()) {
-    stringBuffer.append(TEXT_56);
-    stringBuffer.append(genPackage.getImportedPackageInterfaceName());
-    stringBuffer.append(TEXT_57);
+    stringBuffer.append(TEXT_53);
     stringBuffer.append(genDataType.getClassifierID());
-    stringBuffer.append(TEXT_58);
+    stringBuffer.append(TEXT_54);
     stringBuffer.append(genDataType.getName());
-    stringBuffer.append(TEXT_59);
+    stringBuffer.append(TEXT_55);
     }
     }
-    stringBuffer.append(TEXT_60);
+    stringBuffer.append(TEXT_56);
     stringBuffer.append(genModel.getNonNLS());
     stringBuffer.append(genModel.getNonNLS(2));
-    stringBuffer.append(TEXT_61);
-    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EDataType"));
-    stringBuffer.append(TEXT_62);
+    stringBuffer.append(TEXT_57);
+    stringBuffer.append(genModel.getImportedName("commonj.sdo.Type"));
+    stringBuffer.append(TEXT_58);
     for (Iterator i=genPackage.getAllGenDataTypes().iterator(); i.hasNext();) { GenDataType genDataType = (GenDataType)i.next();
     if (genDataType.isSerializable()) {
-    stringBuffer.append(TEXT_63);
-    stringBuffer.append(genPackage.getImportedPackageInterfaceName());
-    stringBuffer.append(TEXT_64);
+    stringBuffer.append(TEXT_59);
     stringBuffer.append(genDataType.getClassifierID());
-    stringBuffer.append(TEXT_65);
+    stringBuffer.append(TEXT_60);
     stringBuffer.append(genDataType.getName());
-    stringBuffer.append(TEXT_66);
+    stringBuffer.append(TEXT_61);
     }
     }
-    stringBuffer.append(TEXT_67);
+    stringBuffer.append(TEXT_62);
     stringBuffer.append(genModel.getNonNLS());
     stringBuffer.append(genModel.getNonNLS(2));
-    stringBuffer.append(TEXT_68);
+    stringBuffer.append(TEXT_63);
     }
     for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
-    if (!genClass.isAbstract() && !genClass.getClassifierID().equals("DOCUMENT_ROOT")) {
-    stringBuffer.append(TEXT_69);
+    if (!genClass.isAbstract() && !genClass.isDynamic()) {
+    stringBuffer.append(TEXT_64);
     stringBuffer.append(genClass.getImportedInterfaceName());
-    stringBuffer.append(TEXT_70);
+    stringBuffer.append(TEXT_65);
     stringBuffer.append(genClass.getName());
-    stringBuffer.append(TEXT_71);
+    stringBuffer.append(TEXT_66);
     if (genClass.isDynamic()) {
-    stringBuffer.append(TEXT_72);
+    stringBuffer.append(TEXT_67);
     stringBuffer.append(genClass.getImportedInterfaceName());
+    stringBuffer.append(TEXT_68);
+    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(TEXT_69);
+    stringBuffer.append(genClass.getCastFromEObject());
+    stringBuffer.append(TEXT_70);
+    stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+    stringBuffer.append(TEXT_71);
+    } else {
+    stringBuffer.append(TEXT_72);
+    stringBuffer.append(genClass.getImportedClassName());
     stringBuffer.append(TEXT_73);
     stringBuffer.append(genClass.getSafeUncapName());
     stringBuffer.append(TEXT_74);
-    stringBuffer.append(genClass.getCastFromEObject());
+    stringBuffer.append(genClass.getImportedClassName());
     stringBuffer.append(TEXT_75);
-    stringBuffer.append(genClass.getQualifiedClassifierAccessor());
+    if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
     stringBuffer.append(TEXT_76);
-    } else {
+    }
     stringBuffer.append(TEXT_77);
-    stringBuffer.append(genClass.getImportedClassName());
+    }
     stringBuffer.append(TEXT_78);
     stringBuffer.append(genClass.getSafeUncapName());
     stringBuffer.append(TEXT_79);
-    stringBuffer.append(genClass.getImportedClassName());
+    }
+    }
     stringBuffer.append(TEXT_80);
-    if (genModel.isSuppressInterfaces() && !genPackage.getReflectionPackageName().equals(genPackage.getInterfacePackageName())) {
+    for (Iterator i=genPackage.getOrderedGenClassifiers().iterator(); i.hasNext();) { GenClassifier genClassifier = (GenClassifier)i.next();
     stringBuffer.append(TEXT_81);
-    }
+    if (!genPackage.getClassifierID(genClassifier).equals("DOCUMENT_ROOT")) { 
     stringBuffer.append(TEXT_82);
-    }
+    stringBuffer.append(genModel.getImportedName("commonj.sdo.Type"));
     stringBuffer.append(TEXT_83);
-    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(genClassifier.getSafeUncapName());
     stringBuffer.append(TEXT_84);
     stringBuffer.append(genModel.getImportedName("commonj.sdo.Type"));
     stringBuffer.append(TEXT_85);
-    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(genClassifier.getClassifierAccessorName());
     stringBuffer.append(TEXT_86);
-    stringBuffer.append(genModel.getImportedName("commonj.sdo.Type"));
+    stringBuffer.append(genClassifier.getSafeUncapName());
     stringBuffer.append(TEXT_87);
-    stringBuffer.append(genClass.getName());
+    } }
     stringBuffer.append(TEXT_88);
-    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_89);
-    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_90);
-    }
-    }
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_91);
     stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_92);
@@ -708,101 +750,114 @@
     stringBuffer.append(TEXT_93);
     stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_94);
-    stringBuffer.append(factoryType);
+    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.util.SDOUtil"));
     stringBuffer.append(TEXT_95);
-    stringBuffer.append(factoryType);
+    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.impl.SDOFactoryImpl"));
     stringBuffer.append(TEXT_96);
-    stringBuffer.append(factoryType);
-    stringBuffer.append(TEXT_97);
     stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.util.SDOUtil"));
+    stringBuffer.append(TEXT_97);
+    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.model.impl.ModelPackageImpl"));
     stringBuffer.append(TEXT_98);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.impl.SDOFactoryImpl"));
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_99);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.util.SDOUtil"));
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_100);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.model.impl.ModelPackageImpl"));
+    stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_101);
     stringBuffer.append(factoryType);
     stringBuffer.append(TEXT_102);
-    stringBuffer.append(factoryType);
+    if (!genPackage.getGenClasses().isEmpty()) {
     stringBuffer.append(TEXT_103);
-    stringBuffer.append(factoryType);
+    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
     stringBuffer.append(TEXT_104);
-    stringBuffer.append(factoryType);
+    if (!genClass.isAbstract() && !genClass.isDynamic()) {
     stringBuffer.append(TEXT_105);
-    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
+    stringBuffer.append(genClass.getSafeUncapName());
     stringBuffer.append(TEXT_106);
-    if (!genClass.isAbstract() && !genClass.getClassifierID().equals("DOCUMENT_ROOT")) {
+    stringBuffer.append(genPackage.getClassifierID(genClass));
     stringBuffer.append(TEXT_107);
-    stringBuffer.append(genClass.getSafeUncapName());
+    for (Iterator j=genClass.getGenFeatures().iterator(); j.hasNext();) { GenFeature genFeature = (GenFeature)j.next();
     stringBuffer.append(TEXT_108);
-    stringBuffer.append(genPackage.getClassifierID(genClass));
-    stringBuffer.append(TEXT_109);
-    for (Iterator j=genClass.getAllGenFeatures().iterator(); j.hasNext();) { GenFeature genFeature = (GenFeature)j.next();
-    stringBuffer.append(TEXT_110);
     stringBuffer.append(!genFeature.isReferenceType());
-    stringBuffer.append(TEXT_111);
+    stringBuffer.append(TEXT_109);
     stringBuffer.append(genClass.getSafeUncapName());
-    stringBuffer.append(TEXT_112);
+    stringBuffer.append(TEXT_110);
     stringBuffer.append(genClass.getClassName());
-    stringBuffer.append(TEXT_113);
+    stringBuffer.append(TEXT_111);
     stringBuffer.append(genFeature.getUpperName());
-    stringBuffer.append(TEXT_114);
+    stringBuffer.append(TEXT_112);
+    }
     }
     }
     }
+    if (!genPackage.getGenEnums().isEmpty()) {
+    stringBuffer.append(TEXT_113);
+    for (Iterator e=genPackage.getGenEnums().iterator(); e.hasNext();) { GenEnum genEnum = (GenEnum)e.next();
+    stringBuffer.append(TEXT_114);
+    stringBuffer.append(genEnum.getClassifierInstanceName());
     stringBuffer.append(TEXT_115);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.model.impl.ModelFactoryImpl"));
+    stringBuffer.append(genEnum.getClassifierID());
     stringBuffer.append(TEXT_116);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.model.impl.ModelFactoryImpl"));
+    }
+    }
+    if (!genPackage.getGenDataTypes().isEmpty()) {
+    for (Iterator d=genPackage.getGenDataTypes().iterator(); d.hasNext();) { GenDataType genDataType = (GenDataType)d.next();
     stringBuffer.append(TEXT_117);
-    stringBuffer.append(genModel.getImportedName("org.apache.tuscany.sdo.model.impl.ModelFactoryImpl"));
+    stringBuffer.append(genDataType.getSafeUncapName());
     stringBuffer.append(TEXT_118);
-    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
-    if (!genClass.isAbstract() && !genClass.getClassifierID().equals("DOCUMENT_ROOT")) {
+    stringBuffer.append(genPackage.getClassifierID(genDataType));
     stringBuffer.append(TEXT_119);
-    stringBuffer.append(genClass.getSafeUncapName());
+    }
+    }
     stringBuffer.append(TEXT_120);
-    stringBuffer.append(genClass.getImportedInterfaceName());
+    if (!genPackage.getPackageInitializationDependencies().isEmpty()) {
     stringBuffer.append(TEXT_121);
-    stringBuffer.append(genClass.getName());
+    for (Iterator p=genPackage.getPackageInitializationDependencies().iterator(); p.hasNext();) { GenPackage dep = (GenPackage)p.next();
     stringBuffer.append(TEXT_122);
-    for (Iterator j=genClass.getAllGenFeatures().iterator(); j.hasNext();) {GenFeature genFeature = (GenFeature)j.next();
-    String type = genFeature.getImportedType().equals("Sequence") ? "getSequence()" : genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()) + ".get" + genFeature.getTypeClassifierAccessorName() + "()";
-    if (genFeature.isReferenceType()) { GenFeature reverseGenFeature = genFeature.getReverse();
-    String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";
+    stringBuffer.append(dep.getImportedFactoryClassName());
     stringBuffer.append(TEXT_123);
-    stringBuffer.append(genModel.getImportedName("commonj.sdo.Property"));
+    stringBuffer.append(genPackage.getPackageInstanceVariable(dep));
     stringBuffer.append(TEXT_124);
-    stringBuffer.append(genClass.getSafeUncapName());
+    stringBuffer.append(dep.getImportedFactoryClassName());
     stringBuffer.append(TEXT_125);
-    stringBuffer.append(genClass.getClassName());
+    stringBuffer.append(dep.getImportedFactoryClassName());
     stringBuffer.append(TEXT_126);
-    stringBuffer.append(genFeature.getUpperName());
+    }
+    }
+    List annotationSources = genPackage.getAnnotationSources();
+    annotationSources.remove(ExtendedMetaData.ANNOTATION_URI);
     stringBuffer.append(TEXT_127);
-    stringBuffer.append(type);
+    stringBuffer.append(genModel.getImportedName("commonj.sdo.Property"));
     stringBuffer.append(TEXT_128);
-    stringBuffer.append(genFeature.getSafeName());
+    for (Iterator i=genPackage.getGenClasses().iterator(); i.hasNext();) { GenClass genClass = (GenClass)i.next();
+    if (!genClass.isAbstract() && !genClass.isDynamic()) {
     stringBuffer.append(TEXT_129);
-    stringBuffer.append(genFeature.getDefaultValue());
+    stringBuffer.append(genClass.getSafeUncapName());
     stringBuffer.append(TEXT_130);
-    stringBuffer.append(genFeature.getLowerBound());
+    stringBuffer.append(genClass.getImportedInterfaceName());
     stringBuffer.append(TEXT_131);
-    stringBuffer.append(genFeature.getUpperBound());
+    stringBuffer.append(genClass.getName());
     stringBuffer.append(TEXT_132);
-    stringBuffer.append(genFeature.getContainerClass());
+    for (Iterator sources = annotationSources.iterator(); sources.hasNext();) { String annotationSource = (String)sources.next();
+    EAnnotation classAnnotation = genClass.getEcoreClassifier().getEAnnotation(annotationSource);
+    if (classAnnotation != null) { 
+    for (Iterator k = classAnnotation.getDetails().iterator(); k.hasNext();) { Map.Entry detail = (Map.Entry)k.next(); String key = Literals.toStringLiteral((String)detail.getKey(), genModel); String value = Literals.toStringLiteral((String)detail.getValue(), genModel);
     stringBuffer.append(TEXT_133);
-    stringBuffer.append(genFeature.getChangeableFlag().equals("IS_CHANGEABLE") ? "false" : "true");
+    stringBuffer.append(genClass.getSafeUncapName());
     stringBuffer.append(TEXT_134);
-    stringBuffer.append(genFeature.getUnsettableFlag().equals("IS_UNSETTABLE") ? "true": "false");
+    stringBuffer.append(annotationSource);
     stringBuffer.append(TEXT_135);
-    stringBuffer.append(genFeature.getDerivedFlag().equals("IS_DERIVED") ? "true" : "false");
+    stringBuffer.append(key);
     stringBuffer.append(TEXT_136);
-    stringBuffer.append(genFeature.getContainmentFlag().equals("IS_COMPOSITE")? "true": "false");
+    stringBuffer.append(value);
+    stringBuffer.append(genModel.getNonNLS(key + value));
     stringBuffer.append(TEXT_137);
-    stringBuffer.append(reverse);
+    }
+    }
+    }
     stringBuffer.append(TEXT_138);
-    }else{
+    for (Iterator j=genClass.getGenFeatures().iterator(); j.hasNext();) {GenFeature genFeature = (GenFeature)j.next();
+    String type = genFeature.getType().equals("commonj.sdo.Sequence") ? "getSequence()" : genPackage.getPackageInstanceVariable(genFeature.getTypeGenPackage()) + ".get" + genFeature.getTypeClassifierAccessorName() + "()";
     stringBuffer.append(TEXT_139);
     stringBuffer.append(genModel.getImportedName("commonj.sdo.Property"));
     stringBuffer.append(TEXT_140);
@@ -812,684 +867,821 @@
     stringBuffer.append(TEXT_142);
     stringBuffer.append(genFeature.getUpperName());
     stringBuffer.append(TEXT_143);
-    stringBuffer.append(type);
+    if (genFeature.isReferenceType()) { GenFeature reverseGenFeature = genFeature.getReverse();
+    String reverse = reverseGenFeature == null ? "null" : genPackage.getPackageInstanceVariable(reverseGenFeature.getGenPackage()) + ".get" + reverseGenFeature.getFeatureAccessorName() + "()";
     stringBuffer.append(TEXT_144);
-    stringBuffer.append(genFeature.getSafeName());
+    stringBuffer.append(type);
     stringBuffer.append(TEXT_145);
-    stringBuffer.append(genFeature.getDefaultValue());
+    stringBuffer.append(genFeature.getSafeName());
     stringBuffer.append(TEXT_146);
-    stringBuffer.append(genFeature.getLowerBound());
+    stringBuffer.append(genFeature.getDefaultValue());
     stringBuffer.append(TEXT_147);
-    stringBuffer.append(genFeature.getUpperBound());
+    stringBuffer.append(genFeature.getLowerBound());
     stringBuffer.append(TEXT_148);
-    stringBuffer.append(genFeature.getContainerClass());
+    stringBuffer.append(genFeature.getUpperBound());
     stringBuffer.append(TEXT_149);
-    stringBuffer.append(genFeature.getChangeableFlag().equals("IS_CHANGEABLE") ? "false" : "true");
+    stringBuffer.append(genFeature.getContainerClass());
     stringBuffer.append(TEXT_150);
-    stringBuffer.append(genFeature.getUnsettableFlag().equals("IS_UNSETTABLE") ? "true": "false");
+    stringBuffer.append(genFeature.getChangeableFlag().equals("IS_CHANGEABLE") ? "false" : "true");
     stringBuffer.append(TEXT_151);
-    stringBuffer.append(genFeature.getDerivedFlag().equals("IS_DERIVED") ? "true" : "false");
+    stringBuffer.append(genFeature.getUnsettableFlag().equals("IS_UNSETTABLE") ? "true": "false");
     stringBuffer.append(TEXT_152);
-    }
-    }
-    }
-    }
+    stringBuffer.append(genFeature.getDerivedFlag().equals("IS_DERIVED") ? "true" : "false");
     stringBuffer.append(TEXT_153);

[... 1093 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message