org.broadleafcommerce.core.catalog.domain
Class RelatedProductTypeEnum
java.lang.Object
org.broadleafcommerce.core.catalog.domain.RelatedProductTypeEnum
- All Implemented Interfaces:
- Serializable, BroadleafEnumerationType
public class RelatedProductTypeEnum
- extends Object
- implements Serializable, BroadleafEnumerationType
Extensible enumeration indicating types of product relations such as upsell, crosssell, or featured.
Created by bpolster.
- See Also:
- Serialized Form
FEATURED
public static final RelatedProductTypeEnum FEATURED
UP_SALE
public static final RelatedProductTypeEnum UP_SALE
CROSS_SALE
public static final RelatedProductTypeEnum CROSS_SALE
RelatedProductTypeEnum
public RelatedProductTypeEnum()
RelatedProductTypeEnum
public RelatedProductTypeEnum(String type,
String friendlyType)
getInstance
public static RelatedProductTypeEnum getInstance(String type)
getType
public String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012. All Rights Reserved.