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
           
 
Field Summary
private  java.util.List<GoodsType> preferredProduction
          Describe preferredProduction here.
private  ColonyProfile.ProfileType type
          Describe type here.
 
Constructor Summary
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private ColonyProfile.ProfileType type
Describe type here.


preferredProduction

private java.util.List<GoodsType> preferredProduction
Describe preferredProduction here.

Constructor Detail

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.