E
- the DataObject this element applies topublic class SameObjectProduct<E extends DataObject<E>> extends java.lang.Object implements FormulaElement<E>
Constructor and Description |
---|
SameObjectProduct(FormulaElement<E> element1,
FormulaElement<E> element2)
creates a formula element multiplying the two elements provided
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getValueForFormulaInput(E contextobject)
provides the value as big decimal for formula calculation
|
public SameObjectProduct(FormulaElement<E> element1, FormulaElement<E> element2)
element1
- an alement on the objectelement2
- another element on the objectpublic java.math.BigDecimal getValueForFormulaInput(E contextobject)
FormulaElement
getValueForFormulaInput
in interface FormulaElement<E extends DataObject<E>>