Class QualityAnnotationLookup


  • public class QualityAnnotationLookup
    extends Object
    Lookup functions for elements in QualityAnnotation instances.
    • Field Detail

      • LOGGER

        public static final Logger LOGGER
        Logger for this class.
    • Constructor Detail

      • QualityAnnotationLookup

        public QualityAnnotationLookup​(QualityAnnotation qualityAnnotation)
    • Method Detail

      • getPCMPE

        public PCMPE getPCMPE​(org.palladiosimulator.pcm.seff.BranchAction branchAction)
        Retrieves the probabilistic element for the given PCM entity.
        Parameters:
        branchAction - The PCM entity.
        Returns:
        The probabilistic element description. null if no matching element was found.
      • getPCMPEPrecision

        public Precision getPCMPEPrecision​(org.palladiosimulator.pcm.seff.BranchAction branchAction)
        Retrieves the precision for the given PCM entity.
        Parameters:
        branchAction - The PCM entity.
        Returns:
        The precision. null if no matching element was found.
      • getRequiredElement

        public PCMRECategory getRequiredElement​(PCMRERequestCategory category)
        Retrieves a required element for the given PCM entity.
        Parameters:
        category - The category for which the required element is requested.
        Returns:
        The required element. null if no matching element was found.
      • getRequiredElement

        public PCMREInterface getRequiredElement​(org.palladiosimulator.pcm.repository.Interface iface)
        Retrieves a required element for the given PCM entity.
        Parameters:
        iface - The interface for which the required element is requested.
        Returns:
        The required element. null if no matching element was found.
      • getRequiredElement

        public PCMRERole getRequiredElement​(org.palladiosimulator.pcm.repository.Role role)
        Retrieves a required element for the given PCM entity.
        Parameters:
        role - The interface for which the required element is requested.
        Returns:
        The required element. null if no matching element was found.
      • getRequiredElement

        public PCMRESignature getRequiredElement​(org.palladiosimulator.pcm.repository.Signature signature)
        Retrieves a required element for the given PCM entity.
        Parameters:
        signature - The interface for which the required element is requested.
        Returns:
        The required element. null if no matching element was found.
      • getPCMREPrecisionNoC

        public Precision getPCMREPrecisionNoC​(org.palladiosimulator.pcm.repository.InfrastructureSignature signature,
                                              org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)
        Gets the stated precision for the number of calls.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated precision.
      • getPCMREPrecisionCP

        public Precision getPCMREPrecisionCP​(org.palladiosimulator.pcm.repository.InfrastructureSignature signature,
                                             org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)
        Gets the stated precision for the call parameters.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated precision.
      • getPCMREPrecisionNoC

        public Precision getPCMREPrecisionNoC​(org.palladiosimulator.pcm.repository.OperationSignature signature,
                                              org.palladiosimulator.pcm.repository.OperationRequiredRole role)
        Gets the stated precision for the number of calls.
        Parameters:
        signature - Signature of the operation.
        role - Role of the interface. null if unknown.
        Returns:
        The stated precision.
      • getPCMREPrecisionCP

        public Precision getPCMREPrecisionCP​(org.palladiosimulator.pcm.repository.OperationSignature signature,
                                             org.palladiosimulator.pcm.repository.OperationRequiredRole role)
        Gets the stated precision for the number of calls.
        Parameters:
        signature - Signature of the operation.
        role - Role of the interface. null if unknown.
        Returns:
        The stated precision.
      • getPCMREPrecision

        public REPrecision getPCMREPrecision​(org.palladiosimulator.pcm.repository.OperationSignature signature,
                                             org.palladiosimulator.pcm.repository.OperationRequiredRole role)
        Gets the statement for a required element.
        Parameters:
        signature - Signature of the operation.
        role - Role of the interface. null if unknown.
        Returns:
        The stated required element.
      • getPCMREPrecision

        public REPrecision getPCMREPrecision​(org.palladiosimulator.pcm.repository.InfrastructureSignature signature,
                                             org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)
        Gets the statement for a required element.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated required element.
      • getPCMREPrecision

        public REPrecision getPCMREPrecision​(org.palladiosimulator.pcm.resourcetype.ResourceSignature signature,
                                             org.palladiosimulator.pcm.core.entity.ResourceRequiredRole role)
        Gets the statement for a required element.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated required element.
      • getPCMREPrecisionCategoryResourceDemand

        public REPrecision getPCMREPrecisionCategoryResourceDemand()
        Gets the statement for a required element.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated required element.
      • getPCMREPrecisionCategoryComponentInternal

        public REPrecision getPCMREPrecisionCategoryComponentInternal()
        Gets the statement for a required element.
        Parameters:
        signature - Signature of the resource service.
        role - Role of the resource service. null if unknown.
        Returns:
        The stated required element.
      • getQualityAnnotation

        public QualityAnnotation getQualityAnnotation()
        Returns:
        the qualityAnnotation