Class EvaluationAspectWithContext
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.qml.pcm.datastructures.EvaluationAspectWithContext
-
public class EvaluationAspectWithContext extends Object
This class is used to provide necessary information on a QMLEvaluationAspect
, e.g. which dimension it refers to, which contract type it belongs to a.s.o. It is used to have a flat structure and easy access to the information and to avoid handling possibly large chunks of QML model objects. The context is derived from the QML profile theEvaluationAspect
belongs to. As oneEvaluationAspect
can be used in different contexts, multipleEvaluationAspectWithContext
objects can be possible for the same type ofEvaluationAspects
(e.g. theMean
of differentDimension
s).- See Also:
EvaluationAspect
,Dimension
,Criterion
,Requirement
,UsageModel
,QMLContractType
,GenericQMLContract
,GenericQMLProfile
-
-
Constructor Summary
Constructors Constructor Description EvaluationAspectWithContext(QMLContractType contractType, Dimension dimension, Criterion criterion, EvaluationAspect evaluationAspect, org.palladiosimulator.pcm.usagemodel.UsageModel usageModel, Requirement requirement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QMLContractType
getContractType()
Criterion
getCriterion()
Dimension
getDimension()
EvaluationAspect
getEvaluationAspect()
Requirement
getRequirement()
org.palladiosimulator.pcm.usagemodel.UsageModel
getUsageModel()
-
-
-
Constructor Detail
-
EvaluationAspectWithContext
public EvaluationAspectWithContext(QMLContractType contractType, Dimension dimension, Criterion criterion, EvaluationAspect evaluationAspect, org.palladiosimulator.pcm.usagemodel.UsageModel usageModel, Requirement requirement)
-
-
Method Detail
-
getCriterion
public Criterion getCriterion()
- Returns:
- the criterion
-
getContractType
public QMLContractType getContractType()
- Returns:
- the contractType
-
getDimension
public Dimension getDimension()
- Returns:
- the dimension
-
getEvaluationAspect
public EvaluationAspect getEvaluationAspect()
- Returns:
- the evaluationAspect
-
getUsageModel
public org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()
- Returns:
- the usageModel
-
getRequirement
public Requirement getRequirement()
- Returns:
- the requirement
-
-