org.zkoss.pivot.impl.calc
Class ProductContext

java.lang.Object
  extended by org.zkoss.pivot.impl.calc.ProductContext
All Implemented Interfaces:
Context<ProductContext>

public class ProductContext
extends java.lang.Object
implements Context<ProductContext>

Author:
simonpai

Field Summary
protected  Numbers.MixedTypedNumber _product
           
static ContextFactory<ProductContext> FACTORY
           
 
Constructor Summary
ProductContext()
           
 
Method Summary
 void add(java.lang.Object item)
          Add an item into the aggregation.
 java.lang.Number getProduct()
          Retrieve PRODUCT.
 void merge(ProductContext ctx)
          Merge from another context of the same type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_product

protected Numbers.MixedTypedNumber _product

FACTORY

public static final ContextFactory<ProductContext> FACTORY
Constructor Detail

ProductContext

public ProductContext()
Method Detail

add

public void add(java.lang.Object item)
Description copied from interface: Context
Add an item into the aggregation.

Specified by:
add in interface Context<ProductContext>

merge

public void merge(ProductContext ctx)
Description copied from interface: Context
Merge from another context of the same type.

Specified by:
merge in interface Context<ProductContext>

getProduct

public java.lang.Number getProduct()
Retrieve PRODUCT.



Copyright © 2013. All Rights Reserved.