/**
*/
package de.hftstuttgart.buildingphysics;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Construction Category</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.ConstructionCategory#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.ConstructionCategory#getMountings <em>Mountings</em>}</li>
* </ul>
*
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getConstructionCategory()
* @model
* @generated
*/
public interface ConstructionCategory extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getConstructionCategory_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.ConstructionCategory#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Mountings</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.buildingphysics.Mounting}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Mountings</em>' containment reference list.
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getConstructionCategory_Mountings()
* @model containment="true"
* @generated
*/
EList<Mounting> getMountings();
} // ConstructionCategory
/**
*/
package de.hftstuttgart.buildingphysics;
import de.hftstuttgart.cityunits.model.NullableQuantity;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Layer</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.Layer#getMaterial <em>Material</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Layer#getThickness <em>Thickness</em>}</li>
* </ul>
*
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLayer()
* @model
* @generated
*/
public interface Layer extends EObject {
/**
* Returns the value of the '<em><b>Material</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Material</em>' reference.
* @see #setMaterial(Material)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLayer_Material()
* @model keys="materialId" required="true"
* @generated
*/
Material getMaterial();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Layer#getMaterial <em>Material</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Material</em>' reference.
* @see #getMaterial()
* @generated
*/
void setMaterial(Material value);
/**
* Returns the value of the '<em><b>Thickness</b></em>' attribute.
* The default value is <code>"m"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Thickness</em>' attribute.
* @see #setThickness(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLayer_Thickness()
* @model default="m" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getThickness();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Layer#getThickness <em>Thickness</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Thickness</em>' attribute.
* @see #getThickness()
* @generated
*/
void setThickness(NullableQuantity value);
} // Layer
/**
*/
package de.hftstuttgart.buildingphysics;
import de.hftstuttgart.cityunits.model.NullableQuantity;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Life Cycle</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getEmbodiedEnergy <em>Embodied Energy</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getEmbodiedCarbon <em>Embodied Carbon</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getConstructionDescription <em>Construction Description</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalEnergy <em>Disposal Energy</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalCarbon <em>Disposal Carbon</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalDescription <em>Disposal Description</em>}</li>
* </ul>
*
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle()
* @model
* @generated
*/
public interface LifeCycle extends EObject {
/**
* Returns the value of the '<em><b>Embodied Energy</b></em>' attribute.
* The default value is <code>"kW*h"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Embodied Energy</em>' attribute.
* @see #setEmbodiedEnergy(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_EmbodiedEnergy()
* @model default="kW*h" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getEmbodiedEnergy();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getEmbodiedEnergy <em>Embodied Energy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Embodied Energy</em>' attribute.
* @see #getEmbodiedEnergy()
* @generated
*/
void setEmbodiedEnergy(NullableQuantity value);
/**
* Returns the value of the '<em><b>Embodied Carbon</b></em>' attribute.
* The default value is <code>"kg"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Embodied Carbon</em>' attribute.
* @see #setEmbodiedCarbon(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_EmbodiedCarbon()
* @model default="kg" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getEmbodiedCarbon();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getEmbodiedCarbon <em>Embodied Carbon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Embodied Carbon</em>' attribute.
* @see #getEmbodiedCarbon()
* @generated
*/
void setEmbodiedCarbon(NullableQuantity value);
/**
* Returns the value of the '<em><b>Construction Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Construction Description</em>' attribute.
* @see #setConstructionDescription(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_ConstructionDescription()
* @model required="true"
* @generated
*/
String getConstructionDescription();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getConstructionDescription <em>Construction Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Construction Description</em>' attribute.
* @see #getConstructionDescription()
* @generated
*/
void setConstructionDescription(String value);
/**
* Returns the value of the '<em><b>Disposal Energy</b></em>' attribute.
* The default value is <code>"kW*h"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Disposal Energy</em>' attribute.
* @see #setDisposalEnergy(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_DisposalEnergy()
* @model default="kW*h" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getDisposalEnergy();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalEnergy <em>Disposal Energy</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Disposal Energy</em>' attribute.
* @see #getDisposalEnergy()
* @generated
*/
void setDisposalEnergy(NullableQuantity value);
/**
* Returns the value of the '<em><b>Disposal Carbon</b></em>' attribute.
* The default value is <code>"kg"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Disposal Carbon</em>' attribute.
* @see #setDisposalCarbon(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_DisposalCarbon()
* @model default="kg" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated
*/
NullableQuantity getDisposalCarbon();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalCarbon <em>Disposal Carbon</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Disposal Carbon</em>' attribute.
* @see #getDisposalCarbon()
* @generated
*/
void setDisposalCarbon(NullableQuantity value);
/**
* Returns the value of the '<em><b>Disposal Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Disposal Description</em>' attribute.
* @see #setDisposalDescription(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getLifeCycle_DisposalDescription()
* @model required="true"
* @generated
*/
String getDisposalDescription();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.LifeCycle#getDisposalDescription <em>Disposal Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Disposal Description</em>' attribute.
* @see #getDisposalDescription()
* @generated
*/
void setDisposalDescription(String value);
} // LifeCycle
......@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.Material#getId <em>Id</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Material#getMaterialId <em>Material Id</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Material#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Material#getDensity <em>Density</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Material#getHeatCapacity <em>Heat Capacity</em>}</li>
......@@ -34,26 +34,26 @@ import org.eclipse.emf.ecore.EObject;
*/
public interface Material extends EObject {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* Returns the value of the '<em><b>Material Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(long)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterial_Id()
* @return the value of the '<em>Material Id</em>' attribute.
* @see #setMaterialId(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterial_MaterialId()
* @model id="true" required="true"
* @generated
*/
long getId();
String getMaterialId();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Material#getId <em>Id</em>}' attribute.
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Material#getMaterialId <em>Material Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @param value the new value of the '<em>Material Id</em>' attribute.
* @see #getMaterialId()
* @generated
*/
void setId(long value);
void setMaterialId(String value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
......
......@@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.EList;
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.MaterialCatalog#getMaterialCategories <em>Material Categories</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.MaterialCatalog#getConstructionCategories <em>Construction Categories</em>}</li>
* </ul>
*
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterialCatalog()
......@@ -33,4 +34,16 @@ public interface MaterialCatalog extends Catalog {
*/
EList<MaterialCategory> getMaterialCategories();
/**
* Returns the value of the '<em><b>Construction Categories</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.buildingphysics.ConstructionCategory}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Construction Categories</em>' containment reference list.
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterialCatalog_ConstructionCategories()
* @model containment="true" required="true"
* @generated
*/
EList<ConstructionCategory> getConstructionCategories();
} // MaterialCatalog
......@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.MaterialCategory#getMaterial <em>Material</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.MaterialCategory#getMaterials <em>Materials</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.MaterialCategory#getName <em>Name</em>}</li>
* </ul>
*
......@@ -25,16 +25,16 @@ import org.eclipse.emf.ecore.EObject;
*/
public interface MaterialCategory extends EObject {
/**
* Returns the value of the '<em><b>Material</b></em>' containment reference list.
* Returns the value of the '<em><b>Materials</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.buildingphysics.Material}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Material</em>' containment reference list.
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterialCategory_Material()
* @return the value of the '<em>Materials</em>' containment reference list.
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMaterialCategory_Materials()
* @model containment="true"
* @generated
*/
EList<Material> getMaterial();
EList<Material> getMaterials();
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
......
/**
*/
package de.hftstuttgart.buildingphysics;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Mounting</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.Mounting#getMountingId <em>Mounting Id</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Mounting#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.Mounting#getLayers <em>Layers</em>}</li>
* </ul>
*
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMounting()
* @model
* @generated
*/
public interface Mounting extends EObject {
/**
* Returns the value of the '<em><b>Mounting Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Mounting Id</em>' attribute.
* @see #setMountingId(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMounting_MountingId()
* @model id="true" required="true"
* @generated
*/
String getMountingId();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Mounting#getMountingId <em>Mounting Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mounting Id</em>' attribute.
* @see #getMountingId()
* @generated
*/
void setMountingId(String value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMounting_Name()
* @model required="true"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.Mounting#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Layers</b></em>' containment reference list.
* The list contents are of type {@link de.hftstuttgart.buildingphysics.Layer}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Layers</em>' containment reference list.
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getMounting_Layers()
* @model containment="true" required="true"
* @generated
*/
EList<Layer> getLayers();
} // Mounting
......@@ -3,6 +3,7 @@
package de.hftstuttgart.buildingphysics;
import de.hftstuttgart.cityunits.model.NullableQuantity;
import org.eclipse.emf.ecore.EObject;
/**
......@@ -14,7 +15,7 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.WindowType#getId <em>Id</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.WindowType#getWindowTypeId <em>Window Type Id</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.WindowType#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.WindowType#getUValue <em>UValue</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.WindowType#getGValue <em>GValue</em>}</li>
......@@ -34,26 +35,26 @@ import org.eclipse.emf.ecore.EObject;
*/
public interface WindowType extends EObject {
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* Returns the value of the '<em><b>Window Type Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(int)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getWindowType_Id()
* @return the value of the '<em>Window Type Id</em>' attribute.
* @see #setWindowTypeId(String)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getWindowType_WindowTypeId()
* @model id="true" required="true"
* @generated
*/
int getId();
String getWindowTypeId();
/**
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.WindowType#getId <em>Id</em>}' attribute.
* Sets the value of the '{@link de.hftstuttgart.buildingphysics.WindowType#getWindowTypeId <em>Window Type Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @param value the new value of the '<em>Window Type Id</em>' attribute.
* @see #getWindowTypeId()
* @generated
*/
void setId(int value);
void setWindowTypeId(String value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
......
......@@ -68,6 +68,12 @@ public class BuildingPhysicsFactoryImpl extends EFactoryImpl implements Building
return createMaterialCategory();
case BuildingPhysicsPackage.MATERIAL:
return createMaterial();
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY:
return createConstructionCategory();
case BuildingPhysicsPackage.MOUNTING:
return createMounting();
case BuildingPhysicsPackage.LAYER:
return createLayer();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
......@@ -139,6 +145,39 @@ public class BuildingPhysicsFactoryImpl extends EFactoryImpl implements Building
return material;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public ConstructionCategory createConstructionCategory() {
ConstructionCategoryImpl constructionCategory = new ConstructionCategoryImpl();
return constructionCategory;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Mounting createMounting() {
MountingImpl mounting = new MountingImpl();
return mounting;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Layer createLayer() {
LayerImpl layer = new LayerImpl();
return layer;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......
......@@ -6,9 +6,12 @@ import de.hftstuttgart.buildingphysics.BuildingPhysicsCatalog;
import de.hftstuttgart.buildingphysics.BuildingPhysicsFactory;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.Catalog;
import de.hftstuttgart.buildingphysics.ConstructionCategory;
import de.hftstuttgart.buildingphysics.Layer;
import de.hftstuttgart.buildingphysics.Material;
import de.hftstuttgart.buildingphysics.MaterialCatalog;
import de.hftstuttgart.buildingphysics.MaterialCategory;
import de.hftstuttgart.buildingphysics.Mounting;
import de.hftstuttgart.buildingphysics.WindowCatalog;
import de.hftstuttgart.buildingphysics.WindowType;
......@@ -77,6 +80,27 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
*/
private EClass materialEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass constructionCategoryEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass mountingEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass layerEClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
......@@ -200,7 +224,7 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
* @generated
*/
@Override
public EAttribute getWindowType_Id() {
public EAttribute getWindowType_WindowTypeId() {
return (EAttribute) windowTypeEClass.getEStructuralFeatures().get(0);
}
......@@ -394,6 +418,16 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
return (EReference) materialCatalogEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EReference getMaterialCatalog_ConstructionCategories() {
return (EReference) materialCatalogEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......@@ -410,7 +444,7 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
* @generated
*/
@Override
public EReference getMaterialCategory_Material() {
public EReference getMaterialCategory_Materials() {
return (EReference) materialCategoryEClass.getEStructuralFeatures().get(0);
}
......@@ -440,7 +474,7 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
* @generated
*/
@Override
public EAttribute getMaterial_Id() {
public EAttribute getMaterial_MaterialId() {
return (EAttribute) materialEClass.getEStructuralFeatures().get(0);
}
......@@ -544,6 +578,106 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
return (EAttribute) materialEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EClass getConstructionCategory() {
return constructionCategoryEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EAttribute getConstructionCategory_Name() {
return (EAttribute) constructionCategoryEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EReference getConstructionCategory_Mountings() {
return (EReference) constructionCategoryEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EClass getMounting() {
return mountingEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EAttribute getMounting_MountingId() {
return (EAttribute) mountingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EAttribute getMounting_Name() {
return (EAttribute) mountingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EReference getMounting_Layers() {
return (EReference) mountingEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EClass getLayer() {
return layerEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EReference getLayer_Material() {
return (EReference) layerEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EAttribute getLayer_Thickness() {
return (EAttribute) layerEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......@@ -580,7 +714,7 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
createEReference(buildingPhysicsCatalogEClass, BUILDING_PHYSICS_CATALOG__MATERIAL_CATALOG);
windowTypeEClass = createEClass(WINDOW_TYPE);
createEAttribute(windowTypeEClass, WINDOW_TYPE__ID);
createEAttribute(windowTypeEClass, WINDOW_TYPE__WINDOW_TYPE_ID);
createEAttribute(windowTypeEClass, WINDOW_TYPE__NAME);
createEAttribute(windowTypeEClass, WINDOW_TYPE__UVALUE);
createEAttribute(windowTypeEClass, WINDOW_TYPE__GVALUE);
......@@ -603,13 +737,14 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
materialCatalogEClass = createEClass(MATERIAL_CATALOG);
createEReference(materialCatalogEClass, MATERIAL_CATALOG__MATERIAL_CATEGORIES);
createEReference(materialCatalogEClass, MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES);
materialCategoryEClass = createEClass(MATERIAL_CATEGORY);
createEReference(materialCategoryEClass, MATERIAL_CATEGORY__MATERIAL);
createEReference(materialCategoryEClass, MATERIAL_CATEGORY__MATERIALS);
createEAttribute(materialCategoryEClass, MATERIAL_CATEGORY__NAME);
materialEClass = createEClass(MATERIAL);
createEAttribute(materialEClass, MATERIAL__ID);
createEAttribute(materialEClass, MATERIAL__MATERIAL_ID);
createEAttribute(materialEClass, MATERIAL__NAME);
createEAttribute(materialEClass, MATERIAL__DENSITY);
createEAttribute(materialEClass, MATERIAL__HEAT_CAPACITY);
......@@ -620,6 +755,19 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
createEAttribute(materialEClass, MATERIAL__DISPOSAL_ENERGY);
createEAttribute(materialEClass, MATERIAL__DISPOSAL_CARBON);
createEAttribute(materialEClass, MATERIAL__DISPOSAL_DESCRIPTION);
constructionCategoryEClass = createEClass(CONSTRUCTION_CATEGORY);
createEAttribute(constructionCategoryEClass, CONSTRUCTION_CATEGORY__NAME);
createEReference(constructionCategoryEClass, CONSTRUCTION_CATEGORY__MOUNTINGS);
mountingEClass = createEClass(MOUNTING);
createEAttribute(mountingEClass, MOUNTING__MOUNTING_ID);
createEAttribute(mountingEClass, MOUNTING__NAME);
createEReference(mountingEClass, MOUNTING__LAYERS);
layerEClass = createEClass(LAYER);
createEReference(layerEClass, LAYER__MATERIAL);
createEAttribute(layerEClass, LAYER__THICKNESS);
}
/**
......@@ -673,8 +821,9 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
initEClass(windowTypeEClass, WindowType.class, "WindowType", !IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getWindowType_Id(), ecorePackage.getEInt(), "id", null, 1, 1, WindowType.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
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,
......@@ -726,10 +875,13 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
initEReference(getMaterialCatalog_MaterialCategories(), this.getMaterialCategory(), null, "materialCategories",
null, 0, -1, MaterialCatalog.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMaterialCatalog_ConstructionCategories(), this.getConstructionCategory(), null,
"constructionCategories", null, 1, -1, MaterialCatalog.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_Material(), this.getMaterial(), null, "material", null, 0, -1,
initEReference(getMaterialCategory_Materials(), this.getMaterial(), null, "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,
......@@ -738,8 +890,8 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
initEClass(materialEClass, Material.class, "Material", !IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMaterial_Id(), ecorePackage.getELong(), "id", null, 1, 1, Material.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
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,
......@@ -770,6 +922,34 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
Material.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, 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_Mountings(), this.getMounting(), null, "mountings", 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(mountingEClass, Mounting.class, "Mounting", !IS_ABSTRACT, !IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMounting_MountingId(), ecorePackage.getEString(), "mountingId", null, 1, 1, Mounting.class,
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMounting_Name(), ecorePackage.getEString(), "name", null, 1, 1, Mounting.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMounting_Layers(), this.getLayer(), null, "layers", null, 1, -1, Mounting.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);
}
......
/**
*/
package de.hftstuttgart.buildingphysics.impl;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.ConstructionCategory;
import de.hftstuttgart.buildingphysics.Mounting;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Construction Category</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.impl.ConstructionCategoryImpl#getName <em>Name</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.impl.ConstructionCategoryImpl#getMountings <em>Mountings</em>}</li>
* </ul>
*
* @generated
*/
public class ConstructionCategoryImpl extends MinimalEObjectImpl.Container implements ConstructionCategory {
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The cached value of the '{@link #getMountings() <em>Mountings</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMountings()
* @generated
* @ordered
*/
protected EList<Mounting> mountings;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ConstructionCategoryImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return BuildingPhysicsPackage.Literals.CONSTRUCTION_CATEGORY;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME,
oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EList<Mounting> getMountings() {
if (mountings == null) {
mountings = new EObjectContainmentEList<Mounting>(Mounting.class, this,
BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS);
}
return mountings;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
return ((InternalEList<?>) getMountings()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME:
return getName();
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
return getMountings();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME:
setName((String) newValue);
return;
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
getMountings().clear();
getMountings().addAll((Collection<? extends Mounting>) newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME:
setName(NAME_EDEFAULT);
return;
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
getMountings().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case BuildingPhysicsPackage.CONSTRUCTION_CATEGORY__MOUNTINGS:
return mountings != null && !mountings.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy())
return super.toString();
StringBuilder result = new StringBuilder(super.toString());
result.append(" (name: ");
result.append(name);
result.append(')');
return result.toString();
}
} //ConstructionCategoryImpl
......@@ -3,6 +3,7 @@
package de.hftstuttgart.buildingphysics.impl;
import de.hftstuttgart.buildingphysics.BuildingPhysicsPackage;
import de.hftstuttgart.buildingphysics.ConstructionCategory;
import de.hftstuttgart.buildingphysics.MaterialCatalog;
import de.hftstuttgart.buildingphysics.MaterialCategory;
......@@ -27,6 +28,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
* </p>
* <ul>
* <li>{@link de.hftstuttgart.buildingphysics.impl.MaterialCatalogImpl#getMaterialCategories <em>Material Categories</em>}</li>
* <li>{@link de.hftstuttgart.buildingphysics.impl.MaterialCatalogImpl#getConstructionCategories <em>Construction Categories</em>}</li>
* </ul>
*
* @generated
......@@ -42,6 +44,16 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
*/
protected EList<MaterialCategory> materialCategories;
/**
* The cached value of the '{@link #getConstructionCategories() <em>Construction Categories</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getConstructionCategories()
* @generated
* @ordered
*/
protected EList<ConstructionCategory> constructionCategories;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......@@ -75,6 +87,20 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
return materialCategories;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EList<ConstructionCategory> getConstructionCategories() {
if (constructionCategories == null) {
constructionCategories = new EObjectContainmentEList<ConstructionCategory>(ConstructionCategory.class, this,
BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES);
}
return constructionCategories;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
......@@ -85,6 +111,8 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
switch (featureID) {
case BuildingPhysicsPackage.MATERIAL_CATALOG__MATERIAL_CATEGORIES:
return ((InternalEList<?>) getMaterialCategories()).basicRemove(otherEnd, msgs);
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
return ((InternalEList<?>) getConstructionCategories()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
......@@ -99,6 +127,8 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
switch (featureID) {
case BuildingPhysicsPackage.MATERIAL_CATALOG__MATERIAL_CATEGORIES:
return getMaterialCategories();
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
return getConstructionCategories();
}
return super.eGet(featureID, resolve, coreType);
}
......@@ -116,6 +146,10 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
getMaterialCategories().clear();
getMaterialCategories().addAll((Collection<? extends MaterialCategory>) newValue);
return;
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
getConstructionCategories().clear();
getConstructionCategories().addAll((Collection<? extends ConstructionCategory>) newValue);
return;
}
super.eSet(featureID, newValue);
}
......@@ -131,6 +165,9 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
case BuildingPhysicsPackage.MATERIAL_CATALOG__MATERIAL_CATEGORIES:
getMaterialCategories().clear();
return;
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
getConstructionCategories().clear();
return;
}
super.eUnset(featureID);
}
......@@ -145,6 +182,8 @@ public class MaterialCatalogImpl extends CatalogImpl implements MaterialCatalog
switch (featureID) {
case BuildingPhysicsPackage.MATERIAL_CATALOG__MATERIAL_CATEGORIES:
return materialCategories != null && !materialCategories.isEmpty();
case BuildingPhysicsPackage.MATERIAL_CATALOG__CONSTRUCTION_CATEGORIES:
return constructionCategories != null && !constructionCategories.isEmpty();
}
return super.eIsSet(featureID);
}
......