org.broadleafcommerce.common.util
Class WeightUnitOfMeasureType
java.lang.Object
org.broadleafcommerce.common.util.WeightUnitOfMeasureType
- All Implemented Interfaces:
- Serializable, BroadleafEnumerationType
public class WeightUnitOfMeasureType
- extends Object
- implements Serializable, BroadleafEnumerationType
An extendible enumeration of units of measure types.
- Author:
- jfischer
- See Also:
- Serialized Form
POUNDS
public static final WeightUnitOfMeasureType POUNDS
KILOGRAMS
public static final WeightUnitOfMeasureType KILOGRAMS
WeightUnitOfMeasureType
public WeightUnitOfMeasureType()
WeightUnitOfMeasureType
public WeightUnitOfMeasureType(String type,
String friendlyType)
getInstance
public static WeightUnitOfMeasureType 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.