Enum ValidationError.ErrorCode
- java.lang.Object
-
- java.lang.Enum<ValidationError.ErrorCode>
-
- de.hybris.platform.importcockpit.validation.ValidationError.ErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ValidationError.ErrorCode>
- Enclosing interface:
- ValidationError
public static enum ValidationError.ErrorCode extends java.lang.Enum<ValidationError.ErrorCode>
Enum class for different error codes: MANDATORYLINE_MISSING, UNMAPPED_MANDATORY, UNIQUEKEYS_SELECTED,etc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILDREN_NOTCONFIGUREDCOLLECTIONELEMENTS_NOTCONSISTENTENUM_VALUE_NOT_EXISTENTMANDATORYLINE_MISSINGSOURCE_INVALIDUNIQUEKEYS_SELECTEDUNMAPPED_LOCALIZEDUNMAPPED_MANDATORYUNMAPPED_SOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationError.ErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ValidationError.ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANDATORYLINE_MISSING
public static final ValidationError.ErrorCode MANDATORYLINE_MISSING
-
UNMAPPED_MANDATORY
public static final ValidationError.ErrorCode UNMAPPED_MANDATORY
-
UNIQUEKEYS_SELECTED
public static final ValidationError.ErrorCode UNIQUEKEYS_SELECTED
-
UNMAPPED_LOCALIZED
public static final ValidationError.ErrorCode UNMAPPED_LOCALIZED
-
CHILDREN_NOTCONFIGURED
public static final ValidationError.ErrorCode CHILDREN_NOTCONFIGURED
-
ENUM_VALUE_NOT_EXISTENT
public static final ValidationError.ErrorCode ENUM_VALUE_NOT_EXISTENT
-
COLLECTIONELEMENTS_NOTCONSISTENT
public static final ValidationError.ErrorCode COLLECTIONELEMENTS_NOTCONSISTENT
-
SOURCE_INVALID
public static final ValidationError.ErrorCode SOURCE_INVALID
-
UNMAPPED_SOURCE
public static final ValidationError.ErrorCode UNMAPPED_SOURCE
-
-
Method Detail
-
values
public static ValidationError.ErrorCode[] 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 (ValidationError.ErrorCode c : ValidationError.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationError.ErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-