Class DimensionWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.DimensionWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.catalog.domain.Dimension>, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.Dimension>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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>
JAXB wrapper for Dimension

User: Kelly Tisdell Date: 4/10/12

See Also:
  • Field Details

  • Constructor Details

    • DimensionWrapper

      public DimensionWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.catalog.domain.Dimension model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.Dimension>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.catalog.domain.Dimension model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.Dimension>
    • getWidth

      public BigDecimal getWidth()
      Returns:
      the width
    • setWidth

      public void setWidth(BigDecimal width)
      Parameters:
      width - the width to set
    • getHeight

      public BigDecimal getHeight()
      Returns:
      the height
    • setHeight

      public void setHeight(BigDecimal height)
      Parameters:
      height - the height to set
    • getDepth

      public BigDecimal getDepth()
      Returns:
      the depth
    • setDepth

      public void setDepth(BigDecimal depth)
      Parameters:
      depth - the depth to set
    • getGirth

      public BigDecimal getGirth()
      Returns:
      the girth
    • setGirth

      public void setGirth(BigDecimal girth)
      Parameters:
      girth - the girth to set
    • getContainer

      public String getContainer()
      Returns:
      the container
    • setContainer

      public void setContainer(String container)
      Parameters:
      container - the container to set
    • getSize

      public String getSize()
      Returns:
      the size
    • setSize

      public void setSize(String size)
      Parameters:
      size - the size to set
    • getDimensionUnitOfMeasure

      public String getDimensionUnitOfMeasure()
      Returns:
      the dimensionUnitOfMeasure
    • setDimensionUnitOfMeasure

      public void setDimensionUnitOfMeasure(String dimensionUnitOfMeasure)
      Parameters:
      dimensionUnitOfMeasure - the dimensionUnitOfMeasure to set
    • unwrap

      public org.broadleafcommerce.core.catalog.domain.Dimension unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
      Specified by:
      unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.catalog.domain.Dimension>