Enum ObjectPropertyTemplateModel.ConfigError
- java.lang.Object
-
- java.lang.Enum<ObjectPropertyTemplateModel.ConfigError>
-
- edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.ObjectPropertyTemplateModel.ConfigError
-
- All Implemented Interfaces:
Serializable,Comparable<ObjectPropertyTemplateModel.ConfigError>
- Enclosing class:
- ObjectPropertyTemplateModel
public static enum ObjectPropertyTemplateModel.ConfigError extends Enum<ObjectPropertyTemplateModel.ConfigError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_SELECT_QUERYNO_SUBCLASS_ORDER_BYNO_SUBCLASS_SELECTNO_TEMPLATETEMPLATE_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringtoString()static ObjectPropertyTemplateModel.ConfigErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static ObjectPropertyTemplateModel.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 ObjectPropertyTemplateModel.ConfigError NO_SELECT_QUERY
-
NO_SUBCLASS_SELECT
public static final ObjectPropertyTemplateModel.ConfigError NO_SUBCLASS_SELECT
-
NO_SUBCLASS_ORDER_BY
public static final ObjectPropertyTemplateModel.ConfigError NO_SUBCLASS_ORDER_BY
-
NO_TEMPLATE
public static final ObjectPropertyTemplateModel.ConfigError NO_TEMPLATE
-
TEMPLATE_NOT_FOUND
public static final ObjectPropertyTemplateModel.ConfigError TEMPLATE_NOT_FOUND
-
-
Method Detail
-
values
public static ObjectPropertyTemplateModel.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 (ObjectPropertyTemplateModel.ConfigError c : ObjectPropertyTemplateModel.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 ObjectPropertyTemplateModel.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<ObjectPropertyTemplateModel.ConfigError>
-
-