E
- the DataObject this element applies topublic class SameObjectSubstract<E extends DataObject<E>> extends java.lang.Object implements FormulaElement<E>
Constructor and Description |
---|
SameObjectSubstract(FormulaElement<E> element1,
FormulaElement<E> element2)
creates a formula element substracting 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 SameObjectSubstract(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>>