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

public class MessageType extends Object implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
An extendible enumeration of type of messages.
  • CART - Represents a wishlist
  • PRODUCT_OPTION - Represents a cart (non-submitted Orders)
  • Author:
    jfischer
    See Also:
    • Field Details

    • Constructor Details

      • MessageType

        public MessageType()
      • MessageType

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

      • getInstance

        public static MessageType 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