Class EvaluationAspectWithContext


  • public class EvaluationAspectWithContext
    extends Object
    This class is used to provide necessary information on a QML EvaluationAspect, 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 the EvaluationAspect belongs to. As one EvaluationAspect can be used in different contexts, multiple EvaluationAspectWithContext objects can be possible for the same type of EvaluationAspects (e.g. the Mean of different Dimensions).
    See Also:
    EvaluationAspect, Dimension, Criterion, Requirement, UsageModel, QMLContractType, GenericQMLContract, GenericQMLProfile
    • 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