org.gjt.universe.scheme001
Class OrderStation1_001

java.lang.Object
  |
  +--org.gjt.universe.Order
        |
        +--org.gjt.universe.scheme001.OrderStation1_001
All Implemented Interfaces:
java.io.Serializable

class OrderStation1_001
extends Order


Constructor Summary
OrderStation1_001()
           
 
Method Summary
 void atPosition(int i)
          This method handles anything that needs to be done when the order is at a specific position int a queue.
 void delete()
           
 int getEstimatedTimeOfCompletion()
           
 Index getKey()
           
 float getPercentageCompletion()
           
 boolean process()
          This method processes the appropriate order.
 void submit()
           
 
Methods inherited from class org.gjt.universe.Order
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderStation1_001

public OrderStation1_001()
Method Detail

process

public boolean process()
Description copied from class: Order
This method processes the appropriate order. If this method returns a true, then the order is complete and can be removed.

Specified by:
process in class Order

getKey

public Index getKey()
Specified by:
getKey in class Order

getEstimatedTimeOfCompletion

public int getEstimatedTimeOfCompletion()
Specified by:
getEstimatedTimeOfCompletion in class Order

getPercentageCompletion

public float getPercentageCompletion()
Specified by:
getPercentageCompletion in class Order

atPosition

public void atPosition(int i)
Description copied from class: Order
This method handles anything that needs to be done when the order is at a specific position int a queue. Notes:

submit

public void submit()
Specified by:
submit in class Order

delete

public void delete()
Specified by:
delete in class Order


Copyright © 2001 Universe Dev Team All Rights Reserved.