public class Xor extends WorkflowElement
relatedSentence
Constructor and Description |
---|
Xor(WorkflowElement parent,
Sentence s) |
Modifier and Type | Method and Description |
---|---|
void |
addOption(Option op)
Add an option/path to xor
|
boolean |
equals(java.lang.Object obj) |
void |
exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
Writes the task, its products and facet into the stream.
|
java.lang.String |
getName()
Returns name (no real use)
|
int |
hashCode() |
Option |
popOption()
Returns an option of the xor
|
addRelSentence, getId, getParentElement, getResName, reset, setParentElement, setResName
public Xor(WorkflowElement parent, Sentence s)
parent
- elements
- sentence of which the element was extractedpublic void addOption(Option op)
op
- public Option popOption()
public java.lang.String getName()
public void exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
exportWf2Xml
in class WorkflowElement
writer
- is the stream writer which is used to writepublic int hashCode()
hashCode
in class WorkflowElement
public boolean equals(java.lang.Object obj)
equals
in class WorkflowElement