org.broadleafcommerce.util
Class WeightUnitOfMeasureType

java.lang.Object
  extended by org.broadleafcommerce.util.WeightUnitOfMeasureType
All Implemented Interfaces:
java.io.Serializable

public class WeightUnitOfMeasureType
extends java.lang.Object
implements java.io.Serializable

An extendible enumeration of units of measure types.

Author:
jfischer
See Also:
Serialized Form

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

Field Detail

POUNDS

public static final WeightUnitOfMeasureType POUNDS

KILOGRAMS

public static final WeightUnitOfMeasureType KILOGRAMS
Constructor Detail

WeightUnitOfMeasureType

public WeightUnitOfMeasureType()

WeightUnitOfMeasureType

public WeightUnitOfMeasureType(java.lang.String type)
Method Detail

getInstance

public static WeightUnitOfMeasureType getInstance(java.lang.String type)

getType

public java.lang.String getType()

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 © 2010. All Rights Reserved.