Class QualityAnnotationLookup
java.lang.Object
org.palladiosimulator.analyzer.quality.util.QualityAnnotationLookup
Lookup functions for elements in QualityAnnotation instances.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPCMPE
(org.palladiosimulator.pcm.seff.BranchAction branchAction) Retrieves the probabilistic element for the given PCM entity.getPCMPEPrecision
(org.palladiosimulator.pcm.seff.BranchAction branchAction) Retrieves the precision for the given PCM entity.getPCMREPrecision
(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role) Gets the statement for a required element.getPCMREPrecision
(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role) Gets the statement for a required element.getPCMREPrecision
(org.palladiosimulator.pcm.resourcetype.ResourceSignature signature, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole role) Gets the statement for a required element.Gets the statement for a required element.Gets the statement for a required element.getPCMREPrecisionCP
(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role) Gets the stated precision for the call parameters.getPCMREPrecisionCP
(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role) Gets the stated precision for the number of calls.getPCMREPrecisionNoC
(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role) Gets the stated precision for the number of calls.getPCMREPrecisionNoC
(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role) Gets the stated precision for the number of calls.getRequiredElement
(PCMRERequestCategory category) Retrieves a required element for the given PCM entity.getRequiredElement
(org.palladiosimulator.pcm.repository.Interface iface) Retrieves a required element for the given PCM entity.getRequiredElement
(org.palladiosimulator.pcm.repository.Role role) Retrieves a required element for the given PCM entity.getRequiredElement
(org.palladiosimulator.pcm.repository.Signature signature) Retrieves a required element for the given PCM entity.
-
Field Details
-
LOGGER
Logger for this class.
-
-
Constructor Details
-
QualityAnnotationLookup
-
-
Method Details
-
getPCMPE
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
Retrieves the precision for the given PCM entity.- Parameters:
branchAction
- The PCM entity.- Returns:
- The precision.
null
if no matching element was found.
-
getRequiredElement
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
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
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
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
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
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
- Returns:
- the qualityAnnotation
-