Class BpmnSubprocessTransformationRenderer

  • All Implemented Interfaces:
    science.aist.gtf.transformation.renderer.TransformationRender<Optional<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TSubProcess>>,​org.omg.spec.bpmn.model.TSubProcess,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>>

    @Component
    public class BpmnSubprocessTransformationRenderer
    extends AbstractTActivityBpmnGraphTransformationRenderer<org.omg.spec.bpmn.model.TSubProcess,​org.hl7.fhir.r4.model.BackboneElement,​org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent>

    Renderer to create a Subprocess

    Author:
    Andreas Pointner
    • Constructor Summary

      Constructors 
      Constructor Description
      BpmnSubprocessTransformationRenderer​(science.aist.gtf.transformation.renderer.condition.RendererCondition<science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>> rendererCondition, org.omg.spec.bpmn.model.ObjectFactory objectFactory, science.aist.gtf.transformation.renderer.TransformationRender<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TFlowElement>,​?,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.BackboneElement,​Void>> elementRenderer, science.aist.gtf.transformation.renderer.TransformationRender<Optional<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TSequenceFlow>>,​org.omg.spec.bpmn.model.TSequenceFlow,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Edge<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>> edgeRenderer)  
    • Constructor Detail

      • BpmnSubprocessTransformationRenderer

        public BpmnSubprocessTransformationRenderer​(@Qualifier("subprocessCondition")
                                                    science.aist.gtf.transformation.renderer.condition.RendererCondition<science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>> rendererCondition,
                                                    org.omg.spec.bpmn.model.ObjectFactory objectFactory,
                                                    @Lazy
                                                    science.aist.gtf.transformation.renderer.TransformationRender<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TFlowElement>,​?,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.BackboneElement,​Void>> elementRenderer,
                                                    science.aist.gtf.transformation.renderer.TransformationRender<Optional<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TSequenceFlow>>,​org.omg.spec.bpmn.model.TSequenceFlow,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Edge<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>> edgeRenderer)
    • Method Detail

      • createElement

        public org.omg.spec.bpmn.model.TSubProcess createElement()
      • mapProperties

        public org.omg.spec.bpmn.model.TSubProcess mapProperties​(org.omg.spec.bpmn.model.TSubProcess processParam,
                                                                 science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void> container,
                                                                 science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void> currentElement)
        Specified by:
        mapProperties in interface science.aist.gtf.transformation.renderer.TransformationRender<Optional<javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TSubProcess>>,​org.omg.spec.bpmn.model.TSubProcess,​science.aist.gtf.graph.Graph<org.hl7.fhir.r4.model.BackboneElement,​Void>,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent,​Void>>
        Overrides:
        mapProperties in class AbstractTActivityBpmnGraphTransformationRenderer<org.omg.spec.bpmn.model.TSubProcess,​org.hl7.fhir.r4.model.BackboneElement,​org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent>
      • constructJaxBElementMapping

        protected Function<org.omg.spec.bpmn.model.TSubProcess,​javax.xml.bind.JAXBElement<? extends org.omg.spec.bpmn.model.TSubProcess>> constructJaxBElementMapping()
        Specified by:
        constructJaxBElementMapping in class AbstractConditionalGraphTransformationRenderer<org.omg.spec.bpmn.model.TSubProcess,​org.hl7.fhir.r4.model.BackboneElement,​org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent>
      • canRenderer

        public boolean canRenderer​(science.aist.gtf.graph.Vertex<?,​?> vertex)
        Specified by:
        canRenderer in class AbstractConditionalGraphTransformationRenderer<org.omg.spec.bpmn.model.TSubProcess,​org.hl7.fhir.r4.model.BackboneElement,​org.hl7.fhir.r4.model.PlanDefinition.PlanDefinitionActionComponent>