org.yawlfoundation.yawl.resourcing.resource
Class SecondaryResources

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.resource.SecondaryResources

public class SecondaryResources
extends Object

Manages a set of secondary resources for a single task (via a ResourceMap)

Author:
Michael Adams
Created/Last Date:
11/05/2011

Nested Class Summary
 class SecondaryResources.SecResDataSet
           
 
Constructor Summary
SecondaryResources()
           
 
Method Summary
 SecondaryResources.SecResDataSet addDataSet(WorkItemRecord wir, SecondaryResources.SecResDataSet dataSet)
           
 boolean available(WorkItemRecord wir)
           
 List<String> checkAvailability(WorkItemRecord wir)
           
 void disengage(WorkItemRecord wir)
           
 void engage(WorkItemRecord wir)
           
 SecondaryResources.SecResDataSet getDataSet(WorkItemRecord wir)
           
 SecondaryResources.SecResDataSet getDefaultDataSet()
           
 SecondaryResources.SecResDataSet newDataSet()
           
 void parse(org.jdom.Element e, org.jdom.Namespace nsYawl)
           
 SecondaryResources.SecResDataSet removeDataSet(WorkItemRecord wir)
           
 void removeDataSetsForCase(String caseID)
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondaryResources

public SecondaryResources()
Method Detail

toXML

public String toXML()

parse

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

engage

public void engage(WorkItemRecord wir)

disengage

public void disengage(WorkItemRecord wir)

available

public boolean available(WorkItemRecord wir)

checkAvailability

public List<String> checkAvailability(WorkItemRecord wir)

newDataSet

public SecondaryResources.SecResDataSet newDataSet()

getDefaultDataSet

public SecondaryResources.SecResDataSet getDefaultDataSet()

getDataSet

public SecondaryResources.SecResDataSet getDataSet(WorkItemRecord wir)

addDataSet

public SecondaryResources.SecResDataSet addDataSet(WorkItemRecord wir,
                                                   SecondaryResources.SecResDataSet dataSet)

removeDataSet

public SecondaryResources.SecResDataSet removeDataSet(WorkItemRecord wir)

removeDataSetsForCase

public void removeDataSetsForCase(String caseID)


Copyright © 2004-2012 The YAWL Foundation.