Package io.dialob.api.form
Enum FormValidationError.Type
- java.lang.Object
-
- java.lang.Enum<FormValidationError.Type>
-
- io.dialob.api.form.FormValidationError.Type
-
- All Implemented Interfaces:
Serializable,Comparable<FormValidationError.Type>
- Enclosing interface:
- FormValidationError
public static enum FormValidationError.Type extends Enum<FormValidationError.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANADDROWCANREMOVEROWCLASSNAMEGENERALREQUIREMENTVALIDATIONVALUE_ENTRYDeprecated.VALUESETVALUESET_ENTRYVARIABLEVISIBILITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormValidationError.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static FormValidationError.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIBILITY
public static final FormValidationError.Type VISIBILITY
-
VALIDATION
public static final FormValidationError.Type VALIDATION
-
REQUIREMENT
public static final FormValidationError.Type REQUIREMENT
-
VARIABLE
public static final FormValidationError.Type VARIABLE
-
GENERAL
public static final FormValidationError.Type GENERAL
-
CLASSNAME
public static final FormValidationError.Type CLASSNAME
-
VALUE_ENTRY
@Deprecated public static final FormValidationError.Type VALUE_ENTRY
Deprecated.
-
VALUESET
public static final FormValidationError.Type VALUESET
-
VALUESET_ENTRY
public static final FormValidationError.Type VALUESET_ENTRY
-
CANADDROW
public static final FormValidationError.Type CANADDROW
-
CANREMOVEROW
public static final FormValidationError.Type CANREMOVEROW
-
-
Method Detail
-
values
public static FormValidationError.Type[] 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 (FormValidationError.Type c : FormValidationError.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormValidationError.Type 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
-
-