public class FrenchCommercialVolume2014TreeImpl extends java.lang.Object implements FrenchCommercialVolume2014Tree
FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies| Modifier and Type | Field and Description |
|---|---|
protected double |
pred |
| Modifier | Constructor and Description |
|---|---|
|
FrenchCommercialVolume2014TreeImpl(int id,
double dbhCm,
double heightM,
java.lang.String speciesName)
Public constructor
|
protected |
FrenchCommercialVolume2014TreeImpl(int id,
double dbhCm,
double heightM,
java.lang.String speciesName,
double pred)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDbhCm()
This method returns the diameter at breast height of the tree.
|
FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies |
getFrenchCommercialVolume2014TreeSpecies()
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.
|
protected double |
getPred() |
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 FrenchCommercialVolume2014TreeImpl(int id,
double dbhCm,
double heightM,
java.lang.String speciesName,
double pred)
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 FrenchCommercialVolume2014TreeSpecies enum variable (e.g. Pinus halepensis).pred - an optional prediction for test purposes.public FrenchCommercialVolume2014TreeImpl(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 FrenchCommercialVolume2014TreeSpecies enum variable (e.g. Pinus halepensis).protected double getPred()
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 FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies getFrenchCommercialVolume2014TreeSpecies()
FrenchCommercialVolume2014TreegetFrenchCommercialVolume2014TreeSpecies in interface FrenchCommercialVolume2014Tree