Package org.zkoss.pivot.impl.calc
Class ProductContext
java.lang.Object
org.zkoss.pivot.impl.calc.ProductContext
- All Implemented Interfaces:
Context<ProductContext>
- Author:
- simonpai
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Numbers.MixedTypedNumberstatic final ContextFactory<ProductContext> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an item into the aggregation.Retrieve PRODUCT.voidmerge(ProductContext ctx) Merge from another context of the same type.
-
Field Details
-
_product
-
FACTORY
-
-
Constructor Details
-
ProductContext
public ProductContext()
-
-
Method Details
-
add
Description copied from interface:ContextAdd an item into the aggregation.- Specified by:
addin interfaceContext<ProductContext>
-
merge
Description copied from interface:ContextMerge from another context of the same type.- Specified by:
mergein interfaceContext<ProductContext>
-
getProduct
Retrieve PRODUCT.
-