org.yawlfoundation.yawl.resourcing.datastore.eventlog
Class ResourceEvent

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.datastore.eventlog.BaseEvent
      extended by org.yawlfoundation.yawl.resourcing.datastore.eventlog.ResourceEvent
All Implemented Interfaces:
Cloneable

public class ResourceEvent
extends BaseEvent
implements Cloneable

An object representing one resourcing event for logging.

Author:
Michael Adams Date: 23/08/2009

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.datastore.eventlog.BaseEvent
_event, _id, _timeStamp
 
Constructor Summary
ResourceEvent()
           
ResourceEvent(org.jdom.Element xml)
          Constructor for unmarshalling from xml
ResourceEvent(long specKey, String caseID, String id, EventLogger.event eType)
          Constructor for case level and secondary resource events
ResourceEvent(long specKey, WorkItemRecord wir, String pid, EventLogger.event eType)
          Constructor for item level events
 
Method Summary
 ResourceEvent clone()
           
 void fromXML(org.jdom.Element xml)
           
 String get_caseID()
           
 String get_itemID()
           
 String get_resourceID()
           
 long get_specKey()
           
 String get_taskID()
           
 void set_caseID(String caseID)
           
 void set_itemID(String itemID)
           
 void set_resourceID(String participantID)
           
 void set_specKey(long specKey)
           
 void set_taskID(String taskID)
           
 String toXML()
           
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.datastore.eventlog.BaseEvent
get_event, get_id, get_timeStamp, getTimeStampMidString, getTimeStampString, set_event, set_id, set_timeStamp
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceEvent

public ResourceEvent()

ResourceEvent

public ResourceEvent(long specKey,
                     WorkItemRecord wir,
                     String pid,
                     EventLogger.event eType)
Constructor for item level events


ResourceEvent

public ResourceEvent(long specKey,
                     String caseID,
                     String id,
                     EventLogger.event eType)
Constructor for case level and secondary resource events


ResourceEvent

public ResourceEvent(org.jdom.Element xml)
Constructor for unmarshalling from xml

Method Detail

clone

public final ResourceEvent clone()
Overrides:
clone in class Object

get_caseID

public String get_caseID()

set_caseID

public void set_caseID(String caseID)

get_taskID

public String get_taskID()

set_taskID

public void set_taskID(String taskID)

get_itemID

public String get_itemID()

set_itemID

public void set_itemID(String itemID)

get_resourceID

public String get_resourceID()

set_resourceID

public void set_resourceID(String participantID)

get_specKey

public long get_specKey()

set_specKey

public void set_specKey(long specKey)

toXML

public String toXML()
Overrides:
toXML in class BaseEvent

fromXML

public void fromXML(org.jdom.Element xml)
Overrides:
fromXML in class BaseEvent


Copyright © 2004-2012 The YAWL Foundation.