public class DimensionsType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
height |
protected BigDecimal |
length |
protected BigDecimal |
width |
| Constructor and Description |
|---|
DimensionsType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
BigDecimal |
getHeight()
Gets the value of the height property.
|
BigDecimal |
getLength()
Gets the value of the length property.
|
BigDecimal |
getWidth()
Gets the value of the width property.
|
int |
hashCode() |
void |
setHeight(BigDecimal value)
Sets the value of the height property.
|
void |
setLength(BigDecimal value)
Sets the value of the length property.
|
void |
setWidth(BigDecimal value)
Sets the value of the width property.
|
String |
toString() |
DimensionsType |
withHeight(BigDecimal value) |
DimensionsType |
withLength(BigDecimal value) |
DimensionsType |
withWidth(BigDecimal value) |
protected BigDecimal length
protected BigDecimal width
protected BigDecimal height
public BigDecimal getLength()
BigDecimalpublic void setLength(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getWidth()
BigDecimalpublic void setWidth(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getHeight()
BigDecimalpublic void setHeight(BigDecimal value)
value - allowed object is
BigDecimalpublic DimensionsType withLength(BigDecimal value)
public DimensionsType withWidth(BigDecimal value)
public DimensionsType withHeight(BigDecimal value)
Copyright © 2022. All rights reserved.