Enum DataPropertyTemplateModel.ConfigError
- java.lang.Object
-
- java.lang.Enum<DataPropertyTemplateModel.ConfigError>
-
- edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DataPropertyTemplateModel.ConfigError
-
- All Implemented Interfaces:
Serializable,Comparable<DataPropertyTemplateModel.ConfigError>
- Enclosing class:
- DataPropertyTemplateModel
public static enum DataPropertyTemplateModel.ConfigError extends Enum<DataPropertyTemplateModel.ConfigError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_SELECT_QUERYNO_TEMPLATETEMPLATE_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringtoString()static DataPropertyTemplateModel.ConfigErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static DataPropertyTemplateModel.ConfigError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_SELECT_QUERY
public static final DataPropertyTemplateModel.ConfigError NO_SELECT_QUERY
-
NO_TEMPLATE
public static final DataPropertyTemplateModel.ConfigError NO_TEMPLATE
-
TEMPLATE_NOT_FOUND
public static final DataPropertyTemplateModel.ConfigError TEMPLATE_NOT_FOUND
-
-
Method Detail
-
values
public static DataPropertyTemplateModel.ConfigError[] 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 (DataPropertyTemplateModel.ConfigError c : DataPropertyTemplateModel.ConfigError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataPropertyTemplateModel.ConfigError 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
-
getMessage
public String getMessage()
-
toString
public String toString()
- Overrides:
toStringin classEnum<DataPropertyTemplateModel.ConfigError>
-
-