public class ProcessModel
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ProcessModel(java.lang.String name,
java.lang.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.
|
java.util.List<DiagramInfo> |
getDiagramInfos()
Returns a list of information about diagrams defined in this process model.
|
java.util.List<ProcessElement> |
getElements() |
ModuleResource |
getModuleResource()
Gets the module resource in which this process model is defined.
|
java.lang.String |
getName() |
java.lang.String |
getProcessType() |
java.lang.String |
toString() |
public ProcessModel(java.lang.String name, java.lang.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 java.lang.String getName()
public java.lang.String getProcessType()
public ModuleResource getModuleResource()
public void addProcessElement(ProcessElement element)
element
- the element to add.public java.util.List<ProcessElement> getElements()
public void addDiagram(DiagramInfo info)
info
- the diagram informationpublic java.util.List<DiagramInfo> getDiagramInfos()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.