Class FormulaTerm
java.lang.Object
net.finmath.smartcontract.product.xml.FormulaTerm
A type defining a term of the formula. Its value is the product of the its
coefficient and the referenced partial derivatives.
Java class for FormulaTerm complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FormulaTerm"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="coefficient" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="partialDerivativeReference" type="{http://www.fpml.org/FpML-5/confirmation}PricingParameterDerivativeReference" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected List
<PricingParameterDerivativeReference> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the coefficient property.Gets the value of the partialDerivativeReference property.void
setCoefficient
(BigDecimal value) Sets the value of the coefficient property.
-
Field Details
-
coefficient
-
partialDerivativeReference
-
-
Constructor Details
-
FormulaTerm
public FormulaTerm()
-
-
Method Details
-
getCoefficient
Gets the value of the coefficient property.- Returns:
- possible object is
BigDecimal
-
setCoefficient
Sets the value of the coefficient property.- Parameters:
value
- allowed object isBigDecimal
-
getPartialDerivativeReference
Gets the value of the partialDerivativeReference property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the partialDerivativeReference property.For example, to add a new item, do as follows:
getPartialDerivativeReference().add(newItem);
Objects of the following type(s) are allowed in the list
PricingParameterDerivativeReference
-