@Embeddable public class Weight extends Object implements Serializable, MultiTenantCloneable<Weight>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
weight |
protected String |
weightUnitOfMeasure |
| Constructor and Description |
|---|
Weight() |
| Modifier and Type | Method and Description |
|---|---|
<G extends Weight> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
boolean |
equals(Object o) |
BigDecimal |
getWeight() |
WeightUnitOfMeasureType |
getWeightUnitOfMeasure() |
int |
hashCode() |
void |
setWeight(BigDecimal weight) |
void |
setWeightUnitOfMeasure(WeightUnitOfMeasureType weightUnitOfMeasure) |
protected BigDecimal weight
protected String weightUnitOfMeasure
public WeightUnitOfMeasureType getWeightUnitOfMeasure()
public void setWeightUnitOfMeasure(WeightUnitOfMeasureType weightUnitOfMeasure)
public BigDecimal getWeight()
public void setWeight(BigDecimal weight)
public <G extends Weight> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<Weight>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.