org.broadleafcommerce.core.catalog.service.type
Class ProductOptionType
java.lang.Object
org.broadleafcommerce.core.catalog.service.type.ProductOptionType
- All Implemented Interfaces:
- Serializable, BroadleafEnumerationType
public class ProductOptionType
- extends Object
- implements Serializable, BroadleafEnumerationType
An extendible enumeration of product option types.
- Author:
- jfischer
- See Also:
- Serialized Form
COLOR
public static final ProductOptionType COLOR
SIZE
public static final ProductOptionType SIZE
DATE
public static final ProductOptionType DATE
TEXT
public static final ProductOptionType TEXT
BOOLEAN
public static final ProductOptionType BOOLEAN
DECIMAL
public static final ProductOptionType DECIMAL
INTEGER
public static final ProductOptionType INTEGER
INPUT
public static final ProductOptionType INPUT
PRODUCT
public static final ProductOptionType PRODUCT
ProductOptionType
public ProductOptionType()
ProductOptionType
public ProductOptionType(String type,
String friendlyType)
getInstance
public static ProductOptionType 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.