public class ProcessModel extends Object implements Serializable
Constructor and Description |
---|
ProcessModel(String name,
String processType,
ModuleResource moduleResource)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
addDiagram(DiagramInfo info)
Adds information about a diagram owned by this process model.
|
void |
addProcessElement(ProcessElement element)
Add process element to this process model.
|
List<DiagramInfo> |
getDiagramInfos()
Returns a list of information about diagrams defined in this process model.
|
List<ProcessElement> |
getElements() |
ModuleResource |
getModuleResource()
Gets the module resource in which this process model is defined.
|
String |
getName() |
String |
getProcessType() |
String |
toString() |
public ProcessModel(String name, String processType, ModuleResource moduleResource)
name
- the name of the process modelprocessType
- the type of the process modelmoduleResource
- the resource in which this process model is definedpublic String getName()
public String getProcessType()
public ModuleResource getModuleResource()
public void addProcessElement(ProcessElement element)
element
- the element to add.public List<ProcessElement> getElements()
public void addDiagram(DiagramInfo info)
info
- the diagram informationpublic List<DiagramInfo> getDiagramInfos()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.