org.yawlfoundation.yawl.resourcing.calendar.utilisation
Class UtilisationPlan

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.calendar.utilisation.StatusMessage
      extended by org.yawlfoundation.yawl.resourcing.calendar.utilisation.UtilisationPlan

public class UtilisationPlan
extends StatusMessage

Author:
Michael Adams
Created/Last Date:
6/10/2010

Constructor Summary
UtilisationPlan()
           
UtilisationPlan(String caseID)
           
UtilisationPlan(XNode node)
           
 
Method Summary
 boolean activitiesHaveErrors()
           
 boolean addActivity(Activity a)
           
 void fromXML(String xml)
           
 void fromXNode(XNode node)
           
 Activity getActivity(String name)
           
 List<Activity> getActivityList()
           
 String getCaseID()
           
 boolean hasActivities()
           
 boolean hasErrors()
           
 boolean removeActivity(Activity a)
           
 void setActivityList(List<Activity> list)
           
 void setCaseID(String id)
           
 String toXML()
           
 XNode toXNode()
           
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.calendar.utilisation.StatusMessage
addAttributes, getError, getWarning, hasError, hasMessage, hasWarning, setError, setWarning, toXNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilisationPlan

public UtilisationPlan()

UtilisationPlan

public UtilisationPlan(String caseID)

UtilisationPlan

public UtilisationPlan(XNode node)
Method Detail

getCaseID

public String getCaseID()

setCaseID

public void setCaseID(String id)

getActivityList

public List<Activity> getActivityList()

setActivityList

public void setActivityList(List<Activity> list)

addActivity

public boolean addActivity(Activity a)

removeActivity

public boolean removeActivity(Activity a)

getActivity

public Activity getActivity(String name)

hasActivities

public boolean hasActivities()

hasErrors

public boolean hasErrors()

activitiesHaveErrors

public boolean activitiesHaveErrors()

toXML

public String toXML()

fromXML

public void fromXML(String xml)

toXNode

public XNode toXNode()

fromXNode

public void fromXNode(XNode node)
Overrides:
fromXNode in class StatusMessage


Copyright © 2004-2012 The YAWL Foundation.