Class PlanDefinitionDataElementsRenderer

  • All Implemented Interfaces:
    science.aist.gtf.transformation.renderer.TransformationRender<science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>>,​science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​org.hl7.fhir.r4.model.PlanDefinition>

    @Component
    public class PlanDefinitionDataElementsRenderer
    extends Object
    implements science.aist.gtf.transformation.renderer.TransformationRender<science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>>,​science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​org.hl7.fhir.r4.model.PlanDefinition>

    Processes a given graph of backbone elements and adds the data elements + its flow to the graph

    Notes: - We assume that every output create a new dataobject + ref - Every input has a reference to an output and can thus lead to the correct ref or has no ref, that it creates a new dataobject + ref

    Author:
    Andreas Pointner
    • Constructor Detail

      • PlanDefinitionDataElementsRenderer

        public PlanDefinitionDataElementsRenderer()
    • Method Detail

      • renderElement

        public science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void> renderElement​(science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void> graphBuilder,
                                                                                                                           org.hl7.fhir.r4.model.PlanDefinition currentElement)
        Specified by:
        renderElement in interface science.aist.gtf.transformation.renderer.TransformationRender<science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>>,​science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​org.hl7.fhir.r4.model.PlanDefinition>
      • createElement

        public Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>> createElement()
        Specified by:
        createElement in interface science.aist.gtf.transformation.renderer.TransformationRender<science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>>,​science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​org.hl7.fhir.r4.model.PlanDefinition>
      • mapProperties

        public Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>> mapProperties​(Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>> dataObjectRefMap,
                                                                                                                                               science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void> graphBuilder,
                                                                                                                                               org.hl7.fhir.r4.model.PlanDefinition currentElement)
        Specified by:
        mapProperties in interface science.aist.gtf.transformation.renderer.TransformationRender<science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​Map<String,​science.aist.gtf.graph.Vertex<org.hl7.fhir.r4.model.PlanDefinitionActionIOComponent,​Void>>,​science.aist.gtf.graph.builder.GraphBuilder<org.hl7.fhir.r4.model.BackboneElement,​Void>,​org.hl7.fhir.r4.model.PlanDefinition>