Class RelatedProductTypeEnum
java.lang.Object
org.broadleafcommerce.core.catalog.domain.RelatedProductTypeEnum
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.BroadleafEnumerationType
public class RelatedProductTypeEnum
extends Object
implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
Extensible enumeration indicating types of product relations such as upsell, crosssell, or featured.
Created by bpolster.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RelatedProductTypeEnumstatic final RelatedProductTypeEnumstatic final RelatedProductTypeEnum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RelatedProductTypeEnumgetInstance(String type) getType()inthashCode()protected void
-
Field Details
-
FEATURED
-
UP_SALE
-
CROSS_SALE
-
-
Constructor Details
-
RelatedProductTypeEnum
public RelatedProductTypeEnum() -
RelatedProductTypeEnum
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceorg.broadleafcommerce.common.BroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-