Package de.cxp.ocs.model.index
Class Product
java.lang.Object
de.cxp.ocs.model.index.Document
de.cxp.ocs.model.index.Product
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 Summary
FieldsModifier and TypeFieldDescriptionDocument[]
for products without variants, it can be null or rather us a document directly.Fields inherited from class de.cxp.ocs.model.index.Document
attributes, categories, data, id
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.cxp.ocs.model.index.Document
addAttribute, addCategory, addPath, set, set, set, set, setAttributes
-
Field Details
-
variants
for products without variants, it can be null or rather us a document directly.
-
-
Constructor Details
-
Product
-