Class FxAccrualLinearPayoffRegion
Java class for FxAccrualLinearPayoffRegion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxAccrualLinearPayoffRegion"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}FxAccrualPayoffRegion"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}FxExchangedCurrency.model"/> <choice> <sequence> <element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}FxForwardStrikePrice"/> <element name="counterCurrencyAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeAmountSchedule" minOccurs="0"/> </sequence> <element name="averageStrike" type="{http://www.fpml.org/FpML-5/confirmation}FxAverageStrike"/> </choice> <group ref="{http://www.fpml.org/FpML-5/confirmation}FxAccrualRegionBound.model" minOccurs="0"/> <element name="leverage" type="{http://www.fpml.org/FpML-5/confirmation}FxAccrualLeverage" minOccurs="0"/> <element name="payoffCap" type="{http://www.fpml.org/FpML-5/confirmation}FxPayoffCap" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Fields inherited from class net.finmath.smartcontract.product.xml.FxAccrualPayoffRegion
id
-
Constructor Summary
-
Method Summary
Methods inherited from class net.finmath.smartcontract.product.xml.FxAccrualPayoffRegion
getId, setId
-
Field Details
-
rest
-
-
Constructor Details
-
FxAccrualLinearPayoffRegion
public FxAccrualLinearPayoffRegion()
-
-
Method Details
-
getRest
Gets the rest of the content model.You are getting this "catch-all" property because of the following reason: The field name "UpperBound" is used by two different parts of a schema. See: line 1272 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-fx-accruals-5-9.xsd line 1261 of file:/Users/fries/git-sdc/finmath-smart-derivative-contract/target/checkout/src/main/resources/schemas/fpml-schemas/fpml-fx-accruals-5-9.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest 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 rest property.For example, to add a new item, do as follows:
getRest().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
FxExchangedCurrency
>
JAXBElement
<
FxExchangedCurrency
>
JAXBElement
<
FxForwardStrikePrice
>
JAXBElement
<
NonNegativeAmountSchedule
>
JAXBElement
<
FxAverageStrike
>
JAXBElement
<
FxAccrualRegionUpperBound
>
JAXBElement
<
FxAccrualRegionLowerBound
>
JAXBElement
<
FxAccrualLeverage
>
JAXBElement
<
FxPayoffCap
>
-