Class MetricToCsvMappingImpl
- 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.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- de.uka.ipd.sdq.identifier.impl.IdentifierImpl
-
- de.fzi.power.profilingimport.mapping.impl.MetricToCsvMappingImpl
-
- All Implemented Interfaces:
MetricToCsvMapping
,de.uka.ipd.sdq.identifier.Identifier
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,org.eclipse.emf.spi.cdo.InternalCDOLoadable
,org.eclipse.emf.spi.cdo.InternalCDOObject
public class MetricToCsvMappingImpl extends de.uka.ipd.sdq.identifier.impl.IdentifierImpl implements MetricToCsvMapping
An implementation of the model object 'Metric To Csv Mapping'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CSV_FILE_URI_EDEFAULT
The default value of the 'Csv File Uri
' attribute.protected static String
UNIT_STRING_EDEFAULT
The default value of the 'Unit String
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetricToCsvMappingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.metricspec.MetricSetDescription
basicGetMetric()
NotificationChain
basicSetConversionDivisor(ConversionDivisor newConversionDivisor, NotificationChain msgs)
NotificationChain
basicSetRepository(MappingRepository newRepository, NotificationChain msgs)
NotificationChain
eBasicRemoveFromContainerFeature(NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
ConversionDivisor
getConversionDivisor()
String
getCsvFileUri()
org.palladiosimulator.metricspec.MetricSetDescription
getMetric()
MappingRepository
getRepository()
javax.measure.unit.Unit<? extends javax.measure.quantity.Quantity>
getUnit()
String
getUnitString()
boolean
isSetUnit()
void
setConversionDivisor(ConversionDivisor newConversionDivisor)
void
setCsvFileUri(String newCsvFileUri)
void
setMetric(org.palladiosimulator.metricspec.MetricSetDescription newMetric)
void
setRepository(MappingRepository newRepository)
void
setUnitString(String newUnitString)
-
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setId
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
CSV_FILE_URI_EDEFAULT
protected static final String CSV_FILE_URI_EDEFAULT
The default value of the 'Csv File Uri
' attribute.- See Also:
getCsvFileUri()
- Generated class or method.
- Ordered collection.
-
UNIT_STRING_EDEFAULT
protected static final String UNIT_STRING_EDEFAULT
The default value of the 'Unit String
' attribute.- See Also:
getUnitString()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
getCsvFileUri
public String getCsvFileUri()
- Specified by:
getCsvFileUri
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Csv File Uri' attribute.
- See Also:
MetricToCsvMapping.setCsvFileUri(String)
,MappingPackage.getMetricToCsvMapping_CsvFileUri()
- Generated class or method.
-
setCsvFileUri
public void setCsvFileUri(String newCsvFileUri)
- Specified by:
setCsvFileUri
in interfaceMetricToCsvMapping
- Parameters:
newCsvFileUri
- the new value of the 'Csv File Uri' attribute.- See Also:
MetricToCsvMapping.getCsvFileUri()
- Generated class or method.
-
getMetric
public org.palladiosimulator.metricspec.MetricSetDescription getMetric()
- Specified by:
getMetric
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Metric' reference.
- See Also:
MetricToCsvMapping.setMetric(MetricSetDescription)
,MappingPackage.getMetricToCsvMapping_Metric()
- Generated class or method.
-
basicGetMetric
public org.palladiosimulator.metricspec.MetricSetDescription basicGetMetric()
- Generated class or method.
-
setMetric
public void setMetric(org.palladiosimulator.metricspec.MetricSetDescription newMetric)
- Specified by:
setMetric
in interfaceMetricToCsvMapping
- Parameters:
newMetric
- the new value of the 'Metric' reference.- See Also:
MetricToCsvMapping.getMetric()
- Generated class or method.
-
getRepository
public MappingRepository getRepository()
- Specified by:
getRepository
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Repository' container reference.
- See Also:
MetricToCsvMapping.setRepository(MappingRepository)
,MappingPackage.getMetricToCsvMapping_Repository()
,MappingRepository.getMappings()
- Generated class or method.
-
basicSetRepository
public NotificationChain basicSetRepository(MappingRepository newRepository, NotificationChain msgs)
- Generated class or method.
-
setRepository
public void setRepository(MappingRepository newRepository)
- Specified by:
setRepository
in interfaceMetricToCsvMapping
- Parameters:
newRepository
- the new value of the 'Repository' container reference.- See Also:
MetricToCsvMapping.getRepository()
- Generated class or method.
-
getConversionDivisor
public ConversionDivisor getConversionDivisor()
- Specified by:
getConversionDivisor
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Conversion Divisor' containment reference.
- See Also:
MetricToCsvMapping.setConversionDivisor(ConversionDivisor)
,MappingPackage.getMetricToCsvMapping_ConversionDivisor()
- Generated class or method.
-
basicSetConversionDivisor
public NotificationChain basicSetConversionDivisor(ConversionDivisor newConversionDivisor, NotificationChain msgs)
- Generated class or method.
-
setConversionDivisor
public void setConversionDivisor(ConversionDivisor newConversionDivisor)
- Specified by:
setConversionDivisor
in interfaceMetricToCsvMapping
- Parameters:
newConversionDivisor
- the new value of the 'Conversion Divisor' containment reference.- See Also:
MetricToCsvMapping.getConversionDivisor()
- Generated class or method.
-
getUnitString
public String getUnitString()
- Specified by:
getUnitString
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Unit String' attribute.
- See Also:
MetricToCsvMapping.setUnitString(String)
,MappingPackage.getMetricToCsvMapping_UnitString()
- Generated class or method.
-
setUnitString
public void setUnitString(String newUnitString)
- Specified by:
setUnitString
in interfaceMetricToCsvMapping
- Parameters:
newUnitString
- the new value of the 'Unit String' attribute.- See Also:
MetricToCsvMapping.getUnitString()
- Generated class or method.
-
getUnit
public javax.measure.unit.Unit<? extends javax.measure.quantity.Quantity> getUnit()
- Specified by:
getUnit
in interfaceMetricToCsvMapping
- Returns:
- the value of the 'Unit' attribute.
- See Also:
MetricToCsvMapping.isSetUnit()
,MappingPackage.getMetricToCsvMapping_Unit()
- Generated class or method.
-
isSetUnit
public boolean isSetUnit()
- Specified by:
isSetUnit
in interfaceMetricToCsvMapping
- Returns:
- whether the value of the 'Unit' attribute is set.
- See Also:
MetricToCsvMapping.getUnit()
- Generated class or method.
- NOT
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAdd
in classBasicEObjectImpl
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classBasicEObjectImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
-