Enum Class 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:
Serializable,Comparable<Europe1Constants.PRICE_ACCURACY_PROPERTY.Value>,Constable
- Enclosing class:
- Europe1Constants.PRICE_ACCURACY_PROPERTY
public static enum Europe1Constants.PRICE_ACCURACY_PROPERTY.Value
extends 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 method
lookUp(String) for gathering the corresponding enum for a given property value string.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGets the short name of this enum like "minute" for "minute".Gets the short name of this enum like "min" for "minute".Gets the corresponding enum for a given property value comparing it ignoring case to all enums full and short name starting with lowest enum.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
-
SECOND
-
MINUTE
-
HOUR
-
DAY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getShortName
Gets the short name of this enum like "min" for "minute". -
getFullName
Gets the short name of this enum like "minute" for "minute". -
lookUp
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
-