Package org.omg.smm.impl
Class BinaryMeasureImpl
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.BinaryMeasureImpl
- 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,BinaryMeasure,DimensionalMeasure,Measure,SmmElement
- Direct Known Subclasses:
RatioMeasureImpl
public class BinaryMeasureImpl extends DimensionalMeasureImpl implements BinaryMeasure
An implementation of the model object 'Binary 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 Base1MeasureRelationshipbaseMeasure1ToThe cached value of the 'Base Measure1 To' reference.protected Base2MeasureRelationshipbaseMeasure2ToThe cached value of the 'Base Measure2 To' reference.protected OperationcustomFunctorThe cached value of the 'Custom Functor' reference.protected BinaryFunctorfunctorThe cached value of the 'Functor' attribute.protected static BinaryFunctorFUNCTOR_EDEFAULTThe default value of the 'Functor' attribute.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 protectedBinaryMeasureImpl() -
Method Summary
Modifier and Type Method Description Base1MeasureRelationshipbasicGetBaseMeasure1To()Base2MeasureRelationshipbasicGetBaseMeasure2To()OperationbasicGetCustomFunctor()ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)Base1MeasureRelationshipgetBaseMeasure1To()Base2MeasureRelationshipgetBaseMeasure2To()OperationgetCustomFunctor()BinaryFunctorgetFunctor()voidsetBaseMeasure1To(Base1MeasureRelationship newBaseMeasure1To)voidsetBaseMeasure2To(Base2MeasureRelationship newBaseMeasure2To)voidsetCustomFunctor(Operation newCustomFunctor)voidsetFunctor(BinaryFunctor newFunctor)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, eInverseAdd, eInverseRemove, 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, eBasicRemoveFromContainerFeature, 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
-
FUNCTOR_EDEFAULT
The default value of the 'Functor' attribute.- See Also:
getFunctor()
-
functor
The cached value of the 'Functor' attribute.- See Also:
getFunctor()
-
baseMeasure1To
The cached value of the 'Base Measure1 To' reference.- See Also:
getBaseMeasure1To()
-
baseMeasure2To
The cached value of the 'Base Measure2 To' reference.- See Also:
getBaseMeasure2To()
-
customFunctor
The cached value of the 'Custom Functor' reference.- See Also:
getCustomFunctor()
-
-
Constructor Details
-
BinaryMeasureImpl
protected BinaryMeasureImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classDimensionalMeasureImpl
-
getFunctor
- Specified by:
getFunctorin interfaceBinaryMeasure- Returns:
- the value of the 'Functor' attribute.
- See Also:
BinaryFunctor,BinaryMeasure.setFunctor(BinaryFunctor),SmmPackage.getBinaryMeasure_Functor()
-
setFunctor
- Specified by:
setFunctorin interfaceBinaryMeasure- Parameters:
newFunctor- the new value of the 'Functor' attribute.- See Also:
BinaryFunctor,BinaryMeasure.getFunctor()
-
getBaseMeasure1To
- Specified by:
getBaseMeasure1Toin interfaceBinaryMeasure- Returns:
- the value of the 'Base Measure1 To' reference.
- See Also:
BinaryMeasure.setBaseMeasure1To(Base1MeasureRelationship),SmmPackage.getBinaryMeasure_BaseMeasure1To()
-
basicGetBaseMeasure1To
-
setBaseMeasure1To
- Specified by:
setBaseMeasure1Toin interfaceBinaryMeasure- Parameters:
newBaseMeasure1To- the new value of the 'Base Measure1 To' reference.- See Also:
BinaryMeasure.getBaseMeasure1To()
-
getBaseMeasure2To
- Specified by:
getBaseMeasure2Toin interfaceBinaryMeasure- Returns:
- the value of the 'Base Measure2 To' reference.
- See Also:
BinaryMeasure.setBaseMeasure2To(Base2MeasureRelationship),SmmPackage.getBinaryMeasure_BaseMeasure2To()
-
basicGetBaseMeasure2To
-
setBaseMeasure2To
- Specified by:
setBaseMeasure2Toin interfaceBinaryMeasure- Parameters:
newBaseMeasure2To- the new value of the 'Base Measure2 To' reference.- See Also:
BinaryMeasure.getBaseMeasure2To()
-
getCustomFunctor
- Specified by:
getCustomFunctorin interfaceBinaryMeasure- Returns:
- the value of the 'Custom Functor' reference.
- See Also:
BinaryMeasure.setCustomFunctor(Operation),SmmPackage.getBinaryMeasure_CustomFunctor()
-
basicGetCustomFunctor
-
setCustomFunctor
- Specified by:
setCustomFunctorin interfaceBinaryMeasure- Parameters:
newCustomFunctor- the new value of the 'Custom Functor' reference.- See Also:
BinaryMeasure.getCustomFunctor()
-
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
-