/** */ package de.hftstuttgart.buildingphysics.impl; import de.hftstuttgart.buildingphysics.BuildingPhysicsCatalog; import de.hftstuttgart.buildingphysics.BuildingPhysicsFactory; import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage; import de.hftstuttgart.buildingphysics.Construction; import de.hftstuttgart.buildingphysics.ConstructionCategory; import de.hftstuttgart.buildingphysics.Layer; import de.hftstuttgart.buildingphysics.Material; import de.hftstuttgart.buildingphysics.MaterialCategory; import de.hftstuttgart.buildingphysics.WindowCategory; import de.hftstuttgart.buildingphysics.WindowType; import de.hftstuttgart.cityunits.model.quantities.QuantitiesPackage; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; /** * * An implementation of the model Package. * * @generated */ public class BuildingPhysicsPackageImpl extends EPackageImpl implements BuildingPhysicsPackage { /** * * * @generated */ private EClass buildingPhysicsCatalogEClass = null; /** * * * @generated */ private EClass windowTypeEClass = null; /** * * * @generated */ private EClass windowCategoryEClass = null; /** * * * @generated */ private EClass materialCategoryEClass = null; /** * * * @generated */ private EClass materialEClass = null; /** * * * @generated */ private EClass constructionCategoryEClass = null; /** * * * @generated */ private EClass constructionEClass = null; /** * * * @generated */ private EClass layerEClass = null; /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. *

Note: the correct way to create the package is via the static * factory method {@link #init init()}, which also performs * initialization of the package, or returns the registered package, * if one already exists. * * * @see org.eclipse.emf.ecore.EPackage.Registry * @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#eNS_URI * @see #init() * @generated */ private BuildingPhysicsPackageImpl() { super(eNS_URI, BuildingPhysicsFactory.eINSTANCE); } /** * * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * *

This method is used to initialize {@link BuildingPhysicsPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static BuildingPhysicsPackage init() { if (isInited) return (BuildingPhysicsPackage) EPackage.Registry.INSTANCE.getEPackage(BuildingPhysicsPackage.eNS_URI); // Obtain or create and register package Object registeredBuildingPhysicsPackage = EPackage.Registry.INSTANCE.get(eNS_URI); BuildingPhysicsPackageImpl theBuildingPhysicsPackage = registeredBuildingPhysicsPackage instanceof BuildingPhysicsPackageImpl ? (BuildingPhysicsPackageImpl) registeredBuildingPhysicsPackage : new BuildingPhysicsPackageImpl(); isInited = true; // Initialize simple dependencies QuantitiesPackage.eINSTANCE.eClass(); // Create package meta-data objects theBuildingPhysicsPackage.createPackageContents(); // Initialize created meta-data theBuildingPhysicsPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theBuildingPhysicsPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(BuildingPhysicsPackage.eNS_URI, theBuildingPhysicsPackage); return theBuildingPhysicsPackage; } /** * * * @generated */ @Override public EClass getBuildingPhysicsCatalog() { return buildingPhysicsCatalogEClass; } /** * * * @generated */ @Override public EReference getBuildingPhysicsCatalog_Windows() { return (EReference) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getBuildingPhysicsCatalog_Name() { return (EAttribute) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getBuildingPhysicsCatalog_Description() { return (EAttribute) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getBuildingPhysicsCatalog_Source() { return (EAttribute) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EReference getBuildingPhysicsCatalog_ConstructionCategories() { return (EReference) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EReference getBuildingPhysicsCatalog_MaterialCategories() { return (EReference) buildingPhysicsCatalogEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EClass getWindowType() { return windowTypeEClass; } /** * * * @generated */ @Override public EAttribute getWindowType_WindowTypeId() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getWindowType_Name() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getWindowType_UValue() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getWindowType_GValue() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getWindowType_GlazingNumber() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getWindowType_FrameRatio() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EAttribute getWindowType_EmbodiedEnergy() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EAttribute getWindowType_EmbodiedCarbon() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(7); } /** * * * @generated */ @Override public EAttribute getWindowType_ConstructionDescription() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(8); } /** * * * @generated */ @Override public EAttribute getWindowType_DisposalEnergy() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(9); } /** * * * @generated */ @Override public EAttribute getWindowType_DisposalCarbon() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(10); } /** * * * @generated */ @Override public EAttribute getWindowType_DisposalDescription() { return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(11); } /** * * * @generated */ @Override public EClass getWindowCategory() { return windowCategoryEClass; } /** * * * @generated */ @Override public EReference getWindowCategory_WindowTypes() { return (EReference) windowCategoryEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getMaterialCategory() { return materialCategoryEClass; } /** * * * @generated */ @Override public EReference getMaterialCategory_Materials() { return (EReference) materialCategoryEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getMaterialCategory_Name() { return (EAttribute) materialCategoryEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getMaterial() { return materialEClass; } /** * * * @generated */ @Override public EAttribute getMaterial_MaterialId() { return (EAttribute) materialEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getMaterial_Name() { return (EAttribute) materialEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EAttribute getMaterial_Density() { return (EAttribute) materialEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EAttribute getMaterial_HeatCapacity() { return (EAttribute) materialEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EAttribute getMaterial_Conductivity() { return (EAttribute) materialEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EAttribute getMaterial_EmbodiedEnergy() { return (EAttribute) materialEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EAttribute getMaterial_EmbodiedCarbon() { return (EAttribute) materialEClass.getEStructuralFeatures().get(6); } /** * * * @generated */ @Override public EAttribute getMaterial_ConstructionDescription() { return (EAttribute) materialEClass.getEStructuralFeatures().get(7); } /** * * * @generated */ @Override public EAttribute getMaterial_DisposalEnergy() { return (EAttribute) materialEClass.getEStructuralFeatures().get(8); } /** * * * @generated */ @Override public EAttribute getMaterial_DisposalCarbon() { return (EAttribute) materialEClass.getEStructuralFeatures().get(9); } /** * * * @generated */ @Override public EAttribute getMaterial_DisposalDescription() { return (EAttribute) materialEClass.getEStructuralFeatures().get(10); } /** * * * @generated */ @Override public EReference getMaterial_Category() { return (EReference) materialEClass.getEStructuralFeatures().get(11); } /** * * * @generated */ @Override public EClass getConstructionCategory() { return constructionCategoryEClass; } /** * * * @generated */ @Override public EAttribute getConstructionCategory_Name() { return (EAttribute) constructionCategoryEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getConstructionCategory_Constructions() { return (EReference) constructionCategoryEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getConstruction() { return constructionEClass; } /** * * * @generated */ @Override public EAttribute getConstruction_ConstructionId() { return (EAttribute) constructionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getConstruction_Name() { return (EAttribute) constructionEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getConstruction_Layers() { return (EReference) constructionEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getLayer() { return layerEClass; } /** * * * @generated */ @Override public EReference getLayer_Material() { return (EReference) layerEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getLayer_Thickness() { return (EAttribute) layerEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public BuildingPhysicsFactory getBuildingPhysicsFactory() { return (BuildingPhysicsFactory) getEFactoryInstance(); } /** * * * @generated */ private boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * * * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features buildingPhysicsCatalogEClass = createEClass(BUILDING_PHYSICS_CATALOG); createEReference(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__WINDOWS); createEAttribute(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__NAME); createEAttribute(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__DESCRIPTION); createEAttribute(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__SOURCE); createEReference(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__MATERIAL_CATEGORIES); createEReference(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__CONSTRUCTION_CATEGORIES); windowTypeEClass = createEClass(WINDOW_TYPE); createEAttribute(windowTypeEClass, WINDOW_TYPE__WINDOW_TYPE_ID); createEAttribute(windowTypeEClass, WINDOW_TYPE__NAME); createEAttribute(windowTypeEClass, WINDOW_TYPE__UVALUE); createEAttribute(windowTypeEClass, WINDOW_TYPE__GVALUE); createEAttribute(windowTypeEClass, WINDOW_TYPE__GLAZING_NUMBER); createEAttribute(windowTypeEClass, WINDOW_TYPE__FRAME_RATIO); createEAttribute(windowTypeEClass, WINDOW_TYPE__EMBODIED_ENERGY); createEAttribute(windowTypeEClass, WINDOW_TYPE__EMBODIED_CARBON); createEAttribute(windowTypeEClass, WINDOW_TYPE__CONSTRUCTION_DESCRIPTION); createEAttribute(windowTypeEClass, WINDOW_TYPE__DISPOSAL_ENERGY); createEAttribute(windowTypeEClass, WINDOW_TYPE__DISPOSAL_CARBON); createEAttribute(windowTypeEClass, WINDOW_TYPE__DISPOSAL_DESCRIPTION); windowCategoryEClass = createEClass(WINDOW_CATEGORY); createEReference(windowCategoryEClass, WINDOW_CATEGORY__WINDOW_TYPES); materialCategoryEClass = createEClass(MATERIAL_CATEGORY); createEReference(materialCategoryEClass, MATERIAL_CATEGORY__MATERIALS); createEAttribute(materialCategoryEClass, MATERIAL_CATEGORY__NAME); materialEClass = createEClass(MATERIAL); createEAttribute(materialEClass, MATERIAL__MATERIAL_ID); createEAttribute(materialEClass, MATERIAL__NAME); createEAttribute(materialEClass, MATERIAL__DENSITY); createEAttribute(materialEClass, MATERIAL__HEAT_CAPACITY); createEAttribute(materialEClass, MATERIAL__CONDUCTIVITY); createEAttribute(materialEClass, MATERIAL__EMBODIED_ENERGY); createEAttribute(materialEClass, MATERIAL__EMBODIED_CARBON); createEAttribute(materialEClass, MATERIAL__CONSTRUCTION_DESCRIPTION); createEAttribute(materialEClass, MATERIAL__DISPOSAL_ENERGY); createEAttribute(materialEClass, MATERIAL__DISPOSAL_CARBON); createEAttribute(materialEClass, MATERIAL__DISPOSAL_DESCRIPTION); createEReference(materialEClass, MATERIAL__CATEGORY); constructionCategoryEClass = createEClass(CONSTRUCTION_CATEGORY); createEAttribute(constructionCategoryEClass, CONSTRUCTION_CATEGORY__NAME); createEReference(constructionCategoryEClass, CONSTRUCTION_CATEGORY__CONSTRUCTIONS); constructionEClass = createEClass(CONSTRUCTION); createEAttribute(constructionEClass, CONSTRUCTION__CONSTRUCTION_ID); createEAttribute(constructionEClass, CONSTRUCTION__NAME); createEReference(constructionEClass, CONSTRUCTION__LAYERS); layerEClass = createEClass(LAYER); createEReference(layerEClass, LAYER__MATERIAL); createEAttribute(layerEClass, LAYER__THICKNESS); } /** * * * @generated */ private boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * * * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages QuantitiesPackage theQuantitiesPackage = (QuantitiesPackage) EPackage.Registry.INSTANCE .getEPackage(QuantitiesPackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes // Initialize classes, features, and operations; add parameters initEClass(buildingPhysicsCatalogEClass, BuildingPhysicsCatalog.class, "BuildingPhysicsCatalog", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getBuildingPhysicsCatalog_Windows(), this.getWindowCategory(), null, "windows", null, 1, 1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBuildingPhysicsCatalog_Name(), ecorePackage.getEString(), "name", null, 1, 1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBuildingPhysicsCatalog_Description(), ecorePackage.getEString(), "description", null, 0, 1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getBuildingPhysicsCatalog_Source(), ecorePackage.getEString(), "source", null, 0, 1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getBuildingPhysicsCatalog_MaterialCategories(), this.getMaterialCategory(), null, "materialCategories", null, 0, -1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getBuildingPhysicsCatalog_ConstructionCategories(), this.getConstructionCategory(), null, "constructionCategories", null, 0, -1, BuildingPhysicsCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(windowTypeEClass, WindowType.class, "WindowType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getWindowType_WindowTypeId(), ecorePackage.getEString(), "windowTypeId", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_Name(), ecorePackage.getEString(), "name", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_UValue(), theQuantitiesPackage.getQuantityDouble(), "uValue", "W/(m\u00b2*K)", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_GValue(), ecorePackage.getEDouble(), "gValue", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_GlazingNumber(), ecorePackage.getEInt(), "glazingNumber", "1", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_FrameRatio(), theQuantitiesPackage.getFraction(), "frameRatio", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_EmbodiedEnergy(), theQuantitiesPackage.getQuantityDouble(), "embodiedEnergy", "kW*h/m\u00b2", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_EmbodiedCarbon(), theQuantitiesPackage.getQuantityDouble(), "embodiedCarbon", "kgCO\u2082eq/m\u00b2", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_ConstructionDescription(), ecorePackage.getEString(), "constructionDescription", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_DisposalEnergy(), theQuantitiesPackage.getQuantityDouble(), "disposalEnergy", "kW*h/m\u00b2", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_DisposalCarbon(), theQuantitiesPackage.getQuantityDouble(), "disposalCarbon", "kgCO\u2082eq/m\u00b2", 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getWindowType_DisposalDescription(), ecorePackage.getEString(), "disposalDescription", null, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(windowCategoryEClass, WindowCategory.class, "WindowCategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getWindowCategory_WindowTypes(), this.getWindowType(), null, "windowTypes", null, 0, -1, WindowCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(materialCategoryEClass, MaterialCategory.class, "MaterialCategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getMaterialCategory_Materials(), this.getMaterial(), this.getMaterial_Category(), "materials", null, 0, -1, MaterialCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterialCategory_Name(), ecorePackage.getEString(), "name", null, 1, 1, MaterialCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(materialEClass, Material.class, "Material", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMaterial_MaterialId(), ecorePackage.getEString(), "materialId", null, 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_Name(), ecorePackage.getEString(), "name", null, 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_Density(), theQuantitiesPackage.getQuantityDouble(), "density", "kg/m\u00b3", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_HeatCapacity(), theQuantitiesPackage.getQuantityDouble(), "heatCapacity", "J/K", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_Conductivity(), theQuantitiesPackage.getQuantityDouble(), "conductivity", "W/(m*K)", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_EmbodiedEnergy(), theQuantitiesPackage.getQuantityDouble(), "embodiedEnergy", "kW*h/kg", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_EmbodiedCarbon(), theQuantitiesPackage.getQuantityDouble(), "embodiedCarbon", "kgCO\u2082eq/kg", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_ConstructionDescription(), ecorePackage.getEString(), "constructionDescription", null, 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_DisposalEnergy(), theQuantitiesPackage.getQuantityDouble(), "disposalEnergy", "kW*h/kg", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_DisposalCarbon(), theQuantitiesPackage.getQuantityDouble(), "disposalCarbon", "kgCO\u2082eq/kg", 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getMaterial_DisposalDescription(), ecorePackage.getEString(), "disposalDescription", null, 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMaterial_Category(), this.getMaterialCategory(), this.getMaterialCategory_Materials(), "category", null, 1, 1, Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); initEClass(constructionCategoryEClass, ConstructionCategory.class, "ConstructionCategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getConstructionCategory_Name(), ecorePackage.getEString(), "name", null, 1, 1, ConstructionCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getConstructionCategory_Constructions(), this.getConstruction(), null, "constructions", null, 0, -1, ConstructionCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(constructionEClass, Construction.class, "Construction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getConstruction_ConstructionId(), ecorePackage.getEString(), "constructionId", null, 1, 1, Construction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getConstruction_Name(), ecorePackage.getEString(), "name", null, 1, 1, Construction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getConstruction_Layers(), this.getLayer(), null, "layers", null, 1, -1, Construction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(layerEClass, Layer.class, "Layer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getLayer_Material(), this.getMaterial(), null, "material", null, 1, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); getLayer_Material().getEKeys().add(this.getMaterial_MaterialId()); initEAttribute(getLayer_Thickness(), theQuantitiesPackage.getQuantityDouble(), "thickness", "m", 1, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); } } //BuildingPhysicsPackageImpl