Class Product

java.lang.Object
de.cxp.ocs.model.index.Document
de.cxp.ocs.model.index.Product

public class Product extends Document
Main product containing the data that is common for all variants. A product may represent a master-variant relation ship. A variant is associated to a single Product and cannot have variants again - those will be ignored. It should only contain data special to that variant. Data that is common to all variants should be set at master level.
  • Field Details

    • variants

      public Document[] variants
      for products without variants, it can be null or rather us a document directly.
  • Constructor Details

    • Product

      public Product(String id)