Package org.omg.smm.impl
Class RescaledMeasureImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.omg.smm.impl.SmmElementImpl
org.omg.smm.impl.AbstractMeasureElementImpl
org.omg.smm.impl.MeasureImpl
org.omg.smm.impl.DimensionalMeasureImpl
org.omg.smm.impl.RescaledMeasureImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,AbstractMeasureElement,DimensionalMeasure,Measure,RescaledMeasure,SmmElement
public class RescaledMeasureImpl extends DimensionalMeasureImpl implements RescaledMeasure
An implementation of the model object 'Rescaled Measure'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields Modifier and Type Field Description protected doublemultiplierThe cached value of the 'Multiplier' attribute.protected static doubleMULTIPLIER_EDEFAULTThe default value of the 'Multiplier' attribute.protected doubleoffsetThe cached value of the 'Offset' attribute.protected static doubleOFFSET_EDEFAULTThe default value of the 'Offset' attribute.protected OperationoperationThe cached value of the 'Operation' reference.protected static BooleanOPERATION_FIRST_EDEFAULTThe default value of the 'Operation First' attribute.protected BooleanoperationFirstThe cached value of the 'Operation First' attribute.protected org.eclipse.emf.common.util.EList<RescaledMeasureRelationship>rescaleFromThe cached value of the 'Rescale From' reference list.Fields inherited from class org.omg.smm.impl.DimensionalMeasureImpl
baseMeasure1From, baseMeasure2From, baseMeasureFrom, formula, FORMULA_EDEFAULT, gradeFrom, rankingFrom, rescaleTo, unitFields inherited from class org.omg.smm.impl.MeasureImpl
category, CUSTOM_SCALE_EDEFAULT, customScale, defaultQuery, equivalentFrom, equivalentTo, inbound, MEASURE_LABEL_FORMAT_EDEFAULT, measureLabelFormat, MEASUREMENT_LABEL_FORMAT_EDEFAULT, measurementLabelFormat, measureRelationships, outbound, refinementFrom, refinementTo, scale, SCALE_EDEFAULT, scope, source, SOURCE_EDEFAULT, trait, visible, VISIBLE_EDEFAULTFields inherited from class org.omg.smm.impl.SmmElementImpl
annotations, attributes, description, DESCRIPTION_EDEFAULT, inRelationships, name, NAME_EDEFAULT, outRelationships, SHORT_DESCRIPTION_EDEFAULT, shortDescriptionFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors Modifier Constructor Description protectedRescaledMeasureImpl() -
Method Summary
Modifier and Type Method Description OperationbasicGetOperation()ScaledBaseMeasureRelationshipbasicGetRescales()org.eclipse.emf.common.notify.NotificationChainbasicSetRescales(ScaledBaseMeasureRelationship newRescales, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)doublegetMultiplier()doublegetOffset()OperationgetOperation()BooleangetOperationFirst()org.eclipse.emf.common.util.EList<RescaledMeasureRelationship>getRescaleFrom()ScaledBaseMeasureRelationshipgetRescales()voidsetMultiplier(double newMultiplier)voidsetOffset(double newOffset)voidsetOperation(Operation newOperation)voidsetOperationFirst(Boolean newOperationFirst)voidsetRescales(ScaledBaseMeasureRelationship newRescales)StringtoString()Methods inherited from class org.omg.smm.impl.DimensionalMeasureImpl
basicGetUnit, getBaseMeasure1From, getBaseMeasure2From, getBaseMeasureFrom, getFormula, getGradeFrom, getRankingFrom, getRescaleTo, getUnit, setFormula, setUnitMethods inherited from class org.omg.smm.impl.MeasureImpl
basicGetDefaultQuery, basicGetScope, basicGetTrait, eInvoke, getAllArguments, getArguments, getCategory, getCustomScale, getDefaultQuery, getEquivalentFrom, getEquivalentTo, getInbound, getMeasureLabelFormat, getMeasurementLabelFormat, getMeasureRelationships, getOutbound, getRefinementFrom, getRefinementTo, getScale, getScope, getSource, getTrait, getVisible, setCustomScale, setDefaultQuery, setMeasureLabelFormat, setMeasurementLabelFormat, setScale, setScope, setSource, setTrait, setVisibleMethods inherited from class org.omg.smm.impl.SmmElementImpl
getAnnotations, getAttributes, getDescription, getInRelationships, getName, getOutRelationships, getShortDescription, setDescription, setName, setShortDescriptionMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.omg.smm.DimensionalMeasure
getBaseMeasure1From, getBaseMeasure2From, getBaseMeasureFrom, getFormula, getGradeFrom, getRankingFrom, getRescaleTo, getUnit, setFormula, setUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.omg.smm.Measure
getAllArguments, getArguments, getCategory, getCustomScale, getDefaultQuery, getEquivalentFrom, getEquivalentTo, getInbound, getMeasureLabelFormat, getMeasurementLabelFormat, getMeasureRelationships, getOutbound, getRefinementFrom, getRefinementTo, getScale, getScope, getSource, getTrait, getVisible, setCustomScale, setDefaultQuery, setMeasureLabelFormat, setMeasurementLabelFormat, setScale, setScope, setSource, setTrait, setVisibleMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.omg.smm.SmmElement
getAnnotations, getAttributes, getDescription, getInRelationships, getName, getOutRelationships, getShortDescription, setDescription, setName, setShortDescription
-
Field Details
-
rescaleFrom
The cached value of the 'Rescale From' reference list.- See Also:
getRescaleFrom()
-
operation
The cached value of the 'Operation' reference.- See Also:
getOperation()
-
OFFSET_EDEFAULT
protected static final double OFFSET_EDEFAULTThe default value of the 'Offset' attribute.- See Also:
getOffset(), Constant Field Values
-
offset
protected double offsetThe cached value of the 'Offset' attribute.- See Also:
getOffset()
-
MULTIPLIER_EDEFAULT
protected static final double MULTIPLIER_EDEFAULTThe default value of the 'Multiplier' attribute.- See Also:
getMultiplier(), Constant Field Values
-
multiplier
protected double multiplierThe cached value of the 'Multiplier' attribute.- See Also:
getMultiplier()
-
OPERATION_FIRST_EDEFAULT
The default value of the 'Operation First' attribute.- See Also:
getOperationFirst()
-
operationFirst
The cached value of the 'Operation First' attribute.- See Also:
getOperationFirst()
-
-
Constructor Details
-
RescaledMeasureImpl
protected RescaledMeasureImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classDimensionalMeasureImpl
-
getRescaleFrom
- Specified by:
getRescaleFromin interfaceRescaledMeasure- Returns:
- the value of the 'Rescale From' reference list.
- See Also:
SmmPackage.getRescaledMeasure_RescaleFrom()
-
getRescales
- Specified by:
getRescalesin interfaceRescaledMeasure- Returns:
- the value of the 'Rescales' container reference.
- See Also:
RescaledMeasure.setRescales(ScaledBaseMeasureRelationship),SmmPackage.getRescaledMeasure_Rescales(),ScaledBaseMeasureRelationship.getRescaledMeasure()
-
basicGetRescales
-
basicSetRescales
public org.eclipse.emf.common.notify.NotificationChain basicSetRescales(ScaledBaseMeasureRelationship newRescales, org.eclipse.emf.common.notify.NotificationChain msgs) -
setRescales
- Specified by:
setRescalesin interfaceRescaledMeasure- Parameters:
newRescales- the new value of the 'Rescales' container reference.- See Also:
RescaledMeasure.getRescales()
-
getOperation
- Specified by:
getOperationin interfaceRescaledMeasure- Returns:
- the value of the 'Operation' reference.
- See Also:
RescaledMeasure.setOperation(Operation),SmmPackage.getRescaledMeasure_Operation()
-
basicGetOperation
-
setOperation
- Specified by:
setOperationin interfaceRescaledMeasure- Parameters:
newOperation- the new value of the 'Operation' reference.- See Also:
RescaledMeasure.getOperation()
-
getOffset
public double getOffset()- Specified by:
getOffsetin interfaceRescaledMeasure- Returns:
- the value of the 'Offset' attribute.
- See Also:
RescaledMeasure.setOffset(double),SmmPackage.getRescaledMeasure_Offset()
-
setOffset
public void setOffset(double newOffset)- Specified by:
setOffsetin interfaceRescaledMeasure- Parameters:
newOffset- the new value of the 'Offset' attribute.- See Also:
RescaledMeasure.getOffset()
-
getMultiplier
public double getMultiplier()- Specified by:
getMultiplierin interfaceRescaledMeasure- Returns:
- the value of the 'Multiplier' attribute.
- See Also:
RescaledMeasure.setMultiplier(double),SmmPackage.getRescaledMeasure_Multiplier()
-
setMultiplier
public void setMultiplier(double newMultiplier)- Specified by:
setMultiplierin interfaceRescaledMeasure- Parameters:
newMultiplier- the new value of the 'Multiplier' attribute.- See Also:
RescaledMeasure.getMultiplier()
-
getOperationFirst
- Specified by:
getOperationFirstin interfaceRescaledMeasure- Returns:
- the value of the 'Operation First' attribute.
- See Also:
RescaledMeasure.setOperationFirst(Boolean),SmmPackage.getRescaledMeasure_OperationFirst()
-
setOperationFirst
- Specified by:
setOperationFirstin interfaceRescaledMeasure- Parameters:
newOperationFirst- the new value of the 'Operation First' attribute.- See Also:
RescaledMeasure.getOperationFirst()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classMeasureImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classMeasureImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classDimensionalMeasureImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classDimensionalMeasureImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classDimensionalMeasureImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classDimensionalMeasureImpl
-
toString
- Overrides:
toStringin classDimensionalMeasureImpl
-