Class NESTGraphBuilderImpl<T extends NESTGraphObject>

java.lang.Object
de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTGraphBuilderImpl<T>
All Implemented Interfaces:
NESTGraphBuilder<T>

public class NESTGraphBuilderImpl<T extends NESTGraphObject> extends Object implements NESTGraphBuilder<T>
Definition of a NEST workflow builder. Refer to the corresponding Interface NESTWorkflowBuilder for more information.
  • Constructor Details

    • NESTGraphBuilderImpl

      public NESTGraphBuilderImpl(Model model)
    • NESTGraphBuilderImpl

      public NESTGraphBuilderImpl()
  • Method Details

    • createNESTGraphObject

      public T createNESTGraphObject(String NESTGraphId, String graphClass, DataObject semanticDescriptor)
      Description copied from interface: NESTGraphBuilder
      Creates a new nest graph object including the workflow node.
      Specified by:
      createNESTGraphObject in interface NESTGraphBuilder<T extends NESTGraphObject>
      Parameters:
      NESTGraphId - for the nest graph object and the corresponding workflow node
      graphClass - data class of the nest graph
      semanticDescriptor - semantic descriptor of the graph node
      Returns:
      the created nest graph object
    • createEmptyNESTGraphObject

      public T createEmptyNESTGraphObject(String NESTGraphId, String graphClass)
      Description copied from interface: NESTGraphBuilder
      Creates an empty new nest graph object without workflow node.
      Specified by:
      createEmptyNESTGraphObject in interface NESTGraphBuilder<T extends NESTGraphObject>
      Parameters:
      NESTGraphId - for the nest graph object
      graphClass - data class of the nest graph
      Returns:
      the created nest graph object
    • createNESTGraphObject

      public T createNESTGraphObject(String xmlString)
      Description copied from interface: NESTGraphBuilder
      Creates a new nest graph object from a given String.
      Specified by:
      createNESTGraphObject in interface NESTGraphBuilder<T extends NESTGraphObject>
      Parameters:
      xmlString - XML representation of the nest graph
      Returns:
      the created nest graph object