public static enum REpiceaSpecies.Species extends java.lang.Enum<REpiceaSpecies.Species> implements REpiceaTranslator.TextableEnum, SpeciesTypeProvider, BarkProportionProvider, BasicWoodDensityProvider
SpeciesTypeProvider.SpeciesType
Modifier and Type | Method and Description |
---|---|
double |
getBarkProportionOfWoodVolume()
Returns the bark proportion with respect to the wood volume.
|
double |
getBasicWoodDensity()
This method returns the basic wood density calculated as
the oven dry weight / green volume (e.g.
|
java.lang.String |
getLatinName() |
SpeciesTypeProvider.SpeciesType |
getSpeciesType()
This method returns the species type of the tree.
|
void |
setText(java.lang.String englishText,
java.lang.String frenchText)
This method sets the english and french text for the label, control or title.
|
java.lang.String |
toString() |
static REpiceaSpecies.Species |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static REpiceaSpecies.Species[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final REpiceaSpecies.Species Abies_spp
public static final REpiceaSpecies.Species Acer_spp
public static final REpiceaSpecies.Species Alnus_spp
public static final REpiceaSpecies.Species Betula_spp
public static final REpiceaSpecies.Species Carpinus_betulus
public static final REpiceaSpecies.Species Castanea_sativa
public static final REpiceaSpecies.Species Fagus_sylvatica
public static final REpiceaSpecies.Species Fraxinus_spp
public static final REpiceaSpecies.Species Juglans_spp
public static final REpiceaSpecies.Species Larix_decidua
public static final REpiceaSpecies.Species Picea_abies
public static final REpiceaSpecies.Species Picea_sitchensis
public static final REpiceaSpecies.Species Pinus_pinaster
public static final REpiceaSpecies.Species Pinus_radiata
public static final REpiceaSpecies.Species Pinus_strobus
public static final REpiceaSpecies.Species Pinus_sylvestris
public static final REpiceaSpecies.Species Populus_spp
public static final REpiceaSpecies.Species Prunus_spp
public static final REpiceaSpecies.Species Pseudotsuga_menziesii
public static final REpiceaSpecies.Species Quercus_spp
public static final REpiceaSpecies.Species Salix_spp
public static final REpiceaSpecies.Species Thuja_plicata
public static final REpiceaSpecies.Species Tilia_spp
public static final REpiceaSpecies.Species Tsuga_spp
public static REpiceaSpecies.Species[] values()
for (REpiceaSpecies.Species c : REpiceaSpecies.Species.values()) System.out.println(c);
public static REpiceaSpecies.Species valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void setText(java.lang.String englishText, java.lang.String frenchText)
REpiceaTranslator.TextableEnum
setText
in interface REpiceaTranslator.TextableEnum
englishText
- a StringfrenchText
- a Stringpublic java.lang.String getLatinName()
public java.lang.String toString()
toString
in class java.lang.Enum<REpiceaSpecies.Species>
public double getBasicWoodDensity()
BasicWoodDensityProvider
getBasicWoodDensity
in interface BasicWoodDensityProvider
public double getBarkProportionOfWoodVolume()
BarkProportionProvider
getBarkProportionOfWoodVolume
in interface BarkProportionProvider
public SpeciesTypeProvider.SpeciesType getSpeciesType()
SpeciesTypeProvider
getSpeciesType
in interface SpeciesTypeProvider