コード例 #1
0
ファイル: ECorePojo.java プロジェクト: wholeplatform/whole
 public void apply(IBuilderOperation op) {
   org.whole.lang.pojo.builders.IPojoBuilder b0 =
       (org.whole.lang.pojo.builders.IPojoBuilder)
           op.wGetBuilder(org.whole.lang.pojo.reflect.PojoLanguageKit.URI);
   b0.Library_();
   org.whole.lang.commons.builders.ICommonsBuilder b1 =
       (org.whole.lang.commons.builders.ICommonsBuilder)
           op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
   b1.Resolver();
   b0.Name("ECore");
   b0.LanguageURI("http://lang.whole.org/ECore");
   b0.Declarations_(16);
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EAnnotation");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EModelElement");
   b0._ReferenceTypes();
   b0.Properties_(3);
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("source");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EModelElement");
   b0.Name("eModelElement");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.MapType_();
   b0.PrimitiveType("String");
   b0.PrimitiveType("String");
   b0._MapType();
   b0.Name("details");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EAttribute");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EStructuralFeature");
   b0._ReferenceTypes();
   b0.Properties_(2);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EDataType");
   b0.Name("eAttributeType");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("id");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EClass");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EClassifier");
   b0._ReferenceTypes();
   b0.Properties_(14);
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EClass");
   b0._CollectionType();
   b0.Name("eSuperTypes");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("abstract");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("interface");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EAttribute");
   b0.Name("eIDAttribute");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EStructuralFeature");
   b0._CollectionType();
   b0.Name("eStructuralFeatures");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EOperation");
   b0._CollectionType();
   b0.Name("eOperations");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EAttribute");
   b0._CollectionType();
   b0.Name("eAttributes");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EReference");
   b0._CollectionType();
   b0.Name("eReferences");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EClass");
   b0._CollectionType();
   b0.Name("eAllSuperTypes");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EStructuralFeature");
   b0._CollectionType();
   b0.Name("eAllStructuralFeatures");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EOperation");
   b0._CollectionType();
   b0.Name("eAllOperations");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EAttribute");
   b0._CollectionType();
   b0.Name("eAllAttributes");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EReference");
   b0._CollectionType();
   b0.Name("eAllReferences");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EReference");
   b0._CollectionType();
   b0.Name("eAllContainments");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EClassifier");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ENamedElement");
   b0._ReferenceTypes();
   b0.Properties_(4);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EPackage");
   b0.Name("ePackage");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b0.Annotations_(1);
   b0.Modifier("DATATYPE");
   b0._Annotations();
   b0.ReferenceType("Class");
   b0.Name("instanceClass");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("instanceClassName");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b0.Annotations_(1);
   b0.Modifier("DATATYPE");
   b0._Annotations();
   b0.ReferenceType("Object");
   b0.Name("defaultValue");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EDataType");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EClassifier");
   b0._ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("serializable");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EEnum");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EDataType");
   b0._ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EEnumLiteral");
   b0._CollectionType();
   b0.Name("eLiterals");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EEnumLiteral");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ENamedElement");
   b0._ReferenceTypes();
   b0.Properties_(3);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EEnum");
   b0.Name("eEnum");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("literal");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("int");
   b0.Name("value");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EFactory");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EModelElement");
   b0._ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EPackage");
   b0.Name("ePackage");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EModelElement");
   b0.ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EAnnotation");
   b0._CollectionType();
   b0.Name("eAnnotations");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("ENamedElement");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EModelElement");
   b0._ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("name");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EOperation");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ETypedElement");
   b0._ReferenceTypes();
   b0.Properties_(3);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EClass");
   b0.Name("eContainingClass");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EParameter");
   b0._CollectionType();
   b0.Name("eParameters");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EClassifier");
   b0._CollectionType();
   b0.Name("eExceptions");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EPackage");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ENamedElement");
   b0._ReferenceTypes();
   b0.Properties_(5);
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("nsPrefix");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("nsURI");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EPackage");
   b0.Name("eSuperPackage");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EClassifier");
   b0._CollectionType();
   b0.Name("eClassifiers");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.CollectionType_();
   b0.CollectionInterface("List");
   b0.ReferenceType("EPackage");
   b0._CollectionType();
   b0.Name("eSubpackages");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EParameter");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ETypedElement");
   b0._ReferenceTypes();
   b0.Properties_(1);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EOperation");
   b0.Name("eOperation");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EReference");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("EStructuralFeature");
   b0._ReferenceTypes();
   b0.Properties_(5);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EClass");
   b0.Name("eReferenceType");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EReference");
   b0.Name("eOpposite");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("container");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("containment");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("resolveProxies");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("EStructuralFeature");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ETypedElement");
   b0._ReferenceTypes();
   b0.Properties_(9);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EClass");
   b0.Name("eContainingClass");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("int");
   b0.Name("featureID");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("changeable");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("derived");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("transient");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("unsettable");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("volatile");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b0.Annotations_(1);
   b0.Modifier("DATATYPE");
   b0._Annotations();
   b0.ReferenceType("Object");
   b0.Name("defaultValue");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("String");
   b0.Name("defaultValueLiteral");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0.PojoDeclaration_();
   b1.Resolver();
   b1.Resolver();
   b0.ReferenceType("ETypedElement");
   b0.ReferenceTypes_(1);
   b0.ReferenceType("ENamedElement");
   b0._ReferenceTypes();
   b0.Properties_(7);
   b0.Property_();
   b1.Resolver();
   b0.ReferenceType("EClassifier");
   b0.Name("eType");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("many");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("ordered");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("required");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("boolean");
   b0.Name("unique");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("int");
   b0.Name("lowerBound");
   b1.Resolver();
   b0._Property();
   b0.Property_();
   b1.Resolver();
   b0.PrimitiveType("int");
   b0.Name("upperBound");
   b1.Resolver();
   b0._Property();
   b0._Properties();
   b1.Resolver();
   b0._PojoDeclaration();
   b0._Declarations();
   b0._Library();
 }
