org.yawlfoundation.yawl.util
Class YIdentifierBag

java.lang.Object
  extended by org.yawlfoundation.yawl.util.YIdentifierBag

public class YIdentifierBag
extends Object

Author:
Lachlan Aldred, Michael Adams (updated for 2.0)

Field Summary
 YNetElement _condition
           
 
Constructor Summary
YIdentifierBag(YNetElement condition)
           
 
Method Summary
 void addIdentifier(YPersistenceManager pmgr, YIdentifier identifier)
           
 boolean contains(YIdentifier identifier)
           
 int getAmount(YIdentifier identifier)
           
 List<YIdentifier> getIdentifiers()
           
 void remove(YPersistenceManager pmgr, YIdentifier identifier, int amountToRemove)
           
 void removeAll(YPersistenceManager pmgr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_condition

public YNetElement _condition
Constructor Detail

YIdentifierBag

public YIdentifierBag(YNetElement condition)
Method Detail

addIdentifier

public void addIdentifier(YPersistenceManager pmgr,
                          YIdentifier identifier)
                   throws YPersistenceException
Throws:
YPersistenceException

getAmount

public int getAmount(YIdentifier identifier)

contains

public boolean contains(YIdentifier identifier)

getIdentifiers

public List<YIdentifier> getIdentifiers()

remove

public void remove(YPersistenceManager pmgr,
                   YIdentifier identifier,
                   int amountToRemove)
            throws YPersistenceException
Throws:
YPersistenceException

removeAll

public void removeAll(YPersistenceManager pmgr)
               throws YPersistenceException
Throws:
YPersistenceException


Copyright © 2004-2012 The YAWL Foundation.