public class ProcessElement
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ProcessElement(java.lang.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.
|
java.util.List<ProcessElement> |
getBoundaryElements()
Gets a list of boundary elements of this element.
|
java.util.List<ProcessElement> |
getChildren()
Gets a list of children elements of this element.
|
java.util.List<DiagramInfo> |
getDiagramInfos()
Returns a list of information about diagrams defined in this process element.
|
java.lang.String |
getName()
Gets the element name.
|
ModuleResource |
getResource()
Gets the resource this element is defined in.
|
ProcessElementType |
getType()
Gets the element type.
|
java.lang.String |
toString() |
public ProcessElement(java.lang.String name, ProcessElementType type, ModuleResource resource)
name
- the element nametype
- the element typeresource
- the resource in which this element is definedFpublic java.lang.String getName()
public ProcessElementType getType()
public ModuleResource getResource()
public void addDiagramInfo(DiagramInfo info)
info
- the diagram informationpublic java.util.List<DiagramInfo> getDiagramInfos()
public void addChild(ProcessElement element)
element
- the elementpublic java.util.List<ProcessElement> getChildren()
public void addBoundaryElement(ProcessElement element)
element
- the elementpublic java.util.List<ProcessElement> getBoundaryElements()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.