org.yawlfoundation.yawl.resourcing.interactions
Class AbstractInteraction

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.interactions.AbstractInteraction
Direct Known Subclasses:
AllocateInteraction, OfferInteraction, StartInteraction

public abstract class AbstractInteraction
extends Object

Base class for the Offer, Allocate and Start interaction points.

Author:
Michael Adams v0.1, 02/08/2007

Field Summary
protected  int _initiator
           
protected  String _ownerTaskID
           
static int SYSTEM_INITIATED
           
static int USER_INITIATED
           
 
Constructor Summary
AbstractInteraction()
           
AbstractInteraction(int initiator)
           
AbstractInteraction(String ownerTaskID)
           
 
Method Summary
 int getInitiator()
           
 String getInitiatorString()
           
 String getOwnerTaskID()
           
 boolean isSystemInitiated()
           
 void parseInitiator(org.jdom.Element e, org.jdom.Namespace nsYawl)
           
 Map<String,String> parseParams(org.jdom.Element e, org.jdom.Namespace nsYawl)
           
 boolean setInitiator(int i)
           
 void setOwnerTaskID(String ownerTaskID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_INITIATED

public static final int USER_INITIATED
See Also:
Constant Field Values

SYSTEM_INITIATED

public static final int SYSTEM_INITIATED
See Also:
Constant Field Values

_initiator

protected int _initiator

_ownerTaskID

protected String _ownerTaskID
Constructor Detail

AbstractInteraction

public AbstractInteraction()

AbstractInteraction

public AbstractInteraction(String ownerTaskID)

AbstractInteraction

public AbstractInteraction(int initiator)
Method Detail

getOwnerTaskID

public String getOwnerTaskID()

setOwnerTaskID

public void setOwnerTaskID(String ownerTaskID)

setInitiator

public boolean setInitiator(int i)

getInitiator

public int getInitiator()

getInitiatorString

public String getInitiatorString()

isSystemInitiated

public boolean isSystemInitiated()

parseInitiator

public void parseInitiator(org.jdom.Element e,
                           org.jdom.Namespace nsYawl)
                    throws ResourceParseException
Throws:
ResourceParseException

parseParams

public Map<String,String> parseParams(org.jdom.Element e,
                                      org.jdom.Namespace nsYawl)


Copyright © 2004-2012 The YAWL Foundation.