Commit add2d0d7 authored by Kai-Holger Brassel's avatar Kai-Holger Brassel
Browse files

Use special characters in unit definitions

parent d013406b
...@@ -73,13 +73,13 @@ public interface WindowType extends EObject { ...@@ -73,13 +73,13 @@ public interface WindowType extends EObject {
/** /**
* Returns the value of the '<em><b>UValue</b></em>' attribute. * Returns the value of the '<em><b>UValue</b></em>' attribute.
* The default value is <code>"W/(m*m*K)"</code>. * The default value is <code>"W/(m\u00b2\u00b7K)"</code>.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>UValue</em>' attribute. * @return the value of the '<em>UValue</em>' attribute.
* @see #setUValue(NullableQuantity) * @see #setUValue(NullableQuantity)
* @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getWindowType_UValue() * @see de.hftstuttgart.buildingphysics.BuildingPhysicsPackage#getWindowType_UValue()
* @model default="W/(m*m*K)" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true" * @model default="W/(m\u00b2\u00b7K)" dataType="de.hftstuttgart.cityunits.model.quantities.QuantityDouble" required="true"
* @generated * @generated
*/ */
NullableQuantity getUValue(); NullableQuantity getUValue();
......
...@@ -545,8 +545,8 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building ...@@ -545,8 +545,8 @@ public class BuildingPhysicsPackageImpl extends EPackageImpl implements Building
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); !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, 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); !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getWindowType_UValue(), theQuantitiesPackage.getQuantityDouble(), "uValue", "W/(m*m*K)", 1, 1, initEAttribute(getWindowType_UValue(), theQuantitiesPackage.getQuantityDouble(), "uValue", "W/(m\u00b2\u00b7K)",
WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, 1, 1, WindowType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED); !IS_DERIVED, IS_ORDERED);
initEAttribute(getWindowType_GValue(), ecorePackage.getEDouble(), "gValue", null, 1, 1, WindowType.class, 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); !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
......
...@@ -82,7 +82,7 @@ public class WindowTypeImpl extends MinimalEObjectImpl.Container implements Wind ...@@ -82,7 +82,7 @@ public class WindowTypeImpl extends MinimalEObjectImpl.Container implements Wind
* @ordered * @ordered
*/ */
protected static final NullableQuantity UVALUE_EDEFAULT = (NullableQuantity) QuantitiesFactory.eINSTANCE protected static final NullableQuantity UVALUE_EDEFAULT = (NullableQuantity) QuantitiesFactory.eINSTANCE
.createFromString(QuantitiesPackage.eINSTANCE.getQuantityDouble(), "W/(m*m*K)"); .createFromString(QuantitiesPackage.eINSTANCE.getQuantityDouble(), "W/(m\u00b2\u00b7K)");
/** /**
* The cached value of the '{@link #getUValue() <em>UValue</em>}' attribute. * The cached value of the '{@link #getUValue() <em>UValue</em>}' attribute.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment