org.broadleafcommerce.core.catalog.domain
Class ProductWeight

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

@Embeddable
public class ProductWeight
extends Object
implements Serializable

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  BigDecimal weight
           
protected  String weightUnitOfMeasure
           
 
Constructor Summary
ProductWeight()
           
 
Method Summary
 BigDecimal getWeight()
           
 WeightUnitOfMeasureType getWeightUnitOfMeasure()
           
 void setWeight(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 BigDecimal weight

weightUnitOfMeasure

protected String weightUnitOfMeasure
Constructor Detail

ProductWeight

public ProductWeight()
Method Detail

getWeightUnitOfMeasure

public WeightUnitOfMeasureType getWeightUnitOfMeasure()

setWeightUnitOfMeasure

public void setWeightUnitOfMeasure(WeightUnitOfMeasureType weightUnitOfMeasure)

getWeight

public BigDecimal getWeight()

setWeight

public void setWeight(BigDecimal weight)


Copyright © 2012. All Rights Reserved.