Class Product

    • Field Detail

      • sku

        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.
        sku - The sku
    • Method Detail

      • getSku

        public String getSku()
        Get the SKU.
        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.
        equals in class org.ameba.integration.jpa.ApplicationEntity
      • hashCode

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