org.gjt.universe.scheme001
Class OrderStationBuild_001

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

class OrderStationBuild_001
extends Order


Field Summary
private  StationID BID
           
private  ModuleDesignID EID
           
private  float manufacturingPointsRequired
           
private  float pointsManufactured
           
private  Station_001 station
           
 
Constructor Summary
OrderStationBuild_001(StationID BID, ModuleDesignID EID)
           
 
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()
           
(package private)  ModuleDesignID getModuleDesign()
           
 float getPercentageCompletion()
           
(package private)  StationID getStation()
           
 boolean process()
          This method processes the appropriate order.
 void submit()
           
 java.lang.String toString()
           
 
Methods inherited from class org.gjt.universe.Order
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BID

private StationID BID

station

private Station_001 station

EID

private ModuleDesignID EID

pointsManufactured

private float pointsManufactured

manufacturingPointsRequired

private float manufacturingPointsRequired
Constructor Detail

OrderStationBuild_001

public OrderStationBuild_001(StationID BID,
                             ModuleDesignID EID)
Method Detail

getStation

StationID getStation()

getModuleDesign

ModuleDesignID getModuleDesign()

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.