public class Weight extends Object implements Serializable
Constructor and Description |
---|
Weight() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getUnits() |
BigDecimal |
getWeight() |
int |
hashCode() |
void |
setUnits(String units) |
void |
setWeight(BigDecimal weight) |
String |
toString() |
public BigDecimal getWeight()
public String getUnits()
WeightUnits
public void setWeight(BigDecimal weight)
public void setUnits(String units)
units
- the units to specify this weight inWeightUnits
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.