Class Product

    • Field Detail

      • sku

        @NotEmpty
        private @NotEmpty String sku
        The product id is part of the unique business key.
      • description

        private String description
        Textual descriptive text.
      • baseUnit

        private org.openwms.core.units.api.Measurable baseUnit
        Products may be defined with different base units.
    • Constructor Detail

      • Product

        protected Product()
        Dear JPA ...
      • Product

        public Product​(String sku)
        Create a Product with a sku.
        Parameters:
        sku - The sku
    • Method Detail

      • getSku

        public String getSku()
        Get the SKU.
        Returns:
        the SKU.
      • setSku

        public void setSku​(String sku)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getBaseUnit

        public org.openwms.core.units.api.Measurable getBaseUnit()
      • setBaseUnit

        public void setBaseUnit​(org.openwms.core.units.api.Measurable baseUnit)
      • equals

        public boolean equals​(Object o)
        SKU only.
        Overrides:
        equals in class org.ameba.integration.jpa.ApplicationEntity
      • hashCode

        public int hashCode()
        SKU only.
        Overrides:
        hashCode in class org.ameba.integration.jpa.ApplicationEntity