public class ProductType extends java.lang.Object implements java.io.Serializable, BroadleafEnumerationType
| Modifier and Type | Field and Description |
|---|---|
static ProductType |
BUNDLE |
static ProductType |
PRODUCT |
| Constructor and Description |
|---|
ProductType() |
ProductType(java.lang.String type,
java.lang.String friendlyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFriendlyType() |
static ProductType |
getInstance(java.lang.String type) |
java.lang.String |
getType() |
int |
hashCode() |
public static final ProductType PRODUCT
public static final ProductType BUNDLE
public ProductType()
public ProductType(java.lang.String type,
java.lang.String friendlyType)
public static ProductType getInstance(java.lang.String type)
public java.lang.String getType()
getType in interface BroadleafEnumerationTypepublic java.lang.String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.