public class WeightWrapper extends Object implements APIWrapper<Weight>, APIUnwrapper<Weight>
| Modifier and Type | Field and Description |
|---|---|
protected String |
unitOfMeasure |
protected BigDecimal |
weight |
| Constructor and Description |
|---|
WeightWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Weight |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(Weight model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Weight model,
javax.servlet.http.HttpServletRequest request) |
protected BigDecimal weight
protected String unitOfMeasure
public void wrapDetails(Weight model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Weight>public void wrapSummary(Weight model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Weight>public Weight unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<Weight>Copyright © 2015. All Rights Reserved.