awsmodel
Enum AWSTree.AWSTreeSpecies

java.lang.Object
  extended by java.lang.Enum<AWSTree.AWSTreeSpecies>
      extended by awsmodel.AWSTree.AWSTreeSpecies
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AWSTree.AWSTreeSpecies>
Enclosing interface:
AWSTree

public static enum AWSTree.AWSTreeSpecies
extends java.lang.Enum<AWSTree.AWSTreeSpecies>

The TreeSpecies enum defines the species considered in the model.

Author:
M. Fortin - August 2010

Enum Constant Summary
Beech
           
DouglasFir
           
EuropeanLarch
           
JapanLarch
           
Oak
           
ScotsPine
           
SilverFir
           
Spruce
           
 
Method Summary
static AWSTree.AWSTreeSpecies valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AWSTree.AWSTreeSpecies[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Spruce

public static final AWSTree.AWSTreeSpecies Spruce

SilverFir

public static final AWSTree.AWSTreeSpecies SilverFir

DouglasFir

public static final AWSTree.AWSTreeSpecies DouglasFir

ScotsPine

public static final AWSTree.AWSTreeSpecies ScotsPine

EuropeanLarch

public static final AWSTree.AWSTreeSpecies EuropeanLarch

JapanLarch

public static final AWSTree.AWSTreeSpecies JapanLarch

Oak

public static final AWSTree.AWSTreeSpecies Oak

Beech

public static final AWSTree.AWSTreeSpecies Beech
Method Detail

values

public static AWSTree.AWSTreeSpecies[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AWSTree.AWSTreeSpecies c : AWSTree.AWSTreeSpecies.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AWSTree.AWSTreeSpecies valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null