org.mars_sim.msp.core.structure.construction
Class ConstructionStageInfo

java.lang.Object
  extended by org.mars_sim.msp.core.structure.construction.ConstructionStageInfo
All Implemented Interfaces:
java.io.Serializable

public class ConstructionStageInfo
extends java.lang.Object
implements java.io.Serializable

Information about a construction stage.

See Also:
Serialized Form

Field Summary
static java.lang.String BUILDING
           
static java.lang.String FOUNDATION
           
static java.lang.String FRAME
           
 
Method Summary
 int getArchitectConstructionSkill()
          Gets the architect construction skill level.
 java.lang.String getName()
          Gets the name of the stage.
 java.util.Map<Part,java.lang.Integer> getParts()
          Gets the parts needed for the stage.
 java.lang.String getPrerequisiteStage()
          Gets the prerequisite stage name.
 java.util.Map<AmountResource,java.lang.Double> getResources()
          Gets the resources needed for the stage.
 java.lang.String getType()
          Gets the stage type.
 java.util.List<ConstructionVehicleType> getVehicles()
          Gets the vehicles needed for the stage.
 double getWorkTime()
          Gets the construction work time.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOUNDATION

public static final java.lang.String FOUNDATION
See Also:
Constant Field Values

FRAME

public static final java.lang.String FRAME
See Also:
Constant Field Values

BUILDING

public static final java.lang.String BUILDING
See Also:
Constant Field Values
Method Detail

getArchitectConstructionSkill

public int getArchitectConstructionSkill()
Gets the architect construction skill level.

Returns:
skill level.

getName

public java.lang.String getName()
Gets the name of the stage.

Returns:
name.

getParts

public java.util.Map<Part,java.lang.Integer> getParts()
Gets the parts needed for the stage.

Returns:
map of parts and their number.

getPrerequisiteStage

public java.lang.String getPrerequisiteStage()
Gets the prerequisite stage name.

Returns:
name.

getResources

public java.util.Map<AmountResource,java.lang.Double> getResources()
Gets the resources needed for the stage.

Returns:
map of resources and their amounts (kg).

getType

public java.lang.String getType()
Gets the stage type.

Returns:
type.

getVehicles

public java.util.List<ConstructionVehicleType> getVehicles()
Gets the vehicles needed for the stage.

Returns:
vehicle type.

getWorkTime

public double getWorkTime()
Gets the construction work time.

Returns:
time (millisols).

toString

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