Class WFBlockToGraph

    • Field Detail

      • NODE_END_PREFIX

        protected String NODE_END_PREFIX
        Prefix for endnodes of NodeObjects (nodes) of the block-oriented workflow-objectmodel.
      • DATA_ELEMENT_PREFIX

        protected String DATA_ELEMENT_PREFIX
        Prefix for dataelements (DataflowWrapperObjects) of the block-oriented workflow-objectmodel.
      • SUBWFL_ID_PREFIX

        protected String SUBWFL_ID_PREFIX
        Prefix for subworkflows of the block-oriented workflow-objectmodel.
      • EDGE_ID_PREFIX

        protected String EDGE_ID_PREFIX
        Prefix for edges without any previous ID when converted to NESTGraph.
      • model

        protected Model model
        Stores the model used for instantiating all CAKE I - objects.
      • transformationConfig

        protected TransformationConfig transformationConfig
        quick reference to transformation configuration
    • Constructor Detail

      • WFBlockToGraph

        public WFBlockToGraph​(Model model)
        Standard constructor.
        Parameters:
        model - The model, which should be used for instantiating the CAKE I - objects.
    • Method Detail

      • doInit

        protected void doInit()
        Handles additional initialization for the subclasses. This is not done in the constructor, because of the special handling of concrete-class-variable-instantiation of JAVA. (Abstract methods dont execute correctly in abstract constructors)
      • createEmptyGraph

        protected abstract void createEmptyGraph()
        Instantiates the necessary GraphNodes & GraphEdges to represent an empty graph.
      • getGraph

        public NESTWorkflowObject getGraph()
        Returns the created graph based on the transmitted events.
        Returns:
        The created graph.
      • getNewEdgeID

        protected String getNewEdgeID()
        Returns a new workflow-unique ID for an edge, which consists of a special prefix for edges + an autoincremented integer.
        Returns: