org.yawlfoundation.yawl.worklet.rdr
Class RdrConclusion

java.lang.Object
  extended by org.yawlfoundation.yawl.worklet.rdr.RdrConclusion

public class RdrConclusion
extends Object

This class stores a returned conclusion from a selected RdrNode. The conclusion is a JDOM Element consisting of a number of children of the form: <_n> someAction someTarget <_n> where n is an ordinal number that indicates an ordering or sequence of the primitives that form the conclusion.

Author:
Michael Adams v0.8, 04-09/2006

Constructor Summary
RdrConclusion()
           
RdrConclusion(org.jdom.Element conc)
           
 
Method Summary
 void addCompensationPrimitive(List<String> workletNames)
           
 void addCompensationPrimitive(String workletName)
           
 void addPrimitive(ExletAction action, ExletTarget target)
           
 void fromXML(String xml)
           
 String getAction(int i)
           
 org.jdom.Element getConclusion()
           
 int getCount()
           
 RdrNode[] getLastPair()
           
 RdrNode getOwnerNode()
           
 String getTarget(int i)
           
 boolean isLastPairEqual()
           
 boolean nullConclusion()
           
 void setConclusion(org.jdom.Element conc)
           
 void setLastPair(RdrNode[] pair)
           
 void setSelectionPrimitive(String workletName)
           
 String toString()
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RdrConclusion

public RdrConclusion()

RdrConclusion

public RdrConclusion(org.jdom.Element conc)
Method Detail

setConclusion

public void setConclusion(org.jdom.Element conc)

getConclusion

public org.jdom.Element getConclusion()

getAction

public String getAction(int i)

getTarget

public String getTarget(int i)

getCount

public int getCount()

setSelectionPrimitive

public void setSelectionPrimitive(String workletName)

addCompensationPrimitive

public void addCompensationPrimitive(String workletName)

addCompensationPrimitive

public void addCompensationPrimitive(List<String> workletNames)

addPrimitive

public void addPrimitive(ExletAction action,
                         ExletTarget target)

nullConclusion

public boolean nullConclusion()

toString

public String toString()
Overrides:
toString in class Object

toXML

public String toXML()

fromXML

public void fromXML(String xml)

getLastPair

public RdrNode[] getLastPair()

setLastPair

public void setLastPair(RdrNode[] pair)

isLastPairEqual

public boolean isLastPairEqual()

getOwnerNode

public RdrNode getOwnerNode()


Copyright © 2004-2012 The YAWL Foundation.