org.broadleafcommerce.core.catalog.service.type
Class ProductType
java.lang.Object
org.broadleafcommerce.core.catalog.service.type.ProductType
- All Implemented Interfaces:
- java.io.Serializable, BroadleafEnumerationType
public class ProductType
- extends java.lang.Object
- implements java.io.Serializable, BroadleafEnumerationType
An extendible enumeration of product types.
- Author:
- jfischer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PRODUCT
public static final ProductType PRODUCT
PRODUCT_SKU
public static final ProductType PRODUCT_SKU
ProductType
public ProductType()
ProductType
public ProductType(java.lang.String type,
java.lang.String friendlyType)
getInstance
public static ProductType getInstance(java.lang.String type)
getType
public java.lang.String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public java.lang.String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2012. All Rights Reserved.