public static enum MathildeTreeSpeciesProvider.MathildeTreeSpecies extends java.lang.Enum<MathildeTreeSpeciesProvider.MathildeTreeSpecies> implements REpiceaTranslator.TextableEnum
| Modifier and Type | Method and Description |
|---|---|
Matrix |
getLongDummyVariable()
This method returns a 1x4 row vector of dummy variables which represent the species effect.
|
Matrix |
getShortDummyVariable()
This method returns a 1x3 row vector of dummy variables which represent the species effect.
|
static MathildeTreeSpeciesProvider.MathildeTreeSpecies |
getSpecies(int code)
This method returns the species enum according to the code.
|
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 MathildeTreeSpeciesProvider.MathildeTreeSpecies |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MathildeTreeSpeciesProvider.MathildeTreeSpecies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathildeTreeSpeciesProvider.MathildeTreeSpecies CARPINUS
public static final MathildeTreeSpeciesProvider.MathildeTreeSpecies QUERCUS
public static final MathildeTreeSpeciesProvider.MathildeTreeSpecies FAGUS
public static final MathildeTreeSpeciesProvider.MathildeTreeSpecies OTHERS
public static MathildeTreeSpeciesProvider.MathildeTreeSpecies[] values()
for (MathildeTreeSpeciesProvider.MathildeTreeSpecies c : MathildeTreeSpeciesProvider.MathildeTreeSpecies.values()) System.out.println(c);
public static MathildeTreeSpeciesProvider.MathildeTreeSpecies 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 static MathildeTreeSpeciesProvider.MathildeTreeSpecies getSpecies(int code)
code - an integer (17 for Carpinus, 22 for Quercus, 42 for Fagus, and 99 for others)public void setText(java.lang.String englishText,
java.lang.String frenchText)
REpiceaTranslator.TextableEnumsetText in interface REpiceaTranslator.TextableEnumenglishText - a StringfrenchText - a Stringpublic java.lang.String toString()
toString in class java.lang.Enum<MathildeTreeSpeciesProvider.MathildeTreeSpecies>public Matrix getShortDummyVariable()
public Matrix getLongDummyVariable()