[552] | 1 | /** |
---|
| 2 | * <copyright> |
---|
| 3 | * </copyright> |
---|
| 4 | * |
---|
| 5 | * $Id$ |
---|
| 6 | */ |
---|
| 7 | package PhysicalQuantities; |
---|
| 8 | |
---|
| 9 | import org.eclipse.emf.common.util.EList; |
---|
| 10 | |
---|
| 11 | import org.eclipse.emf.ecore.EObject; |
---|
| 12 | |
---|
| 13 | /** |
---|
| 14 | * <!-- begin-user-doc --> |
---|
| 15 | * A representation of the model object '<em><b>Quantity</b></em>'. |
---|
| 16 | * <!-- end-user-doc --> |
---|
| 17 | * |
---|
| 18 | * <p> |
---|
| 19 | * The following features are supported: |
---|
| 20 | * <ul> |
---|
| 21 | * <li>{@link PhysicalQuantities.Quantity#getUnit <em>Unit</em>}</li> |
---|
| 22 | * <li>{@link PhysicalQuantities.Quantity#getAlternativeUnits <em>Alternative Units</em>}</li> |
---|
| 23 | * <li>{@link PhysicalQuantities.Quantity#getDerivedUnits <em>Derived Units</em>}</li> |
---|
| 24 | * <li>{@link PhysicalQuantities.Quantity#getName <em>Name</em>}</li> |
---|
| 25 | * <li>{@link PhysicalQuantities.Quantity#getDescriptiveName <em>Descriptive Name</em>}</li> |
---|
| 26 | * <li>{@link PhysicalQuantities.Quantity#getSymbol <em>Symbol</em>}</li> |
---|
| 27 | * </ul> |
---|
| 28 | * </p> |
---|
| 29 | * |
---|
| 30 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity() |
---|
| 31 | * @model |
---|
| 32 | * @generated |
---|
| 33 | */ |
---|
| 34 | public interface Quantity extends EObject { |
---|
| 35 | /** |
---|
| 36 | * Returns the value of the '<em><b>Unit</b></em>' containment reference. |
---|
| 37 | * <!-- begin-user-doc --> |
---|
| 38 | * <p> |
---|
| 39 | * If the meaning of the '<em>Unit</em>' containment reference isn't clear, |
---|
| 40 | * there really should be more of a description here... |
---|
| 41 | * </p> |
---|
| 42 | * <!-- end-user-doc --> |
---|
| 43 | * @return the value of the '<em>Unit</em>' containment reference. |
---|
| 44 | * @see #setUnit(Unit) |
---|
| 45 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_Unit() |
---|
| 46 | * @model containment="true" |
---|
| 47 | * @generated |
---|
| 48 | */ |
---|
| 49 | Unit getUnit(); |
---|
| 50 | |
---|
| 51 | /** |
---|
| 52 | * Sets the value of the '{@link PhysicalQuantities.Quantity#getUnit <em>Unit</em>}' containment reference. |
---|
| 53 | * <!-- begin-user-doc --> |
---|
| 54 | * <!-- end-user-doc --> |
---|
| 55 | * @param value the new value of the '<em>Unit</em>' containment reference. |
---|
| 56 | * @see #getUnit() |
---|
| 57 | * @generated |
---|
| 58 | */ |
---|
| 59 | void setUnit(Unit value); |
---|
| 60 | |
---|
| 61 | /** |
---|
| 62 | * Returns the value of the '<em><b>Alternative Units</b></em>' containment reference. |
---|
| 63 | * <!-- begin-user-doc --> |
---|
| 64 | * <p> |
---|
| 65 | * If the meaning of the '<em>Alternative Units</em>' containment reference isn't clear, |
---|
| 66 | * there really should be more of a description here... |
---|
| 67 | * </p> |
---|
| 68 | * <!-- end-user-doc --> |
---|
| 69 | * @return the value of the '<em>Alternative Units</em>' containment reference. |
---|
| 70 | * @see #setAlternativeUnits(AlternativeUnit) |
---|
| 71 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_AlternativeUnits() |
---|
| 72 | * @model containment="true" |
---|
| 73 | * @generated |
---|
| 74 | */ |
---|
| 75 | AlternativeUnit getAlternativeUnits(); |
---|
| 76 | |
---|
| 77 | /** |
---|
| 78 | * Sets the value of the '{@link PhysicalQuantities.Quantity#getAlternativeUnits <em>Alternative Units</em>}' containment reference. |
---|
| 79 | * <!-- begin-user-doc --> |
---|
| 80 | * <!-- end-user-doc --> |
---|
| 81 | * @param value the new value of the '<em>Alternative Units</em>' containment reference. |
---|
| 82 | * @see #getAlternativeUnits() |
---|
| 83 | * @generated |
---|
| 84 | */ |
---|
| 85 | void setAlternativeUnits(AlternativeUnit value); |
---|
| 86 | |
---|
| 87 | /** |
---|
| 88 | * Returns the value of the '<em><b>Derived Units</b></em>' containment reference list. |
---|
| 89 | * The list contents are of type {@link PhysicalQuantities.DerivedUnit}. |
---|
| 90 | * <!-- begin-user-doc --> |
---|
| 91 | * <p> |
---|
| 92 | * If the meaning of the '<em>Derived Units</em>' containment reference list isn't clear, |
---|
| 93 | * there really should be more of a description here... |
---|
| 94 | * </p> |
---|
| 95 | * <!-- end-user-doc --> |
---|
| 96 | * @return the value of the '<em>Derived Units</em>' containment reference list. |
---|
| 97 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_DerivedUnits() |
---|
| 98 | * @model containment="true" |
---|
| 99 | * @generated |
---|
| 100 | */ |
---|
| 101 | EList<DerivedUnit> getDerivedUnits(); |
---|
| 102 | |
---|
| 103 | /** |
---|
| 104 | * Returns the value of the '<em><b>Name</b></em>' attribute. |
---|
| 105 | * <!-- begin-user-doc --> |
---|
| 106 | * <p> |
---|
| 107 | * If the meaning of the '<em>Name</em>' attribute isn't clear, |
---|
| 108 | * there really should be more of a description here... |
---|
| 109 | * </p> |
---|
| 110 | * <!-- end-user-doc --> |
---|
| 111 | * @return the value of the '<em>Name</em>' attribute. |
---|
| 112 | * @see #setName(String) |
---|
| 113 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_Name() |
---|
| 114 | * @model |
---|
| 115 | * @generated |
---|
| 116 | */ |
---|
| 117 | String getName(); |
---|
| 118 | |
---|
| 119 | /** |
---|
| 120 | * Sets the value of the '{@link PhysicalQuantities.Quantity#getName <em>Name</em>}' attribute. |
---|
| 121 | * <!-- begin-user-doc --> |
---|
| 122 | * <!-- end-user-doc --> |
---|
| 123 | * @param value the new value of the '<em>Name</em>' attribute. |
---|
| 124 | * @see #getName() |
---|
| 125 | * @generated |
---|
| 126 | */ |
---|
| 127 | void setName(String value); |
---|
| 128 | |
---|
| 129 | /** |
---|
| 130 | * Returns the value of the '<em><b>Descriptive Name</b></em>' attribute. |
---|
| 131 | * <!-- begin-user-doc --> |
---|
| 132 | * <p> |
---|
| 133 | * If the meaning of the '<em>Descriptive Name</em>' attribute isn't clear, |
---|
| 134 | * there really should be more of a description here... |
---|
| 135 | * </p> |
---|
| 136 | * <!-- end-user-doc --> |
---|
| 137 | * @return the value of the '<em>Descriptive Name</em>' attribute. |
---|
| 138 | * @see #setDescriptiveName(String) |
---|
| 139 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_DescriptiveName() |
---|
| 140 | * @model |
---|
| 141 | * @generated |
---|
| 142 | */ |
---|
| 143 | String getDescriptiveName(); |
---|
| 144 | |
---|
| 145 | /** |
---|
| 146 | * Sets the value of the '{@link PhysicalQuantities.Quantity#getDescriptiveName <em>Descriptive Name</em>}' attribute. |
---|
| 147 | * <!-- begin-user-doc --> |
---|
| 148 | * <!-- end-user-doc --> |
---|
| 149 | * @param value the new value of the '<em>Descriptive Name</em>' attribute. |
---|
| 150 | * @see #getDescriptiveName() |
---|
| 151 | * @generated |
---|
| 152 | */ |
---|
| 153 | void setDescriptiveName(String value); |
---|
| 154 | |
---|
| 155 | /** |
---|
| 156 | * Returns the value of the '<em><b>Symbol</b></em>' attribute. |
---|
| 157 | * <!-- begin-user-doc --> |
---|
| 158 | * <p> |
---|
| 159 | * If the meaning of the '<em>Symbol</em>' attribute isn't clear, |
---|
| 160 | * there really should be more of a description here... |
---|
| 161 | * </p> |
---|
| 162 | * <!-- end-user-doc --> |
---|
| 163 | * @return the value of the '<em>Symbol</em>' attribute. |
---|
| 164 | * @see #setSymbol(String) |
---|
| 165 | * @see PhysicalQuantities.PhysicalQuantitiesPackage#getQuantity_Symbol() |
---|
| 166 | * @model |
---|
| 167 | * @generated |
---|
| 168 | */ |
---|
| 169 | String getSymbol(); |
---|
| 170 | |
---|
| 171 | /** |
---|
| 172 | * Sets the value of the '{@link PhysicalQuantities.Quantity#getSymbol <em>Symbol</em>}' attribute. |
---|
| 173 | * <!-- begin-user-doc --> |
---|
| 174 | * <!-- end-user-doc --> |
---|
| 175 | * @param value the new value of the '<em>Symbol</em>' attribute. |
---|
| 176 | * @see #getSymbol() |
---|
| 177 | * @generated |
---|
| 178 | */ |
---|
| 179 | void setSymbol(String value); |
---|
| 180 | |
---|
| 181 | } // Quantity |
---|