Enum AddressValidator.AddressField
- java.lang.Object
-
- java.lang.Enum<AddressValidator.AddressField>
-
- de.hybris.platform.acceleratorstorefrontcommons.forms.validation.AddressValidator.AddressField
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AddressValidator.AddressField>
- Enclosing class:
- AddressValidator
protected static enum AddressValidator.AddressField extends java.lang.Enum<AddressValidator.AddressField>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorKey()java.lang.StringgetFieldKey()static AddressValidator.AddressFieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AddressValidator.AddressField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TITLE
public static final AddressValidator.AddressField TITLE
-
FIRSTNAME
public static final AddressValidator.AddressField FIRSTNAME
-
LASTNAME
public static final AddressValidator.AddressField LASTNAME
-
LINE1
public static final AddressValidator.AddressField LINE1
-
LINE2
public static final AddressValidator.AddressField LINE2
-
TOWN
public static final AddressValidator.AddressField TOWN
-
POSTCODE
public static final AddressValidator.AddressField POSTCODE
-
REGION
public static final AddressValidator.AddressField REGION
-
COUNTRY
public static final AddressValidator.AddressField COUNTRY
-
-
Method Detail
-
values
public static AddressValidator.AddressField[] 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 (AddressValidator.AddressField c : AddressValidator.AddressField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddressValidator.AddressField 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
-
getFieldKey
public java.lang.String getFieldKey()
-
getErrorKey
public java.lang.String getErrorKey()
-
-