public class FrenchCommercialVolume2020TreeImpl extends java.lang.Object implements FrenchCommercialVolume2020Tree
FrenchCommercialVolume2020Tree.FrenchCommercialVolume2020TreeSpecies
Modifier | Constructor and Description |
---|---|
|
FrenchCommercialVolume2020TreeImpl(int id,
double dbhCm,
double heightM,
java.lang.String speciesName)
Public constructor
|
protected |
FrenchCommercialVolume2020TreeImpl(int id,
double dbhCm,
double heightM,
java.lang.String speciesName,
double pred,
double se,
double var)
Protected constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getDbhCm()
This method returns the diameter at breast height of the tree.
|
FrenchCommercialVolume2020Tree.FrenchCommercialVolume2020TreeSpecies |
getFrenchCommercialVolume2020TreeSpecies()
This method returns the species of the tree instance.
|
double |
getHeightM()
This method returns the tree height in m.
|
int |
getMonteCarloRealizationId()
This method returns the id of the Monte Carlo realization.
|
double |
getSquaredDbhCm()
This method returns the square of dbh.
|
java.lang.String |
getSubjectId()
This method returns an object that makes it possible to identify
the subject that implements this interface.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHierarchicalLevel
protected FrenchCommercialVolume2020TreeImpl(int id, double dbhCm, double heightM, java.lang.String speciesName, double pred, double se, double var)
id
- an integer that stands for the tree iddbhCm
- the diameter at breast height (cm)heightM
- the tree height (m)speciesName
- the species name. It should be an enum name among the FrenchCommercialVolume2020TreeSpecies enum variable (e.g. Pinus halepensis).pred
- an optional prediction for test purposes.se
- the standard error of the prediction for test purposes.se
- prediction variance (mean + residual) for test purposes.public FrenchCommercialVolume2020TreeImpl(int id, double dbhCm, double heightM, java.lang.String speciesName)
id
- an integer that stands for the tree iddbhCm
- the diameter at breast height (cm)heightM
- the tree height (m)speciesName
- the species name. It should be an enum name among the FrenchCommercialVolume2020TreeSpecies enum variable (e.g. Pinus halepensis).public double getDbhCm()
DbhCmProvider
getDbhCm
in interface DbhCmProvider
public double getSquaredDbhCm()
SquaredDbhCmProvider
getSquaredDbhCm
in interface SquaredDbhCmProvider
public double getHeightM()
HeightMProvider
getHeightM
in interface HeightMProvider
public java.lang.String getSubjectId()
MonteCarloSimulationCompliantObject
getSubjectId
in interface MonteCarloSimulationCompliantObject
public int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObject
getMonteCarloRealizationId
in interface MonteCarloSimulationCompliantObject
public FrenchCommercialVolume2020Tree.FrenchCommercialVolume2020TreeSpecies getFrenchCommercialVolume2020TreeSpecies()
FrenchCommercialVolume2020Tree
getFrenchCommercialVolume2020TreeSpecies
in interface FrenchCommercialVolume2020Tree