Class ProductVO

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

public class ProductVO extends org.ameba.http.AbstractBase 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

      private String pKey
      The persistent unique key.
    • sku

      private String sku
      The product id is part of the unique business key.
    • label

      private String label
      An identifying label of the Product.
  • Constructor Details

    • ProductVO

      public ProductVO()
    • ProductVO

      private ProductVO(ProductVO.Builder builder)
  • Method Details

    • newBuilder

      public static ProductVO.Builder newBuilder()
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel