Interface MeasurementSpecification
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
- All Known Implementing Classes:
MeasurementSpecificationImpl
public interface MeasurementSpecification
extends de.uka.ipd.sdq.identifier.Identifier
A representation of the model object 'Measurement Specification'.
A measurement specification for a pcm element including the performance metric and the processing type.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.metricspec.MetricDescription
Returns the value of the 'Metric Description' reference.Returns the value of the 'Monitor' container reference.getName()
Returns the value of the 'Name' attribute.Returns the value of the 'Processing Type' containment reference.boolean
Returns the value of the 'Triggers Self Adaptations' attribute.void
setMetricDescription
(org.palladiosimulator.metricspec.MetricDescription value) Sets the value of the 'Metric Description
' reference.void
setMonitor
(Monitor value) Sets the value of the 'Monitor
' container reference.void
Sets the value of the 'Name
' attribute.void
setProcessingType
(ProcessingType value) Sets the value of the 'Processing Type
' containment reference.void
setTriggersSelfAdaptations
(boolean value) Sets the value of the 'Triggers Self Adaptations
' attribute.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, 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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getMetricDescription
org.palladiosimulator.metricspec.MetricDescription getMetricDescription()Returns the value of the 'Metric Description' reference.- Returns:
- the value of the 'Metric Description' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setMetricDescription
void setMetricDescription(org.palladiosimulator.metricspec.MetricDescription value) Sets the value of the 'Metric Description
' reference.- Parameters:
value
- the new value of the 'Metric Description' reference.- See Also:
- Generated class or method.
-
getMonitor
Monitor getMonitor()Returns the value of the 'Monitor' container reference. It is bidirectional and its opposite is 'Measurement Specifications
'.- Returns:
- the value of the 'Monitor' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="measurementSpecifications" required="true" transient="false"
-
setMonitor
Sets the value of the 'Monitor
' container reference.- Parameters:
value
- the new value of the 'Monitor' container reference.- See Also:
- Generated class or method.
-
getName
String getName()Returns the value of the 'Name' attribute. The default value is""
.- Returns:
- the value of the 'Name' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="" volatile="true" derived="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL derivation='if self.processingType.oclIsKindOf(Aggregation) then self.monitor.entityName + \':\' +self.processingType.toString()+\'(\' + self.processingType.oclAsType(Aggregation).statisticalCharacterization.toString() +\')\' else self.monitor.entityName + \': \' + self.processingType.toString() endif'"
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
- Generated class or method.
-
getProcessingType
ProcessingType getProcessingType()Returns the value of the 'Processing Type' containment reference. It is bidirectional and its opposite is 'Measurement Specification
'. This attribute specifies in what way measurements shall be further processed or aggregated (besides or before being recorded) upon reception.- Returns:
- the value of the 'Processing Type' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="measurementSpecification" containment="true" required="true"
-
setProcessingType
Sets the value of the 'Processing Type
' containment reference.- Parameters:
value
- the new value of the 'Processing Type' containment reference.- See Also:
- Generated class or method.
-
isTriggersSelfAdaptations
boolean isTriggersSelfAdaptations()Returns the value of the 'Triggers Self Adaptations' attribute. The default value is"true"
.- Returns:
- the value of the 'Triggers Self Adaptations' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="true"
-
setTriggersSelfAdaptations
void setTriggersSelfAdaptations(boolean value) Sets the value of the 'Triggers Self Adaptations
' attribute.- Parameters:
value
- the new value of the 'Triggers Self Adaptations' attribute.- See Also:
- Generated class or method.
-