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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEmptyNESTGraphObject
(String NESTGraphId, String graphClass) Creates an empty new nest graph object without workflow node.createNESTGraphObject
(String xmlString) Creates a new nest graph object from a given String.createNESTGraphObject
(String NESTGraphId, String graphClass, DataObject semanticDescriptor) Creates a new nest graph object including the workflow node.
-
Constructor Details
-
NESTGraphBuilderImpl
-
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 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
Description copied from interface:NESTGraphBuilder
Creates an empty new nest graph object without workflow node.- Specified by:
createEmptyNESTGraphObject
in interfaceNESTGraphBuilder<T extends NESTGraphObject>
- Parameters:
NESTGraphId
- for the nest graph objectgraphClass
- data class of the nest graph- Returns:
- the created nest graph object
-
createNESTGraphObject
Description copied from interface:NESTGraphBuilder
Creates a new nest graph object from a given String.- Specified by:
createNESTGraphObject
in interfaceNESTGraphBuilder<T extends NESTGraphObject>
- Parameters:
xmlString
- XML representation of the nest graph- Returns:
- the created nest graph object
-