java.lang.Object
org.broadleafcommerce.core.rating.service.type.RatingType
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

public class RatingType extends Object implements org.broadleafcommerce.common.BroadleafEnumerationType, Serializable
See Also:
  • Field Details

    • PRODUCT

      public static final RatingType PRODUCT
  • Constructor Details

    • RatingType

      public RatingType()
    • RatingType

      public RatingType(String type)
    • RatingType

      public RatingType(String type, String friendlyType)
  • Method Details

    • getInstance

      public static RatingType getInstance(String type)
    • getType

      public String getType()
      Specified by:
      getType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • setType

      protected void setType(String type)
    • getFriendlyType

      public String getFriendlyType()
      Specified by:
      getFriendlyType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object