Class ParametricAdjustment
java.lang.Object
net.finmath.smartcontract.product.xml.ParametricAdjustment
An adjustment used to accommodate a parameter of the input trade, e.g. the
strike.
Java class for ParametricAdjustment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ParametricAdjustment"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/> <element name="inputUnits" type="{http://www.fpml.org/FpML-5/confirmation}PriceQuoteUnits" minOccurs="0"/> <element name="datapoint" type="{http://www.fpml.org/FpML-5/confirmation}ParametricAdjustmentPoint" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<ParametricAdjustmentPoint> protected PriceQuoteUnits
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the datapoint property.Gets the value of the inputUnits property.getName()
Gets the value of the name property.void
setInputUnits
(PriceQuoteUnits value) Sets the value of the inputUnits property.void
Sets the value of the name property.
-
Field Details
-
name
-
inputUnits
-
datapoint
-
-
Constructor Details
-
ParametricAdjustment
public ParametricAdjustment()
-
-
Method Details
-
getName
-
setName
-
getInputUnits
Gets the value of the inputUnits property.- Returns:
- possible object is
PriceQuoteUnits
-
setInputUnits
Sets the value of the inputUnits property.- Parameters:
value
- allowed object isPriceQuoteUnits
-
getDatapoint
Gets the value of the datapoint 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 datapoint property.For example, to add a new item, do as follows:
getDatapoint().add(newItem);
Objects of the following type(s) are allowed in the list
ParametricAdjustmentPoint
-