]> git.mxchange.org Git - jproduct-core.git/blobdiff - src/org/mxchange/jshopcore/model/item/BaseItem.java
Continued:
[jproduct-core.git] / src / org / mxchange / jshopcore / model / item / BaseItem.java
index 2015d2dd1c09f925f0e70af6634ba7564e4af945..8e4591e6b64d9cef1b9c54f8aa1d78806c7a66bb 100644 (file)
@@ -154,4 +154,10 @@ public abstract class BaseItem implements AddableBasketItem, Comparable<AddableB
                hash = 29 * hash + Objects.hashCode(this.getItemType());
                return hash;
        }
+
+       @Override
+       public boolean isProductType () {
+               // Is the instance set?
+               return (this.getProduct() instanceof Product);
+       }
 }