Class ProductVO
- All Implemented Interfaces:
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:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
Textual descriptive text.Arbitrary detail information on thisProduct
, might by populated with ERP information.private @NotBlank(groups=Load.class) String
An identifying label of the Product.private @NotBlank(groups=Load.class) String
The persistent unique key.private @NotBlank(groups=Load.class) String
The product id is part of the unique business key.private String
Where theProduct
has to be placed in stock. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.getLabel()
getpKey()
getSku()
int
hashCode()
All fields.void
setDescription
(String description) void
setDetails
(Map<String, String> details) void
void
void
void
setStockZone
(String stockZone) toString()
Just the SKU.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
The product id is part of the unique business key. -
label
An identifying label of the Product. -
description
Textual descriptive text. -
stockZone
Where theProduct
has to be placed in stock. -
details
Arbitrary detail information on thisProduct
, might by populated with ERP information.
-
-
Constructor Details
-
ProductVO
public ProductVO() -
ProductVO
-
-
Method Details
-
getpKey
-
setpKey
-
getSku
-
setSku
-
getLabel
-
setLabel
-
getDescription
-
setDescription
-
getStockZone
-
setStockZone
-
getDetails
-
setDetails
-
toString
Just the SKU.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<ProductVO>
-
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>
-