public static enum DisturbanceTypeProvider.DisturbanceType extends java.lang.Enum<DisturbanceTypeProvider.DisturbanceType> implements REpiceaTranslator.TextableEnum
| Enum Constant and Description |
|---|
Drought |
Harvest |
SpruceBudwormOutbreak |
Windstorm |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<DisturbanceTypeProvider.DisturbanceType> |
getLargeScaleDisturbances()
This method returns the list of large scale disturbances, mainly for a
proper disturbance occurrence recording implementation.
|
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 DisturbanceTypeProvider.DisturbanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisturbanceTypeProvider.DisturbanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisturbanceTypeProvider.DisturbanceType Windstorm
public static final DisturbanceTypeProvider.DisturbanceType Drought
public static final DisturbanceTypeProvider.DisturbanceType Harvest
public static final DisturbanceTypeProvider.DisturbanceType SpruceBudwormOutbreak
public static DisturbanceTypeProvider.DisturbanceType[] values()
for (DisturbanceTypeProvider.DisturbanceType c : DisturbanceTypeProvider.DisturbanceType.values()) System.out.println(c);
public static DisturbanceTypeProvider.DisturbanceType 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.TextableEnumsetText in interface REpiceaTranslator.TextableEnumenglishText - a StringfrenchText - a Stringpublic java.lang.String toString()
toString in class java.lang.Enum<DisturbanceTypeProvider.DisturbanceType>public static java.util.List<DisturbanceTypeProvider.DisturbanceType> getLargeScaleDisturbances()