Interface TransformationConfigTags


  • public interface TransformationConfigTags
    These definitions are necessary for converting Workflow-trees to Workflow-NESTGraphs. They connect the internal functionality of each necessary entity, to the name in the transformation-config.xml - file. In this case the name of the internal functionality always corresponds to the name in the transformation-config.xml. However, a different naming is possible and due to programming habits the definition of strings are not done in the same file as the code lies.

    The transformation-config.xml offers configuration for transforming the tree structure of workflows into NESTGraph-workflows. As NESTGraph explicitly specifies relations, which are implicitly known in the tree structure of workflows, additional definitions have to be provided. Usertypes (model.xml) are necessary to provide this additional definition. The benefit of using usertypes (model.xml) for semantic descriptions is, that one is then also able to use the CAKE I - similarity measurement (sim.xml) for calculating similarities between semantic descriptions.

    Author:
    Alexander Stromer
    • Field Detail

      • CLASS_DEFAULT_EDGESEMANTIC

        static final String CLASS_DEFAULT_EDGESEMANTIC
        NESTGraphs do allow semantic descriptions for edges (tree workflows dont allow that as they dont have any explicit specification of edges). You have to provide a usertype for semantic descriptions of edges for the transformation.
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_CONTROLEDGESEMANTIC

        static final String CLASS_DEFAULT_CONTROLEDGESEMANTIC
        NESTGraphs do allow semantic descriptions for edges (tree workflows dont allow that as they dont have any explicit specification of edges). You have to provide a usertype for semantic descriptions of edges for the transformation.
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_DATASEMANTIC

        static final String CLASS_DEFAULT_DATASEMANTIC
        As tree workflows already distinguishes between DataItems and other items in the workflow, the DataItems provide a name and value by themselves. However, for NESTGraph-similarity-computation, these items have to be accessable through the semantic description. Therefore ANY DataNode in the NestGraph has to have a semantic description to hold the value of the DataItem and an optional name (e.g. name: color; value: green)
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_TASKSEMANTIC

        static final String CLASS_DEFAULT_TASKSEMANTIC
        Tasks need to store their status in NESTGraph, so we have to know the SemanticClass we should use when transforming
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_NODESEMANTIC

        static final String CLASS_DEFAULT_NODESEMANTIC
        Nodes (AND/XOR/LOOP) also need to store their status
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_WORKFLOWSEMANTIC

        static final String CLASS_DEFAULT_WORKFLOWSEMANTIC
        The workflow also has a global status, so we need the SemanticClass we should use
        See Also:
        Constant Field Values
      • CLASS_DEFAULT_SUBWORKFLOWSEMANTIC

        static final String CLASS_DEFAULT_SUBWORKFLOWSEMANTIC
        Subworkflows need to store their status
        See Also:
        Constant Field Values
      • ATT_SYS_TYPE

        static final String ATT_SYS_TYPE
        the default edgesemantic-usertype has to contain this attribute, to set the types for PartOfEdges and DataflowEdges
        See Also:
        Constant Field Values
      • ATT_SYS_NAME

        static final String ATT_SYS_NAME
        the default datasemantic-usertype has to contain this attribute, to set the optional name for DataNodes
        See Also:
        Constant Field Values
      • ATT_SYS_VALUE

        static final String ATT_SYS_VALUE
        the default datasemantic-usertype has to contain this attribute, to set the value of a DataNode
        See Also:
        Constant Field Values
      • ATT_SYS_STATUS

        static final String ATT_SYS_STATUS
        many semantic classes (task, workflow, subworkflow, node) have to contain this attribute in order to store the status of this item
        See Also:
        Constant Field Values
      • ATT_SYS_SEQUENCE_ID

        static final String ATT_SYS_SEQUENCE_ID
        the semantic classes of task, subworkflow and node have to have this attribute. this is a workaround for keeping the sequence ID in NESTGraph
        See Also:
        Constant Field Values
      • ATT_SYS_SEQUENCE_STATUS

        static final String ATT_SYS_SEQUENCE_STATUS
        the semantic classes of task and node have to have this attribute. this is a workaround for keeping the sequence status in NESTGraph
        See Also:
        Constant Field Values
      • ATT_NAME

        static final String ATT_NAME
        the semantic classes of task and dataflow also have this attribute.
        See Also:
        Constant Field Values
      • VAL_IS_INTERMEDIATE

        static final String VAL_IS_INTERMEDIATE
        if DataItem is used as input AND output for tasks
        See Also:
        Constant Field Values
      • VAL_IS_PARAMETER

        static final String VAL_IS_PARAMETER
        if DataItem is not used directly for tasks but rather as a parameter for the workflow / not as input or output
        See Also:
        Constant Field Values
      • VAL_HAS_SUBWORKFLOW

        static final String VAL_HAS_SUBWORKFLOW
        if the PartOfEdge is connected to a subworkflow
        See Also:
        Constant Field Values
      • VAL_HAS_CONTROL

        static final String VAL_HAS_CONTROL
        if the PartOfEdge is connected to a controlflowitem (like AND_SPLIT, AND_JOIN, ..)
        See Also:
        Constant Field Values
      • NESTGRAPH_WORKFLOWNODE_ID_PREFIX

        static final String NESTGRAPH_WORKFLOWNODE_ID_PREFIX
        if the DataItem is used as output
        See Also:
        Constant Field Values