public class DimensionWrapper extends BaseWrapper implements APIWrapper<Dimension>, APIUnwrapper<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) |
Dimension |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(Dimension model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Dimension model,
javax.servlet.http.HttpServletRequest request) |
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapperprotected 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)
public BigDecimal getHeight()
public void setHeight(BigDecimal height)
public BigDecimal getDepth()
public void setDepth(BigDecimal depth)
public BigDecimal getGirth()
public void setGirth(BigDecimal girth)
public String getContainer()
public void setContainer(String container)
public String getSize()
public void setSize(String size)
public String getDimensionUnitOfMeasure()
public void setDimensionUnitOfMeasure(String dimensionUnitOfMeasure)
public Dimension unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<Dimension>Copyright © 2015. All Rights Reserved.