org.broadleafcommerce.core.catalog.service.type
Class ProductType

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.service.type.ProductType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class ProductType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of product types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static ProductType BUNDLE
           
static ProductType PRODUCT
           
 
Constructor Summary
ProductType()
           
ProductType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static ProductType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRODUCT

public static final ProductType PRODUCT

BUNDLE

public static final ProductType BUNDLE
Constructor Detail

ProductType

public ProductType()

ProductType

public ProductType(String type,
                   String friendlyType)
Method Detail

getInstance

public static ProductType 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 © 2013. All Rights Reserved.