Class ProductVO

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

public class ProductVO extends org.ameba.http.AbstractBase<ProductVO> implements Serializable
A ProductVO is the API representation of a Product in the Shipping Service.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • pKey

      private String pKey
      The persistent unique key.
    • sku

      @NotEmpty(message="{owms.wms.shp.sku}", groups=Create.class) private @NotEmpty(message="{owms.wms.shp.sku}",groups=Create.class) String sku
      The product id is part of the unique business key, must not be empty.
    • label

      private String label
      An identifying label of the Product.
    • description

      private String description
      Textual descriptive text.
    • details

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

  • 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)
    • getDetails

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

      public void setDetails(Map<String,String> details)
    • 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>
    • toString

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