Package de.xima.fc.workflow
Class NodePrototypeData<TData>
- java.lang.Object
 - 
- de.xima.fc.workflow.NodePrototypeData<TData>
 
 
- 
- Type Parameters:
 TData- Type of the properties model, seeINodeHandler.
- All Implemented Interfaces:
 IElementPrototypeData<TData>,IWorkflowElementTypeProviding,INodePrototypeData<TData>,IWorkflowNodeTypeProviding
public class NodePrototypeData<TData> extends Object implements INodePrototypeData<TData>
Default POJO implementation ofINodePrototypeData.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description NodePrototypeData(String kind, TData customParameters, List<INodePrototypeData<?>> children) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<INodePrototypeData<?>>getChildren()TDatagetData()When a new workflow element is created, its data default to what is returned by this method.StringgetType() 
 - 
 
- 
- 
Constructor Detail
- 
NodePrototypeData
public NodePrototypeData(String kind, TData customParameters, List<INodePrototypeData<?>> children)
 
 - 
 
- 
Method Detail
- 
getChildren
public List<INodePrototypeData<?>> getChildren()
- Specified by:
 getChildrenin interfaceINodePrototypeData<TData>- Returns:
 - A list of children for this node prototype. All children will be cloned and added as well when a new node is created.
 
 
- 
getData
public TData getData()
Description copied from interface:IElementPrototypeDataWhen a new workflow element is created, its data default to what is returned by this method. A copy is made of that data, subsequent modifications to the value returned by this method will not affect the workflow designer.- Specified by:
 getDatain interfaceIElementPrototypeData<TData>- Returns:
 - The properties to be used for the new workflow element.
 
 
- 
getType
public String getType()
- Specified by:
 getTypein interfaceIWorkflowElementTypeProviding- Returns:
 - The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
 
 
 - 
 
 -