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, waitgetHierarchicalLevelprotected 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()
DbhCmProvidergetDbhCm in interface DbhCmProviderpublic double getSquaredDbhCm()
SquaredDbhCmProvidergetSquaredDbhCm in interface SquaredDbhCmProviderpublic double getHeightM()
HeightMProvidergetHeightM in interface HeightMProviderpublic java.lang.String getSubjectId()
MonteCarloSimulationCompliantObjectgetSubjectId in interface MonteCarloSimulationCompliantObjectpublic int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObjectgetMonteCarloRealizationId in interface MonteCarloSimulationCompliantObjectpublic FrenchCommercialVolume2020Tree.FrenchCommercialVolume2020TreeSpecies getFrenchCommercialVolume2020TreeSpecies()
FrenchCommercialVolume2020TreegetFrenchCommercialVolume2020TreeSpecies in interface FrenchCommercialVolume2020Tree