public class ProductContext extends Object implements Context<ProductContext>
| Modifier and Type | Field and Description |
|---|---|
protected Numbers.MixedTypedNumber |
_product |
static ContextFactory<ProductContext> |
FACTORY |
| Constructor and Description |
|---|
ProductContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object item)
Add an item into the aggregation.
|
Number |
getProduct()
Retrieve PRODUCT.
|
void |
merge(ProductContext ctx)
Merge from another context of the same type.
|
protected Numbers.MixedTypedNumber _product
public static final ContextFactory<ProductContext> FACTORY
public void add(Object item)
Contextadd in interface Context<ProductContext>public void merge(ProductContext ctx)
Contextmerge in interface Context<ProductContext>public Number getProduct()
Copyright © 2023. All rights reserved.