net.sf.freecol.server.ai
Class ProductionCache.Entry

java.lang.Object
  extended by net.sf.freecol.server.ai.ProductionCache.Entry
Enclosing class:
ProductionCache

public class ProductionCache.Entry
extends java.lang.Object


Field Summary
private  GoodsType goodsType
           
private  boolean isExpert
           
private  boolean isOtherExpert
           
private  int production
           
private  Unit unit
           
private  boolean unitUpgrades
           
private  boolean unitUpgradesToExpert
           
private  WorkLocation workLocation
           
 
Constructor Summary
ProductionCache.Entry(GoodsType g, WorkLocation w, Unit u)
           
 
Method Summary
 GoodsType getGoodsType()
           
 int getProduction()
           
 Unit getUnit()
           
 WorkLocation getWorkLocation()
           
 boolean isExpert()
           
 boolean isOtherExpert()
           
 java.lang.String toString()
           
 boolean unitUpgrades()
           
 boolean unitUpgradesToExpert()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

goodsType

private final GoodsType goodsType

workLocation

private final WorkLocation workLocation

unit

private final Unit unit

production

private final int production

isExpert

private boolean isExpert

isOtherExpert

private boolean isOtherExpert

unitUpgrades

private boolean unitUpgrades

unitUpgradesToExpert

private boolean unitUpgradesToExpert
Constructor Detail

ProductionCache.Entry

public ProductionCache.Entry(GoodsType g,
                             WorkLocation w,
                             Unit u)
Method Detail

getGoodsType

public GoodsType getGoodsType()

getWorkLocation

public WorkLocation getWorkLocation()

getUnit

public Unit getUnit()

getProduction

public int getProduction()

isExpert

public boolean isExpert()

isOtherExpert

public boolean isOtherExpert()

unitUpgrades

public boolean unitUpgrades()

unitUpgradesToExpert

public boolean unitUpgradesToExpert()

toString

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