Class ComposedProvidingRequiringEntityServices

java.lang.Object
org.palladiosimulator.editors.sirius.services.PCMServices
org.palladiosimulator.editors.sirius.services.ComposedProvidingRequiringEntityServices

public class ComposedProvidingRequiringEntityServices extends PCMServices
  • Constructor Details

    • ComposedProvidingRequiringEntityServices

      public ComposedProvidingRequiringEntityServices()
  • Method Details

    • getVariableUsages

      public Collection<EObject> getVariableUsages(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
      Returns a list containing all VariableUsages associated with the AssemblyContext. This means all usages that are defined on the context itself and those of its encapsulated component which are not overwritten.
      Parameters:
      assemblyContext - AssemblyContext
      Returns:
      associated VariableUsages
      See Also:
    • isOverridden

      public boolean isOverridden(org.palladiosimulator.pcm.parameter.VariableUsage variableUsage, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
      Computes whether or not the given AssemblyContext has a VariableUsage associated that overrides, i.e. hides the given VariableUsage
      Parameters:
      variableUsage - VariableUsage
      assemblyContext - AssemblyContext
      Returns:
    • copyToAssemblyContext

      public EObject copyToAssemblyContext(org.palladiosimulator.pcm.parameter.VariableUsage variableUsage, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
      Copies the VariableUsage to the AssemblyContext, i.e. 'instantiates' it. This method will return the original VariableUsage.
      Parameters:
      variableUsage - the VariableUsage to be copied
      assemblyContext - the target AssemblyContext
      Returns:
      the original VariableUsage
    • getSystemSpecifiedExecutionTimesWithDistinctRoles

      public Collection<org.palladiosimulator.pcm.qosannotations.qos_performance.SystemSpecifiedExecutionTime> getSystemSpecifiedExecutionTimesWithDistinctRoles(org.palladiosimulator.pcm.system.System system)
      filters the given SystemSpecifiedExecutionTimes to produce a collection with the first occurrences of SystemSpecifiedExecutionTime having distinct Roles
      Parameters:
      ssets -
      Returns: