public class DimensionWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.Dimension>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.catalog.domain.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 |
| 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) |
org.broadleafcommerce.core.catalog.domain.Dimension |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(org.broadleafcommerce.core.catalog.domain.Dimension model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.catalog.domain.Dimension model,
javax.servlet.http.HttpServletRequest request) |
protected BigDecimal width
protected BigDecimal height
protected BigDecimal depth
protected BigDecimal girth
protected String container
protected String size
protected String dimensionUnitOfMeasure
public void wrapDetails(org.broadleafcommerce.core.catalog.domain.Dimension model,
javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.Dimension>public void wrapSummary(org.broadleafcommerce.core.catalog.domain.Dimension model,
javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.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 setpublic org.broadleafcommerce.core.catalog.domain.Dimension unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context)
unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.catalog.domain.Dimension>Copyright © 2020. All rights reserved.