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 InterfaceNESTWorkflowBuilderfor more information.
-
-
Constructor Summary
Constructors Constructor Description NESTGraphBuilderImpl()NESTGraphBuilderImpl(Model model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcreateEmptyNESTGraphObject(String NESTGraphId, String graphClass)Creates an empty new nest graph object without workflow node.TcreateNESTGraphObject(String xmlString)Creates a new nest graph object from a given String.TcreateNESTGraphObject(String NESTGraphId, String graphClass, DataObject semanticDescriptor)Creates a new nest graph object including the workflow node.
-
-
-
Constructor Detail
-
NESTGraphBuilderImpl
public NESTGraphBuilderImpl(Model model)
-
NESTGraphBuilderImpl
public NESTGraphBuilderImpl()
-
-
Method Detail
-
createNESTGraphObject
public T createNESTGraphObject(String NESTGraphId, String graphClass, DataObject semanticDescriptor)
Description copied from interface:NESTGraphBuilderCreates a new nest graph object including the workflow node.- Specified by:
createNESTGraphObjectin interfaceNESTGraphBuilder<T extends NESTGraphObject>- Parameters:
NESTGraphId- for the nest graph object and the corresponding workflow nodegraphClass- data class of the nest graphsemanticDescriptor- semantic descriptor of the graph node- Returns:
- the created nest graph object
-
createEmptyNESTGraphObject
public T createEmptyNESTGraphObject(String NESTGraphId, String graphClass)
Description copied from interface:NESTGraphBuilderCreates an empty new nest graph object without workflow node.- Specified by:
createEmptyNESTGraphObjectin interfaceNESTGraphBuilder<T extends NESTGraphObject>- Parameters:
NESTGraphId- for the nest graph objectgraphClass- data class of the nest graph- Returns:
- the created nest graph object
-
createNESTGraphObject
public T createNESTGraphObject(String xmlString)
Description copied from interface:NESTGraphBuilderCreates a new nest graph object from a given String.- Specified by:
createNESTGraphObjectin interfaceNESTGraphBuilder<T extends NESTGraphObject>- Parameters:
xmlString- XML representation of the nest graph- Returns:
- the created nest graph object
-
-