public abstract class WorkflowElement
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
Sentence |
relatedSentence |
| Constructor and Description |
|---|
WorkflowElement() |
WorkflowElement(WorkflowElement parent,
Sentence s)
Sets id and adds the Element to the list of elements
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRelSentence(Sentence sen)
Add related sentence to workflow element to be able to track the origin of an element
|
boolean |
equals(java.lang.Object obj) |
abstract void |
exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
Writes the xml representation of the current workflowelement
|
int |
getId()
The id is unique WorkflowElements (And, XOR, Sequence and Tasks) Dataobjects use a different id set
|
WorkflowElement |
getParentElement()
Returns the parent ELement of the element
|
java.lang.String |
getResName()
Deprecated.
|
int |
hashCode() |
static void |
reset()
Resets id generator and workflowelement list
|
void |
setParentElement(WorkflowElement parentSequence)
Sets new parent eLement for the element
|
void |
setResName(java.lang.String resName)
Deprecated.
|
public Sentence relatedSentence
public WorkflowElement(WorkflowElement parent, Sentence s)
public WorkflowElement()
public int getId()
public abstract void exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
writer - to write intopublic void addRelSentence(Sentence sen)
sen - @Deprecated public java.lang.String getResName()
@Deprecated public void setResName(java.lang.String resName)
public static void reset()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic WorkflowElement getParentElement()
public void setParentElement(WorkflowElement parentSequence)
the - new parent element