public class DimensionWrapper extends BaseWrapper implements APIWrapper<Dimension>
| Modifier and Type | Field and Description |
|---|---|
protected String |
container |
protected BigDecimal |
depth |
protected String |
dimensionUnitOfMeasure |
protected BigDecimal |
girth |
protected BigDecimal |
height |
protected String |
size |
protected BigDecimal |
width |
context| Constructor and Description |
|---|
DimensionWrapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainer() |
BigDecimal |
getDepth() |
String |
getDimensionUnitOfMeasure() |
BigDecimal |
getGirth() |
BigDecimal |
getHeight() |
String |
getSize() |
BigDecimal |
getWidth() |
void |
setContainer(String container) |
void |
setDepth(BigDecimal depth) |
void |
setDimensionUnitOfMeasure(String dimensionUnitOfMeasure) |
void |
setGirth(BigDecimal girth) |
void |
setHeight(BigDecimal height) |
void |
setSize(String size) |
void |
setWidth(BigDecimal width) |
void |
wrapDetails(Dimension model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Dimension model,
javax.servlet.http.HttpServletRequest request) |
createElementWrappers, setApplicationContextprotected BigDecimal width
protected BigDecimal height
protected BigDecimal depth
protected BigDecimal girth
protected String container
protected String size
protected String dimensionUnitOfMeasure
public void wrapDetails(Dimension model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Dimension>public void wrapSummary(Dimension model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Dimension>public BigDecimal getWidth()
public void setWidth(BigDecimal width)
width - the width to setpublic BigDecimal getHeight()
public void setHeight(BigDecimal height)
height - the height to setpublic BigDecimal getDepth()
public void setDepth(BigDecimal depth)
depth - the depth to setpublic BigDecimal getGirth()
public void setGirth(BigDecimal girth)
girth - the girth to setpublic String getContainer()
public void setContainer(String container)
container - the container to setpublic String getSize()
public void setSize(String size)
size - the size to setpublic String getDimensionUnitOfMeasure()
public void setDimensionUnitOfMeasure(String dimensionUnitOfMeasure)
dimensionUnitOfMeasure - the dimensionUnitOfMeasure to setCopyright © 2015. All Rights Reserved.