|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.models.bpel.BPELProcess
public class BPELProcess
Title: BPELProcess
Description: Class for a BPEL process
Copyright: Copyright (c) 2006
Company: TU/e
Constructor Summary | |
---|---|
BPELProcess(org.w3c.dom.Element element)
Create a new BPEL process from the given element. |
|
BPELProcess(java.lang.String name)
Create a new BPEL process with given name. |
Method Summary | |
---|---|
void |
acceptVisitor(BPELVisitor visitor)
Accept a visitor. |
int |
countActivities(java.lang.String name)
Count the number of activities in the process. |
BPELActivity |
getActivity()
Get the child activity of the process. |
java.lang.String |
getName()
Get the value of the name attribute for the process. |
void |
hookupActivities()
Traverse the underlying element and create a BPEL activity for every recognized element. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Set an attribute for the process. |
void |
setChildActivity(BPELActivity activity)
Set the child activity. |
java.lang.String |
toString()
Return a string representation of the process. |
java.lang.String |
writeToDot(BPEL model)
Write the process in dot format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BPELProcess(org.w3c.dom.Element element)
element
- Element This should be the element underlying the BPEL process.public BPELProcess(java.lang.String name)
name
- String The name attribute of the new process.Method Detail |
---|
public void hookupActivities()
public void setChildActivity(BPELActivity activity)
activity
- BPELActivity The child activity.public void setAttribute(java.lang.String name, java.lang.String value)
name
- String The name of the attributevalue
- String The value of the attributepublic java.lang.String toString()
toString
in class java.lang.Object
public void acceptVisitor(BPELVisitor visitor)
acceptVisitor
in interface BPELVisitable
visitor
- BPELVisitor The visitor.public java.lang.String getName()
public BPELActivity getActivity()
public int countActivities(java.lang.String name)
name
- String The tag name of the activities to count.
public java.lang.String writeToDot(BPEL model)
model
- BPEL The corresponding BPEL model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |