Enum ValidationErrorType
- java.lang.Object
-
- java.lang.Enum<ValidationErrorType>
-
- global.maplink.tracking.schema.errors.ValidationErrorType
-
- All Implemented Interfaces:
ValidationViolation,Serializable,Comparable<ValidationErrorType>
public enum ValidationErrorType extends Enum<ValidationErrorType> implements ValidationViolation
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static ValidationErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ValidationErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THEME_ID_NOTNULL
public static final ValidationErrorType THEME_ID_NOTNULL
-
THEME_LANGUAGE_NOTNULL
public static final ValidationErrorType THEME_LANGUAGE_NOTNULL
-
THEME_COLOR_NOTNULL
public static final ValidationErrorType THEME_COLOR_NOTNULL
-
THEME_COLOR_INCORRECT
public static final ValidationErrorType THEME_COLOR_INCORRECT
-
TRACKING_DESCRIPTION_NOTNULL
public static final ValidationErrorType TRACKING_DESCRIPTION_NOTNULL
-
TRACKING_ADDRESS_MAINLOCATION_NOTNULL
public static final ValidationErrorType TRACKING_ADDRESS_MAINLOCATION_NOTNULL
-
TRACKING_ADDRESS_MAINLOCATION_LATLON_NOTNULL
public static final ValidationErrorType TRACKING_ADDRESS_MAINLOCATION_LATLON_NOTNULL
-
TRACKING_DRIVER_CURRENTLOCATION_NOTNULL
public static final ValidationErrorType TRACKING_DRIVER_CURRENTLOCATION_NOTNULL
-
TRACKING_DRIVER_CURRENTLOCATION_LATLON_NOTNULL
public static final ValidationErrorType TRACKING_DRIVER_CURRENTLOCATION_LATLON_NOTNULL
-
TRACKING_STATUS_VALUE_NOTNULL
public static final ValidationErrorType TRACKING_STATUS_VALUE_NOTNULL
-
TRACKING_STATUS_LABEL_NOTNULL
public static final ValidationErrorType TRACKING_STATUS_LABEL_NOTNULL
-
-
Method Detail
-
values
public static ValidationErrorType[] 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 (ValidationErrorType c : ValidationErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationErrorType 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()
- Specified by:
getMessagein interfaceValidationViolation
-
-