Class PcmCalls


  • public class PcmCalls
    extends Object
    Templates for external (service) calls. Converted from PCM's OCL statements.
    • Constructor Summary

      Constructors 
      Constructor Description
      PcmCalls()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyConnector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.RequiredRole r)  
      protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyEventConnector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.SinkRole r)  
      protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.InfrastructureRequiredRole r)  
      protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.OperationRequiredRole r)  
      protected static boolean _test​(org.palladiosimulator.pcm.core.composition.DelegationConnector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.SinkRole r)  
      static Iterable<org.palladiosimulator.pcm.core.composition.Connector> connectors​(org.palladiosimulator.pcm.core.composition.ComposedStructure s)  
      static org.palladiosimulator.pcm.core.composition.Connector getConnector​(org.palladiosimulator.pcm.core.composition.ComposedStructure cs, org.palladiosimulator.pcm.core.composition.AssemblyContext context, org.palladiosimulator.pcm.repository.OperationRequiredRole role)
      Connectors.
      static Iterable<org.palladiosimulator.pcm.system.System> getSystemsFromCalls​(Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> calls)  
      static boolean hasConnector​(org.palladiosimulator.pcm.core.composition.ComposedStructure cs, org.palladiosimulator.pcm.core.composition.AssemblyContext context, org.palladiosimulator.pcm.repository.OperationRequiredRole role)  
      static CharSequence portQuery​(org.palladiosimulator.pcm.repository.OperationRequiredRole role, org.palladiosimulator.pcm.core.composition.ComposedStructure s, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx)
      Query Ports.
      static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCalls​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenBe)
      Query System Calls.
      static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCallsInBraches​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenBe)  
      static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCallsInLoops​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour sb)  
      static boolean test​(org.palladiosimulator.pcm.core.composition.Connector c, org.palladiosimulator.pcm.core.composition.AssemblyContext ctx, org.palladiosimulator.pcm.repository.Role r)  
    • Constructor Detail

      • PcmCalls

        public PcmCalls()
    • Method Detail

      • querySystemCalls

        public static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCalls​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenBe)
        Query System Calls.
      • querySystemCallsInLoops

        public static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCallsInLoops​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour sb)
      • querySystemCallsInBraches

        public static Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> querySystemCallsInBraches​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenBe)
      • getSystemsFromCalls

        public static Iterable<org.palladiosimulator.pcm.system.System> getSystemsFromCalls​(Iterable<org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall> calls)
      • portQuery

        public static CharSequence portQuery​(org.palladiosimulator.pcm.repository.OperationRequiredRole role,
                                             org.palladiosimulator.pcm.core.composition.ComposedStructure s,
                                             org.palladiosimulator.pcm.core.composition.AssemblyContext ctx)
        Query Ports.
      • getConnector

        public static org.palladiosimulator.pcm.core.composition.Connector getConnector​(org.palladiosimulator.pcm.core.composition.ComposedStructure cs,
                                                                                        org.palladiosimulator.pcm.core.composition.AssemblyContext context,
                                                                                        org.palladiosimulator.pcm.repository.OperationRequiredRole role)
        Connectors.
      • hasConnector

        public static boolean hasConnector​(org.palladiosimulator.pcm.core.composition.ComposedStructure cs,
                                           org.palladiosimulator.pcm.core.composition.AssemblyContext context,
                                           org.palladiosimulator.pcm.repository.OperationRequiredRole role)
      • connectors

        public static Iterable<org.palladiosimulator.pcm.core.composition.Connector> connectors​(org.palladiosimulator.pcm.core.composition.ComposedStructure s)
      • _test

        protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyConnector c,
                                       org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                       org.palladiosimulator.pcm.repository.RequiredRole r)
      • _test

        protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnector c,
                                       org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                       org.palladiosimulator.pcm.repository.InfrastructureRequiredRole r)
      • _test

        protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnector c,
                                       org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                       org.palladiosimulator.pcm.repository.OperationRequiredRole r)
      • _test

        protected static boolean _test​(org.palladiosimulator.pcm.core.composition.AssemblyEventConnector c,
                                       org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                       org.palladiosimulator.pcm.repository.SinkRole r)
      • _test

        protected static boolean _test​(org.palladiosimulator.pcm.core.composition.DelegationConnector c,
                                       org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                       org.palladiosimulator.pcm.repository.SinkRole r)
      • test

        public static boolean test​(org.palladiosimulator.pcm.core.composition.Connector c,
                                   org.palladiosimulator.pcm.core.composition.AssemblyContext ctx,
                                   org.palladiosimulator.pcm.repository.Role r)