Package org.openwms.wms.shipping.api
Class ProductVO
- All Implemented Interfaces:
Serializable
A ProductVO is the API representation of a
Product
in the Shipping Service.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
Textual descriptive text.Arbitrary detail information on this product, might be by populated with ERP information.private String
An identifying label of the Product.private String
The persistent unique key.private @NotEmpty(message="{owms.wms.shp.sku}",groups=Create.class) String
The product id is part of the unique business key, must not be empty. -
Constructor Summary
-
Method Summary
Methods inherited from class org.ameba.http.AbstractBase
getOl, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
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 skuThe product id is part of the unique business key, must not be empty. -
label
An identifying label of the Product. -
description
Textual descriptive text. -
details
Arbitrary detail information on this product, might be by populated with ERP information.
-
-
Constructor Details
-
ProductVO
public ProductVO() -
ProductVO
-
-
Method Details
-
getpKey
-
setpKey
-
getSku
-
setSku
-
getLabel
-
setLabel
-
getDescription
-
setDescription
-
getDetails
-
setDetails
-
equals
All fields.- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<ProductVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<ProductVO>
-
toString
All fields.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<ProductVO>
-