Enum Europe1Constants.PRICE_ACCURACY_PROPERTY.Value
- java.lang.Object
-
- java.lang.Enum<Europe1Constants.PRICE_ACCURACY_PROPERTY.Value>
-
- de.hybris.platform.europe1.constants.Europe1Constants.PRICE_ACCURACY_PROPERTY.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Europe1Constants.PRICE_ACCURACY_PROPERTY.Value>
- Enclosing class:
- Europe1Constants.PRICE_ACCURACY_PROPERTY
public static enum Europe1Constants.PRICE_ACCURACY_PROPERTY.Value extends java.lang.Enum<Europe1Constants.PRICE_ACCURACY_PROPERTY.Value>
Enumeration used for possible values of property. Provides a full and short name for each value, they are sorted by it's ordinal value (full is lowest, day is highest) and there is a static methodlookUp(String)for gathering the corresponding enum for a given property value string.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFullName()Gets the short name of this enum like "minute" for "minute".java.lang.StringgetShortName()Gets the short name of this enum like "min" for "minute".static Europe1Constants.PRICE_ACCURACY_PROPERTY.ValuelookUp(java.lang.String strValue)Gets the corresponding enum for a given property value comparing it ignoring case to all enums full and short name starting with lowest enum.static Europe1Constants.PRICE_ACCURACY_PROPERTY.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Europe1Constants.PRICE_ACCURACY_PROPERTY.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final Europe1Constants.PRICE_ACCURACY_PROPERTY.Value FULL
-
SECOND
public static final Europe1Constants.PRICE_ACCURACY_PROPERTY.Value SECOND
-
MINUTE
public static final Europe1Constants.PRICE_ACCURACY_PROPERTY.Value MINUTE
-
HOUR
public static final Europe1Constants.PRICE_ACCURACY_PROPERTY.Value HOUR
-
DAY
public static final Europe1Constants.PRICE_ACCURACY_PROPERTY.Value DAY
-
-
Method Detail
-
values
public static Europe1Constants.PRICE_ACCURACY_PROPERTY.Value[] 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 (Europe1Constants.PRICE_ACCURACY_PROPERTY.Value c : Europe1Constants.PRICE_ACCURACY_PROPERTY.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Europe1Constants.PRICE_ACCURACY_PROPERTY.Value 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
-
getShortName
public java.lang.String getShortName()
Gets the short name of this enum like "min" for "minute".
-
getFullName
public java.lang.String getFullName()
Gets the short name of this enum like "minute" for "minute".
-
lookUp
public static Europe1Constants.PRICE_ACCURACY_PROPERTY.Value lookUp(java.lang.String strValue)
Gets the corresponding enum for a given property value comparing it ignoring case to all enums full and short name starting with lowest enum.- Parameters:
strValue- property value string for which the related enum is needed- Returns:
- related enum for given string if a full or short name hits, otherwise null
-
-