org.obe.xpdl.model.ext
Class While

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.ext.LoopBody
          extended byorg.obe.xpdl.model.ext.While
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.io.Serializable

public final class While
extends LoopBody

Describes a WHILE loop.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.xpdl.model.ext.LoopBody
FOR_EACH, NONE, UNTIL, WHILE
 
Constructor Summary
While()
           
While(Condition condition)
           
 
Method Summary
 Condition getCondition()
          Returns the loop invariant condition.
 int getType()
           
 void setCondition(Condition condition)
          Sets the condition for the loop.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.util.AbstractBean
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

While

public While()

While

public While(Condition condition)
Method Detail

getCondition

public Condition getCondition()
Returns the loop invariant condition.

Returns:
The condition for the loop.

setCondition

public void setCondition(Condition condition)
Sets the condition for the loop.

Parameters:
condition - The condition for the loop

getType

public int getType()
Specified by:
getType in class LoopBody

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.