Enum RatingUtils.RatingType
- java.lang.Object
-
- java.lang.Enum<RatingUtils.RatingType>
-
- fr.paris.lutece.plugins.extend.modules.rating.util.constants.RatingUtils.RatingType
-
- All Implemented Interfaces:
Serializable,Comparable<RatingUtils.RatingType>
- Enclosing class:
- RatingUtils
public static enum RatingUtils.RatingType extends Enum<RatingUtils.RatingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIMPLE_RATING_TYPESTAR_RATING_TYPETHUMB_RATING_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTemplatePath()StringgetType()static RatingUtils.RatingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RatingUtils.RatingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE_RATING_TYPE
public static final RatingUtils.RatingType SIMPLE_RATING_TYPE
-
THUMB_RATING_TYPE
public static final RatingUtils.RatingType THUMB_RATING_TYPE
-
STAR_RATING_TYPE
public static final RatingUtils.RatingType STAR_RATING_TYPE
-
-
Method Detail
-
values
public static RatingUtils.RatingType[] 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 (RatingUtils.RatingType c : RatingUtils.RatingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RatingUtils.RatingType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getTemplatePath
public String getTemplatePath()
-
getType
public String getType()
-
-