コード例 #2
0
 public void apply(IBuilderOperation op) {
   org.whole.lang.xsd.mapping.builders.IMappingBuilder b0 =
       (org.whole.lang.xsd.mapping.builders.IMappingBuilder)
           op.wGetBuilder(org.whole.lang.xsd.mapping.reflect.MappingLanguageKit.URI);
   b0.MappingStrategy_();
   b0.URI("http://lang.whole.org/Artifacts");
   b0.URI("Artifacts.xsd");
   b0.BooleanType(true);
   b0.BooleanType(true);
   b0.BooleanType(false);
   org.whole.lang.commons.builders.ICommonsBuilder b1 =
       (org.whole.lang.commons.builders.ICommonsBuilder)
           op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
   b1.Resolver();
   b1.Resolver();
   b0.Mappings_(53);
   b0.RootMapping_();
   b0.NCName("workspace");
   b0.URI("http://lang.whole.org/Artifacts#Workspace");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Workspace");
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.URI("http://lang.whole.org/Artifacts#metadata");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Workspace");
   b0.NCName("projects");
   b0.URI("http://lang.whole.org/Artifacts#Projects");
   b0.URI("http://lang.whole.org/Artifacts#projects");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("projects");
   b0.URI("http://lang.whole.org/Artifacts#Projects");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Projects");
   b0.NCName("project");
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("project");
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.NCName("natures");
   b0.URI("http://lang.whole.org/Artifacts#Natures");
   b0.URI("http://lang.whole.org/Artifacts#natures");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.URI("http://lang.whole.org/Artifacts#metadata");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.NCName("artifacts");
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.URI("http://lang.whole.org/Artifacts#artifacts");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Project");
   b0.NCName("locationURI");
   b0.URI("http://lang.whole.org/Artifacts#LocationURI");
   b0.URI("http://lang.whole.org/Artifacts#locationURI");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("artifacts");
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.NCName("packageArtifact");
   b0.URI("http://lang.whole.org/Artifacts#PackageArtifact");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.NCName("folderArtifact");
   b0.URI("http://lang.whole.org/Artifacts#FolderArtifact");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.NCName("fileArtifact");
   b0.URI("http://lang.whole.org/Artifacts#FileArtifact");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("packageArtifact");
   b0.URI("http://lang.whole.org/Artifacts#PackageArtifact");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#PackageArtifact");
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#PackageArtifact");
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.URI("http://lang.whole.org/Artifacts#metadata");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#PackageArtifact");
   b0.NCName("artifacts");
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.URI("http://lang.whole.org/Artifacts#artifacts");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("folderArtifact");
   b0.URI("http://lang.whole.org/Artifacts#FolderArtifact");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FolderArtifact");
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FolderArtifact");
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.URI("http://lang.whole.org/Artifacts#metadata");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FolderArtifact");
   b0.NCName("artifacts");
   b0.URI("http://lang.whole.org/Artifacts#Artifacts");
   b0.URI("http://lang.whole.org/Artifacts#artifacts");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("fileArtifact");
   b0.URI("http://lang.whole.org/Artifacts#FileArtifact");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FileArtifact");
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FileArtifact");
   b0.NCName("nameWithExtension");
   b0.URI("http://lang.whole.org/Artifacts#NameWithExtension");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#FileArtifact");
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.URI("http://lang.whole.org/Artifacts#metadata");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("natures");
   b0.URI("http://lang.whole.org/Artifacts#Natures");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Natures");
   b0.NCName("nature");
   b0.URI("http://lang.whole.org/Artifacts#Nature");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("nature");
   b0.URI("http://lang.whole.org/Artifacts#Nature");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("locationURI");
   b0.URI("http://lang.whole.org/Artifacts#LocationURI");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("metadata");
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.NCName("copyright");
   b0.URI("http://lang.whole.org/Artifacts#Copyright");
   b0.URI("http://lang.whole.org/Artifacts#copyright");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.NCName("license");
   b0.URI("http://lang.whole.org/Artifacts#License");
   b0.URI("http://lang.whole.org/Artifacts#license");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.NCName("author");
   b0.URI("http://lang.whole.org/Artifacts#Author");
   b0.URI("http://lang.whole.org/Artifacts#author");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.NCName("attributes");
   b0.URI("http://lang.whole.org/Artifacts#Attributes");
   b0.URI("http://lang.whole.org/Artifacts#attributes");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Metadata");
   b0.NCName("persistenceKitId");
   b0.URI("http://lang.whole.org/Artifacts#PersistenceKitId");
   b0.URI("http://lang.whole.org/Artifacts#persistenceKitId");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("nameWithExtension");
   b0.URI("http://lang.whole.org/Artifacts#NameWithExtension");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#NameWithExtension");
   b0.NCName("name");
   b0.URI("http://lang.whole.org/Artifacts#Name");
   b0.URI("http://lang.whole.org/Artifacts#name");
   b0._ElementMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#NameWithExtension");
   b0.NCName("extension");
   b0.URI("http://lang.whole.org/Artifacts#Extension");
   b0.URI("http://lang.whole.org/Artifacts#extension");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("copyright");
   b0.URI("http://lang.whole.org/Artifacts#Copyright");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("license");
   b0.URI("http://lang.whole.org/Artifacts#License");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("author");
   b0.URI("http://lang.whole.org/Artifacts#Author");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("extension");
   b0.URI("http://lang.whole.org/Artifacts#Extension");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("attributes");
   b0.URI("http://lang.whole.org/Artifacts#Attributes");
   b0._RootMapping();
   b0.ElementMapping_();
   b0.URI("http://lang.whole.org/Artifacts#Attributes");
   b0.NCName("attribute");
   b0.URI("http://lang.whole.org/Artifacts#Attribute");
   b0.URI("http://lang.whole.org/Commons#composite_element");
   b0._ElementMapping();
   b0.RootMapping_();
   b0.NCName("attribute");
   b0.URI("http://lang.whole.org/Artifacts#Attribute");
   b0._RootMapping();
   b0.RootMapping_();
   b0.NCName("persistenceKitId");
   b0.URI("http://lang.whole.org/Artifacts#PersistenceKitId");
   b0._RootMapping();
   b0._Mappings();
   b0.DataTypes_(1);
   b0.EnumDataType_();
   b0.URI("http://lang.whole.org/Artifacts#Attribute");
   b0.EnumValues_(4);
   b0.EnumValue_();
   b0.Value("derived");
   b0.Value("derived");
   b0._EnumValue();
   b0.EnumValue_();
   b0.Value("readonly");
   b0.Value("readonly");
   b0._EnumValue();
   b0.EnumValue_();
   b0.Value("merge");
   b0.Value("merge");
   b0._EnumValue();
   b0.EnumValue_();
   b0.Value("source");
   b0.Value("source");
   b0._EnumValue();
   b0._EnumValues();
   b0._EnumDataType();
   b0._DataTypes();
   b0._MappingStrategy();
 }