fdda.model
Interface WorkingPart

All Known Subinterfaces:
Connection, Node
All Known Implementing Classes:
Connection, Node, WorkingPart

public interface WorkingPart

The interface for a part of a model that can be in two states: working or not working. E.g., it is possible for a node or a connection to fail, and the algorithm should react properly.

Author:
Jörg Rüdenauer

Field Summary
static String WORKING_PROPERTY_NAME
          name of the 'working' property
 
Method Summary
 boolean isWorking()
          Returns whether the part is currently working.
 void setWorking(boolean working)
          Sets whether the part is currently working.
 

Field Detail

WORKING_PROPERTY_NAME

public static final String WORKING_PROPERTY_NAME
name of the 'working' property

See Also:
Constant Field Values
Method Detail

isWorking

public boolean isWorking()
Returns whether the part is currently working.

Returns:
whether the part is working

setWorking

public void setWorking(boolean working)
Sets whether the part is currently working.

Parameters:
working - whether the part is working


API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.