java.lang.Object
org.springframework.hateoas.RepresentationModel<ProductVO>
org.ameba.http.AbstractBase<ProductVO>
org.openwms.wms.shipping.spi.wms.inventory.ProductVO
All Implemented Interfaces:
Serializable

public class ProductVO extends org.ameba.http.AbstractBase<ProductVO> implements Serializable
A ProductVO that is a representation and mapped to the Product like it is defined in the WMS Inventory Service API.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • pKey

      @NotBlank(groups=Load.class) private @NotBlank(groups=Load.class) String pKey
      The persistent unique key.
    • sku

      @NotBlank(groups=Load.class) private @NotBlank(groups=Load.class) String sku
      The product id is part of the unique business key.
    • label

      @NotBlank(groups=Load.class) private @NotBlank(groups=Load.class) String label
      An identifying label of the Product.
    • description

      private String description
      Textual descriptive text.
    • stockZone

      private String stockZone
      Where the Product has to be placed in stock.
    • details

      private Map<String,String> details
      Arbitrary detail information on this Product, might by populated with ERP information.
  • Constructor Details

    • ProductVO

      public ProductVO()
    • ProductVO

      public ProductVO(String sku)
  • Method Details

    • getpKey

      public String getpKey()
    • setpKey

      public void setpKey(String pKey)
    • getSku

      public String getSku()
    • setSku

      public void setSku(String sku)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getStockZone

      public String getStockZone()
    • setStockZone

      public void setStockZone(String stockZone)
    • getDetails

      public Map<String,String> getDetails()
    • setDetails

      public void setDetails(Map<String,String> details)
    • toString

      public String toString()
      Just the SKU.
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<ProductVO>
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<ProductVO>
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<ProductVO>