Class PcmToDfdTransformationImplementation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> _determineLiterals​(DataTypeCharacteristic characteristic)  
      protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> _determineLiterals​(EnumCharacteristic characteristic)  
      protected Object _transformAction​(org.palladiosimulator.indirections.actions.ConsumeDataAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected Object _transformAction​(org.palladiosimulator.indirections.actions.CreateDateAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected Object _transformAction​(org.palladiosimulator.indirections.actions.EmitDataAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected Object _transformAction​(org.palladiosimulator.pcm.seff.AbstractAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected Object _transformAction​(org.palladiosimulator.pcm.seff.ExternalCallAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected Object _transformAction​(org.palladiosimulator.pcm.seff.SetVariableAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.indirections.repository.DataChannel dc, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.pcm.core.entity.ComposedProvidingRequiringEntity cc, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.pcm.repository.BasicComponent bc, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected void _transformSEFF​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected void _transformSEFF​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess addPinsAndBehavior​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess process, Iterable<org.palladiosimulator.pcm.parameter.VariableUsage> variableUsages)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess addPinsAndBehavior​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess process, Iterable<org.palladiosimulator.pcm.parameter.VariableUsage> variableUsages, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, boolean createDataFlows)  
      protected void createCharacteristics​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode node, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, EObject pcmElement)
      =========== Characteristics Transformations ===========
      protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> determineLiterals​(Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType> characteristic)  
      protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> effectiveCharacteristics​(List<List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>>> characteristics)  
      protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getApplicableCharacteristics​(List<EObject> eobjects)
      =========== Profiles Handling ===========
      protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getApplicableCharacteristics​(EObject eobject)  
      protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getCharacteristics​(EObject eobject)  
      protected String getCorrespondingActorName​(Collection<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> characteristics)  
      protected String getCorrespondingActorName​(EObject eobject)
      =========== Query Utils ===========
      protected <T> Stack<T> newStack​(Stack<T> stack, T newTop)  
      TransformationResult transform​(Collection<org.palladiosimulator.pcm.usagemodel.UsageModel> usageModels, org.palladiosimulator.pcm.allocation.Allocation allocationModel)  
      protected void transform​(org.palladiosimulator.pcm.core.composition.AssemblyContext ac, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected boolean transform​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc)  
      protected void transform​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)  
      protected Object transformAction​(org.palladiosimulator.pcm.seff.AbstractAction action, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode transformComponent​(org.palladiosimulator.pcm.core.entity.InterfaceProvidingRequiringEntity bc, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected void transformSEFF​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected void transformToDataStore​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToEntryProcess​(org.palladiosimulator.pcm.seff.ExternalCallAction eca, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToEntryProcess​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess transformToEntryProcess​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.ExternalActor actor)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToExitProcess​(org.palladiosimulator.pcm.seff.ExternalCallAction eca, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToExitProcess​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, boolean createProvidingDataFlows)  
      protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess transformToExitProcess​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc, org.palladiosimulator.dataflow.diagram.DataFlowDiagram.ExternalActor actor)  
      protected void transformToSeffProcesses​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff, Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)  
    • Constructor Detail

      • PcmToDfdTransformationImplementation

        public PcmToDfdTransformationImplementation()
    • Method Detail

      • transform

        protected void transform​(org.palladiosimulator.pcm.core.composition.AssemblyContext ac,
                                 Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformComponent

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.pcm.repository.BasicComponent bc,
                                                                                                                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformSEFF

        protected void _transformSEFF​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff,
                                      Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToSeffProcesses

        protected void transformToSeffProcesses​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff,
                                                Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToDataStore

        protected void transformToDataStore​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff,
                                            Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToEntryProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToEntryProcess​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff,
                                                                                                                                                 Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToExitProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToExitProcess​(org.palladiosimulator.pcm.seff.ResourceDemandingSEFF seff,
                                                                                                                                                Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context,
                                                                                                                                                boolean createProvidingDataFlows)
      • _transformSEFF

        protected void _transformSEFF​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff,
                                      Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.pcm.seff.ExternalCallAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.indirections.actions.CreateDateAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.indirections.actions.EmitDataAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.indirections.actions.ConsumeDataAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.pcm.seff.SetVariableAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformAction

        protected Object _transformAction​(org.palladiosimulator.pcm.seff.AbstractAction action,
                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToEntryProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToEntryProcess​(org.palladiosimulator.pcm.seff.ExternalCallAction eca,
                                                                                                                                                 Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformToExitProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess transformToExitProcess​(org.palladiosimulator.pcm.seff.ExternalCallAction eca,
                                                                                                                                                Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformComponent

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.indirections.repository.DataChannel dc,
                                                                                                                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • _transformComponent

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode _transformComponent​(org.palladiosimulator.pcm.core.entity.ComposedProvidingRequiringEntity cc,
                                                                                                                                          Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transform

        protected void transform​(org.palladiosimulator.pcm.usagemodel.ScenarioBehaviour scenarioBehaviour)
      • transform

        protected boolean transform​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc)
      • transformToEntryProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess transformToEntryProcess​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc,
                                                                                                                                                      org.palladiosimulator.dataflow.diagram.DataFlowDiagram.ExternalActor actor)
      • transformToExitProcess

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess transformToExitProcess​(org.palladiosimulator.pcm.usagemodel.EntryLevelSystemCall elsc,
                                                                                                                                                     org.palladiosimulator.dataflow.diagram.DataFlowDiagram.ExternalActor actor)
      • addPinsAndBehavior

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess addPinsAndBehavior​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedActorProcess process,
                                                                                                                                            Iterable<org.palladiosimulator.pcm.parameter.VariableUsage> variableUsages)
      • addPinsAndBehavior

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess addPinsAndBehavior​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedProcess process,
                                                                                                                                            Iterable<org.palladiosimulator.pcm.parameter.VariableUsage> variableUsages,
                                                                                                                                            Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context,
                                                                                                                                            boolean createDataFlows)
      • newStack

        protected <T> Stack<T> newStack​(Stack<T> stack,
                                        T newTop)
      • createCharacteristics

        protected void createCharacteristics​(org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode node,
                                             Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context,
                                             EObject pcmElement)
        =========== Characteristics Transformations ===========
      • _determineLiterals

        protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> _determineLiterals​(EnumCharacteristic characteristic)
      • _determineLiterals

        protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> _determineLiterals​(DataTypeCharacteristic characteristic)
      • getCorrespondingActorName

        protected String getCorrespondingActorName​(EObject eobject)
        =========== Query Utils ===========
      • getCorrespondingActorName

        protected String getCorrespondingActorName​(Collection<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> characteristics)
      • getApplicableCharacteristics

        protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getApplicableCharacteristics​(List<EObject> eobjects)
        =========== Profiles Handling ===========
      • getApplicableCharacteristics

        protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getApplicableCharacteristics​(EObject eobject)
      • effectiveCharacteristics

        protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> effectiveCharacteristics​(List<List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>>> characteristics)
      • getCharacteristics

        protected List<Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType>> getCharacteristics​(EObject eobject)
      • transformComponent

        protected org.palladiosimulator.dataflow.diagram.characterized.DataFlowDiagramCharacterized.CharacterizedNode transformComponent​(org.palladiosimulator.pcm.core.entity.InterfaceProvidingRequiringEntity bc,
                                                                                                                                         Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformSEFF

        protected void transformSEFF​(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seff,
                                     Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • transformAction

        protected Object transformAction​(org.palladiosimulator.pcm.seff.AbstractAction action,
                                         Stack<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      • determineLiterals

        protected List<org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.Literal> determineLiterals​(Characteristic<? extends org.palladiosimulator.dataflow.dictionary.characterized.DataDictionaryCharacterized.CharacteristicType> characteristic)