Class QualityAnnotationLookup
- java.lang.Object
-
- org.palladiosimulator.analyzer.quality.util.QualityAnnotationLookup
-
public class QualityAnnotationLookup extends Object
Lookup functions for elements in QualityAnnotation instances.
-
-
Constructor Summary
Constructors Constructor Description QualityAnnotationLookup(QualityAnnotation qualityAnnotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PCMPEgetPCMPE(org.palladiosimulator.pcm.seff.BranchAction branchAction)Retrieves the probabilistic element for the given PCM entity.PrecisiongetPCMPEPrecision(org.palladiosimulator.pcm.seff.BranchAction branchAction)Retrieves the precision for the given PCM entity.REPrecisiongetPCMREPrecision(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)Gets the statement for a required element.REPrecisiongetPCMREPrecision(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role)Gets the statement for a required element.REPrecisiongetPCMREPrecision(org.palladiosimulator.pcm.resourcetype.ResourceSignature signature, org.palladiosimulator.pcm.core.entity.ResourceRequiredRole role)Gets the statement for a required element.REPrecisiongetPCMREPrecisionCategoryComponentInternal()Gets the statement for a required element.REPrecisiongetPCMREPrecisionCategoryResourceDemand()Gets the statement for a required element.PrecisiongetPCMREPrecisionCP(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)Gets the stated precision for the call parameters.PrecisiongetPCMREPrecisionCP(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role)Gets the stated precision for the number of calls.PrecisiongetPCMREPrecisionNoC(org.palladiosimulator.pcm.repository.InfrastructureSignature signature, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)Gets the stated precision for the number of calls.PrecisiongetPCMREPrecisionNoC(org.palladiosimulator.pcm.repository.OperationSignature signature, org.palladiosimulator.pcm.repository.OperationRequiredRole role)Gets the stated precision for the number of calls.QualityAnnotationgetQualityAnnotation()PCMRECategorygetRequiredElement(PCMRERequestCategory category)Retrieves a required element for the given PCM entity.PCMREInterfacegetRequiredElement(org.palladiosimulator.pcm.repository.Interface iface)Retrieves a required element for the given PCM entity.PCMRERolegetRequiredElement(org.palladiosimulator.pcm.repository.Role role)Retrieves a required element for the given PCM entity.PCMRESignaturegetRequiredElement(org.palladiosimulator.pcm.repository.Signature signature)Retrieves a required element for the given PCM entity.
-
-
-
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.
nullif 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.
nullif 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.
nullif 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.
nullif 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.
nullif 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.
nullif 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.nullif 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.nullif 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.nullif 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.nullif 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.nullif 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.nullif 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.nullif 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.nullif 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.nullif unknown.- Returns:
- The stated required element.
-
getQualityAnnotation
public QualityAnnotation getQualityAnnotation()
- Returns:
- the qualityAnnotation
-
-