public class ProcessElement extends Object implements Serializable
Constructor and Description |
---|
ProcessElement(String name,
ProcessElementType type,
ModuleResource resource)
Creates a new process element with a given name and the element type.
|
Modifier and Type | Method and Description |
---|---|
void |
addBoundaryElement(ProcessElement element)
Adds a boundary element to this element.
|
void |
addChild(ProcessElement element)
Adds a child element to this element.
|
void |
addDiagramInfo(DiagramInfo info)
Adds a diagram information about diagrams owned by this process element.
|
List<ProcessElement> |
getBoundaryElements()
Gets a list of boundary elements of this element.
|
List<ProcessElement> |
getChildren()
Gets a list of children elements of this element.
|
List<DiagramInfo> |
getDiagramInfos()
Returns a list of information about diagrams defined in this process element.
|
String |
getName()
Gets the element name.
|
ModuleResource |
getResource()
Gets the resource this element is defined in.
|
ProcessElementType |
getType()
Gets the element type.
|
String |
toString() |
public ProcessElement(String name, ProcessElementType type, ModuleResource resource)
name
- the element nametype
- the element typeresource
- the resource in which this element is definedFpublic String getName()
public ProcessElementType getType()
public ModuleResource getResource()
public void addDiagramInfo(DiagramInfo info)
info
- the diagram informationpublic List<DiagramInfo> getDiagramInfos()
public void addChild(ProcessElement element)
element
- the elementpublic List<ProcessElement> getChildren()
public void addBoundaryElement(ProcessElement element)
element
- the elementpublic List<ProcessElement> getBoundaryElements()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.