net.sf.freecol.server.ai
Class ColonyProfile

java.lang.Object
  extended by net.sf.freecol.server.ai.ColonyProfile

public class ColonyProfile
extends java.lang.Object


Nested Class Summary
static class ColonyProfile.ProfileType
           
 
Constructor Summary
ColonyProfile()
           
ColonyProfile(ColonyProfile.ProfileType type, java.util.List<GoodsType> production)
           
 
Method Summary
 java.util.List<GoodsType> getPreferredProduction()
          Get the PreferredProduction value.
 ColonyProfile.ProfileType getType()
          Get the Type value.
 void setPreferredProduction(java.util.List<GoodsType> newPreferredProduction)
          Set the PreferredProduction value.
 void setType(ColonyProfile.ProfileType newType)
          Set the Type value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColonyProfile

public ColonyProfile()

ColonyProfile

public ColonyProfile(ColonyProfile.ProfileType type,
                     java.util.List<GoodsType> production)
Method Detail

getType

public final ColonyProfile.ProfileType getType()
Get the Type value.

Returns:
a ProfileType value

setType

public final void setType(ColonyProfile.ProfileType newType)
Set the Type value.

Parameters:
newType - The new Type value.

getPreferredProduction

public final java.util.List<GoodsType> getPreferredProduction()
Get the PreferredProduction value.

Returns:
a List value

setPreferredProduction

public final void setPreferredProduction(java.util.List<GoodsType> newPreferredProduction)
Set the PreferredProduction value.

Parameters:
newPreferredProduction - The new PreferredProduction value.