org.broadleafcommerce.core.catalog.domain
Class ProductWeight

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.ProductWeight
All Implemented Interfaces:
java.io.Serializable

@Embeddable
public class ProductWeight
extends java.lang.Object
implements java.io.Serializable

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  java.math.BigDecimal weight
           
protected  java.lang.String weightUnitOfMeasure
           
 
Constructor Summary
ProductWeight()
           
 
Method Summary
 java.math.BigDecimal getWeight()
           
 WeightUnitOfMeasureType getWeightUnitOfMeasure()
           
 void setWeight(java.math.BigDecimal weight)
           
 void setWeightUnitOfMeasure(WeightUnitOfMeasureType weightUnitOfMeasure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

protected java.math.BigDecimal weight

weightUnitOfMeasure

protected java.lang.String weightUnitOfMeasure
Constructor Detail

ProductWeight

public ProductWeight()
Method Detail

getWeightUnitOfMeasure

public WeightUnitOfMeasureType getWeightUnitOfMeasure()

setWeightUnitOfMeasure

public void setWeightUnitOfMeasure(WeightUnitOfMeasureType weightUnitOfMeasure)

getWeight

public java.math.BigDecimal getWeight()

setWeight

public void setWeight(java.math.BigDecimal weight)


Copyright © 2012. All Rights Reserved.