org.n52.operation.cropmodeling
Class Crop

java.lang.Object
  extended by org.n52.operation.cropmodeling.Crop
Direct Known Subclasses:
C3Crop, C4Crop

public class Crop
extends java.lang.Object

Base class for describing crops

Since:
1.0.0
Author:
willem

Field Summary
protected  Crop previousCropState
           
 
Constructor Summary
Crop(CropData data)
           
 
Method Summary
 void calculateCropState(TemporalEnvironmentState currentState)
           
 double getCO2ReductionReferenceCrop(TemporalEnvironmentState currentState)
           
 CropData getFixedData()
           
 double getLeafAreaIndex()
           
 PlantOrgan getOrgan(PlantOrgan.OrganName name)
           
 Crop getPreviousCropState()
           
 double getTotalDryMass()
           
 void increaseDevelopmentStage(TemporalEnvironmentState state, double temperature)
           
 boolean plantIsC3Type()
           
 void setPreviousCropState(Crop myPreviousCropState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previousCropState

protected Crop previousCropState
Constructor Detail

Crop

public Crop(CropData data)
Method Detail

increaseDevelopmentStage

public void increaseDevelopmentStage(TemporalEnvironmentState state,
                                     double temperature)

calculateCropState

public void calculateCropState(TemporalEnvironmentState currentState)

getCO2ReductionReferenceCrop

public double getCO2ReductionReferenceCrop(TemporalEnvironmentState currentState)

getLeafAreaIndex

public double getLeafAreaIndex()

getOrgan

public PlantOrgan getOrgan(PlantOrgan.OrganName name)

plantIsC3Type

public boolean plantIsC3Type()

getTotalDryMass

public double getTotalDryMass()

getFixedData

public CropData getFixedData()

getPreviousCropState

public Crop getPreviousCropState()
Returns:
Returns the myPreviousCropState.

setPreviousCropState

public void setPreviousCropState(Crop myPreviousCropState)
Parameters:
myPreviousCropState - The myPreviousCropState to set.