initial commit

This commit is contained in:
ne_rahim 2023-08-03 12:13:52 -04:00
parent a3b438ce67
commit e10b3b88a7
4 changed files with 1325 additions and 0 deletions

11
.project Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>facade_data_model</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="FacadeDataCatalog01" nsURI="http://www.example.org/FacadeDataCatalog01"
nsPrefix="FacadeDataCatalog01">
<eClassifiers xsi:type="ecore:EClass" name="WindowType">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="UValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="GlazingLayersNumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="FrameType: EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="InsulationType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="FacadeCategories">
<eLiterals name="Smart Skin Facade "/>
<eLiterals name="Kinetic Facade" value="1"/>
<eLiterals name="Vertical greenery on Facade" value="2"/>
<eLiterals name="Solar Facade" value="3"/>
<eLiterals name="Double Skin Facade" value="4"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OutsideWallConstruction">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="layer" lowerBound="1" upperBound="-1"
eType="#//Layer"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FacadeType">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="material" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="thickness" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
defaultValueLiteral="0.0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wwr" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigDecimal"
defaultValueLiteral="0.0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="color" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hasBalcony" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hasArchitecturalDetails"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hasDecorativeElements"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="FrameTypes">
<eLiterals name="Wood"/>
<eLiterals name="Vinyl" value="1"/>
<eLiterals name="Fiberglass" value="2"/>
<eLiterals name="Aluminum" value="3"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Layer">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="thickness" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="material" lowerBound="1"
eType="#//ConstructionMaterial"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConstructionMaterial">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="materialId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="density" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
defaultValueLiteral="0.0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="haeatCapacity" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="uValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MaterialCategory">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="constructionMaterials"
upperBound="-1" eType="#//ConstructionMaterial" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FacadeCatalog">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="buildingAtributes" upperBound="-1"
eType="#//BuildingAtribute" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="buildingWeatherdata" upperBound="-1"
eType="#//BuildingWeatherData" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="materialCategory" upperBound="-1"
eType="#//MaterialCategory" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="facadeType" lowerBound="1"
upperBound="-1" eType="#//FacadeType" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BuildingAtribute">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="buildingType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfFloors" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfElevation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="areaOfElevation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="constructionYear" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BuildingWeatherData">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="uID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="timestamp" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="valueType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WindowType">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="windowTypeId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="uValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="gValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
defaultValueLiteral="0.0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="glazingNumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frameRatio" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="frameType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="embodiedEnergy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="embodiedCarbon" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="constructionDescription"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="disposalEnergy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="disposalCarbon" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="disposalDescription" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="layer" lowerBound="1" upperBound="-1"
eType="#//Layer"/>
</eClassifiers>
</ecore:EPackage>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/Facade data catalog 01/src-gen" creationIcons="false"
editDirectory="/Facade data catalog 01.edit/src-gen" editorDirectory="/Facade data catalog 01.editor/src-gen"
modelPluginID="Facade_data_catalog_01" modelName="FacadeDataCatalog01" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
copyrightFields="false" operationReflection="true" importOrganizing="true">
<foreignModel>FacadeDataCatalog01.ecore</foreignModel>
<testsDirectory xsi:nil="true"/>
<genPackages prefix="FacadeDataCatalog01" basePackage="facade data catalog 01" disposableProviderFactory="true"
ecorePackage="FacadeDataCatalog01.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="FacadeDataCatalog01.ecore#//FacadeCategories">
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FacadeCategories/Smart%20Skin%20Facade%20"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FacadeCategories/Kinetic%20Facade"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FacadeCategories/Vertical%20greenery%20on%20Facade"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FacadeCategories/Solar%20Facade"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FacadeCategories/Double%20Skin%20Facade"/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="FacadeDataCatalog01.ecore#//FrameTypes">
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FrameTypes/Wood"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FrameTypes/Vinyl"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FrameTypes/Fiberglass"/>
<genEnumLiterals ecoreEnumLiteral="FacadeDataCatalog01.ecore#//FrameTypes/Aluminum"/>
</genEnums>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//WindowType">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType/Name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType/UValue"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType/GlazingLayersNumber"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType/FrameType%3A%20EString"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType/InsulationType"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//OutsideWallConstruction">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//OutsideWallConstruction/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//OutsideWallConstruction/description"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//OutsideWallConstruction/layer"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//FacadeType">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/material"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/thickness"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/wwr"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/color"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/hasBalcony"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/hasArchitecturalDetails"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeType/hasDecorativeElements"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//Layer">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//Layer/thickness"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//Layer/material"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//ConstructionMaterial">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//ConstructionMaterial/materialId"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//ConstructionMaterial/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//ConstructionMaterial/density"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//ConstructionMaterial/haeatCapacity"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//ConstructionMaterial/uValue"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//MaterialCategory">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//MaterialCategory/name"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//MaterialCategory/constructionMaterials"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//FacadeCatalog">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeCatalog/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//FacadeCatalog/description"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//FacadeCatalog/buildingAtributes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//FacadeCatalog/buildingWeatherdata"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//FacadeCatalog/materialCategory"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//FacadeCatalog/facadeType"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//BuildingAtribute">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingAtribute/buildingType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingAtribute/numberOfFloors"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingAtribute/numberOfElevation"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingAtribute/areaOfElevation"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingAtribute/constructionYear"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//BuildingWeatherData">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingWeatherData/uID"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingWeatherData/timestamp"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingWeatherData/value"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//BuildingWeatherData/valueType"/>
</genClasses>
<genClasses ecoreClass="FacadeDataCatalog01.ecore#//WindowType.1">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/windowTypeId"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/uValue"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/gValue"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/glazingNumber"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/frameRatio"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/frameType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/embodiedEnergy"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/embodiedCarbon"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/constructionDescription"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/disposalEnergy"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/disposalCarbon"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute FacadeDataCatalog01.ecore#//WindowType.1/disposalDescription"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FacadeDataCatalog01.ecore#//WindowType.1/layer"/>
</genClasses>
</genPackages>
</genmodel:GenModel>