Enum SurveyController.SurveyCreationParameters.TemplateType
- java.lang.Object
-
- java.lang.Enum<SurveyController.SurveyCreationParameters.TemplateType>
-
- org.openforis.collect.web.controller.SurveyController.SurveyCreationParameters.TemplateType
-
- All Implemented Interfaces:
Serializable,Comparable<SurveyController.SurveyCreationParameters.TemplateType>
- Enclosing class:
- SurveyController.SurveyCreationParameters
public static enum SurveyController.SurveyCreationParameters.TemplateType extends Enum<SurveyController.SurveyCreationParameters.TemplateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIOPHYSICALBLANKCOLLECT_EARTHCOLLECT_EARTH_IPCC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SurveyController.SurveyCreationParameters.TemplateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SurveyController.SurveyCreationParameters.TemplateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLANK
public static final SurveyController.SurveyCreationParameters.TemplateType BLANK
-
BIOPHYSICAL
public static final SurveyController.SurveyCreationParameters.TemplateType BIOPHYSICAL
-
COLLECT_EARTH
public static final SurveyController.SurveyCreationParameters.TemplateType COLLECT_EARTH
-
COLLECT_EARTH_IPCC
public static final SurveyController.SurveyCreationParameters.TemplateType COLLECT_EARTH_IPCC
-
-
Method Detail
-
values
public static SurveyController.SurveyCreationParameters.TemplateType[] 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 (SurveyController.SurveyCreationParameters.TemplateType c : SurveyController.SurveyCreationParameters.TemplateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SurveyController.SurveyCreationParameters.TemplateType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-