public class FrenchNFIThinnerPlotImpl extends java.lang.Object implements FrenchNFIThinnerPlot
FrenchRegion2016Provider.FrenchRegion2016
Constructor and Description |
---|
FrenchNFIThinnerPlotImpl(java.lang.String plotId,
java.lang.String regionName,
double basalAreaM2Ha,
double nbStemsHa,
double slopeInclinationPercent,
boolean wasThereAnySiliviculturalTreatmentInTheLast5Years,
double probabilityOfBeingOnPrivateLand)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getBasalAreaM2Ha()
This method returns the basal area of the stand in m2/ha.
|
FrenchRegion2016Provider.FrenchRegion2016 |
getFrenchRegion2016()
This method returns the region (version 2016) the plot is located in.
|
int |
getMonteCarloRealizationId()
This method returns the id of the Monte Carlo realization.
|
double |
getNumberOfStemsHa()
This method returns the stem density per hectare.
|
java.util.Map<FrenchNFIThinnerPredictor.FrenchNFIThinnerSpecies,java.lang.Double> |
getOverbarkVolumeM3BySpecies()
This method returns a Map with the species as keys and the volumes (m3) as values.
|
double |
getProbabilityOfBeingOnPrivateLand()
This method returns the probability that the plot is located on private land.
|
double |
getSlopeInclinationPercent()
This method returns the slope inclination in percentage.
|
java.lang.String |
getSubjectId()
This method returns an object that makes it possible to identify
the subject that implements this interface.
|
void |
setVolumeForThisSpecies(java.lang.String speciesName,
double volumeHa)
This method sets the volume of the difference species that compose the plot.
|
boolean |
wasThereAnySiliviculturalTreatmentInTheLast5Years()
This method returns true if any silvicultural treatment was carried out in the
plot during the last five years.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHierarchicalLevel
getFrenchRegion2016FromThisString
public FrenchNFIThinnerPlotImpl(java.lang.String plotId, java.lang.String regionName, double basalAreaM2Ha, double nbStemsHa, double slopeInclinationPercent, boolean wasThereAnySiliviculturalTreatmentInTheLast5Years, double probabilityOfBeingOnPrivateLand)
plotId
- regionName
- basalAreaM2Ha
- nbStemsHa
- slopeInclinationPercent
- wasThereAnySiliviculturalTreatmentInTheLast5Years
- probabilityOfBeingOnPrivateLand
- public void setVolumeForThisSpecies(java.lang.String speciesName, double volumeHa)
speciesName
- a String that represents the species namevolumeHa
- a double (volume per hectare)public FrenchRegion2016Provider.FrenchRegion2016 getFrenchRegion2016()
FrenchRegion2016Provider
getFrenchRegion2016
in interface FrenchRegion2016Provider
public double getBasalAreaM2Ha()
BasalAreaM2HaProvider
getBasalAreaM2Ha
in interface BasalAreaM2HaProvider
public double getNumberOfStemsHa()
StemDensityHaProvider
getNumberOfStemsHa
in interface StemDensityHaProvider
public double getSlopeInclinationPercent()
SlopeInclinationPercentProvider
getSlopeInclinationPercent
in interface SlopeInclinationPercentProvider
public java.lang.String getSubjectId()
MonteCarloSimulationCompliantObject
getSubjectId
in interface MonteCarloSimulationCompliantObject
public int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObject
getMonteCarloRealizationId
in interface MonteCarloSimulationCompliantObject
public boolean wasThereAnySiliviculturalTreatmentInTheLast5Years()
FrenchNFIThinnerPlot
wasThereAnySiliviculturalTreatmentInTheLast5Years
in interface FrenchNFIThinnerPlot
public double getProbabilityOfBeingOnPrivateLand()
FrenchNFIThinnerPlot
getProbabilityOfBeingOnPrivateLand
in interface FrenchNFIThinnerPlot
public java.util.Map<FrenchNFIThinnerPredictor.FrenchNFIThinnerSpecies,java.lang.Double> getOverbarkVolumeM3BySpecies()
FrenchNFIThinnerPlot
getOverbarkVolumeM3BySpecies
in interface FrenchNFIThinnerPlot