org.yawlfoundation.yawl.resourcing.constraints
Class GenericConstraint

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.AbstractSelector
      extended by org.yawlfoundation.yawl.resourcing.constraints.AbstractConstraint
          extended by org.yawlfoundation.yawl.resourcing.constraints.GenericConstraint

public class GenericConstraint
extends AbstractConstraint

A base or generic constraint class which allows external entities such as the Editor the ability to instantiate it as a medium for specification XML generation Create Date: 14/08/2007. Last Date: 12/11/2007

Version:
2.0
Author:
Michael Adams (BPM Group, QUT Australia)

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
_canonicalName, _description, _displayName, _name, _params
 
Constructor Summary
GenericConstraint()
           
 
Method Summary
 Set<Participant> performConstraint(Set<Participant> resources, WorkItemRecord wir)
          Performs a constraint against the distribution set passed
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.constraints.AbstractConstraint
toXML, unmarshal
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
addKey, addParam, addParams, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParamKeys, getParams, getParamValue, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, unmarshalParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericConstraint

public GenericConstraint()
Method Detail

performConstraint

public Set<Participant> performConstraint(Set<Participant> resources,
                                          WorkItemRecord wir)
Description copied from class: AbstractConstraint
Performs a constraint against the distribution set passed

Specified by:
performConstraint in class AbstractConstraint
Parameters:
resources - the distribution set of participants
wir - the workitem being resourced
Returns:
the constrined distribution set


Copyright © 2004-2012 The YAWL Foundation.