Enum RatingData.Index
- java.lang.Object
-
- java.lang.Enum<RatingData.Index>
-
- com.novomind.ecom.api.iagent.rating.RatingData.Index
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RatingData.Index>
- Enclosing interface:
- RatingData
public static enum RatingData.Index extends java.lang.Enum<RatingData.Index>
This enumeration defines 10 indexes for separate ratings.- Since:
- 12.12
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RatingData.Index
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RatingData.Index[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX_1
public static final RatingData.Index INDEX_1
-
INDEX_2
public static final RatingData.Index INDEX_2
-
INDEX_3
public static final RatingData.Index INDEX_3
-
INDEX_4
public static final RatingData.Index INDEX_4
-
INDEX_5
public static final RatingData.Index INDEX_5
-
INDEX_6
public static final RatingData.Index INDEX_6
-
INDEX_7
public static final RatingData.Index INDEX_7
-
INDEX_8
public static final RatingData.Index INDEX_8
-
INDEX_9
public static final RatingData.Index INDEX_9
-
INDEX_10
public static final RatingData.Index INDEX_10
-
-
Method Detail
-
values
public static RatingData.Index[] 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 (RatingData.Index c : RatingData.Index.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RatingData.Index 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
-
-