org.yawlfoundation.yawl.elements
Class YInputCondition

java.lang.Object
  extended by org.yawlfoundation.yawl.elements.YNetElement
      extended by org.yawlfoundation.yawl.elements.YExternalNetElement
          extended by org.yawlfoundation.yawl.elements.YCondition
              extended by org.yawlfoundation.yawl.elements.YInputCondition
All Implemented Interfaces:
Cloneable, Comparable, YConditionInterface, YVerifiable

public final class YInputCondition
extends YCondition

Author:
Lachlan Aldred Date: 22/04/2003 Time: 13:43:54

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.elements.YCondition
_bag
 
Fields inherited from class org.yawlfoundation.yawl.elements.YExternalNetElement
_documentation, _name, _net
 
Constructor Summary
YInputCondition(String id, String label, YNet container)
          Constructor.
YInputCondition(String id, YNet container)
           
 
Method Summary
 Object clone()
           
 List<YVerificationMessage> verify()
          This is one of those few cases where the sub-class has tighter constraints than the parent class on one of the supertype members (preset).
 
Methods inherited from class org.yawlfoundation.yawl.elements.YCondition
add, contains, containsIdentifier, getAmount, getIdentifiers, isAnonymous, isImplicit, remove, removeAll, removeAll, removeOne, removeOne, setImplicit, toXML
 
Methods inherited from class org.yawlfoundation.yawl.elements.YExternalNetElement
addPostset, addPreset, addToCancelledBySet, addToYawlMappings, addToYawlMappings, getCancelledBySet, getDocumentation, getDocumentationPreParsed, getName, getNet, getPostsetElement, getPostsetElements, getPostsetFlow, getPostsetFlows, getPresetElement, getPresetElements, getPresetFlow, getPresetFlows, getProperID, getYawlMappings, removeFromCancelledBySet, removePostsetFlow, removePresetFlow, setDocumentation, setName, verifyPostsetFlows, verifyPresetFlows
 
Methods inherited from class org.yawlfoundation.yawl.elements.YNetElement
compareTo, getID, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YInputCondition

public YInputCondition(String id,
                       String label,
                       YNet container)
Constructor.

Parameters:
id - of the NetElement.
label - of the condition.

YInputCondition

public YInputCondition(String id,
                       YNet container)
Method Detail

verify

public List<YVerificationMessage> verify()
This is one of those few cases where the sub-class has tighter constraints than the parent class on one of the supertype members (preset). ie. an InputCondition must always have an empty preset.

Specified by:
verify in interface YVerifiable
Overrides:
verify in class YCondition
Returns:
a List of error messages.
See Also:
YVerificationMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class YCondition
Throws:
CloneNotSupportedException


Copyright © 2004-2012 The YAWL Foundation.