Class FxTargetLinearPayoffRegion
java.lang.Object
net.finmath.smartcontract.product.xml.FxTargetPayoffRegion
net.finmath.smartcontract.product.xml.FxTargetLinearPayoffRegion
A fixing region in which the payoff varies linearly with the fixing
value.
Java class for FxTargetLinearPayoffRegion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FxTargetLinearPayoffRegion"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}FxTargetPayoffRegion"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}FxExchangedCurrency.model"/> <element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}FxStrike"/> <element name="counterCurrencyAmount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeAmountSchedule" minOccurs="0"/> <element name="lowerBound" type="{http://www.fpml.org/FpML-5/confirmation}FxTargetRegionLowerBound" minOccurs="0"/> <element name="upperBound" type="{http://www.fpml.org/FpML-5/confirmation}FxTargetRegionUpperBound" minOccurs="0"/> <element name="leverage" type="{http://www.fpml.org/FpML-5/confirmation}FxTargetLeverage" minOccurs="0"/> <element name="payoffCap" type="{http://www.fpml.org/FpML-5/confirmation}FxPayoffCap" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected NonNegativeAmountSchedule
protected FxExchangedCurrency
protected FxExchangedCurrency
protected FxTargetLeverage
protected FxTargetRegionLowerBound
protected List
<FxPayoffCap> protected FxStrike
protected FxTargetRegionUpperBound
Fields inherited from class net.finmath.smartcontract.product.xml.FxTargetPayoffRegion
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the counterCurrencyAmount property.Gets the value of the exchangedCurrency1 property.Gets the value of the exchangedCurrency2 property.Gets the value of the leverage property.Gets the value of the lowerBound property.Gets the value of the payoffCap property.Gets the value of the strike property.Gets the value of the upperBound property.void
Sets the value of the counterCurrencyAmount property.void
Sets the value of the exchangedCurrency1 property.void
Sets the value of the exchangedCurrency2 property.void
setLeverage
(FxTargetLeverage value) Sets the value of the leverage property.void
Sets the value of the lowerBound property.void
Sets the value of the strike property.void
Sets the value of the upperBound property.Methods inherited from class net.finmath.smartcontract.product.xml.FxTargetPayoffRegion
getId, setId
-
Field Details
-
exchangedCurrency1
-
exchangedCurrency2
-
strike
-
counterCurrencyAmount
-
lowerBound
-
upperBound
-
leverage
-
payoffCap
-
-
Constructor Details
-
FxTargetLinearPayoffRegion
public FxTargetLinearPayoffRegion()
-
-
Method Details
-
getExchangedCurrency1
Gets the value of the exchangedCurrency1 property.- Returns:
- possible object is
FxExchangedCurrency
-
setExchangedCurrency1
Sets the value of the exchangedCurrency1 property.- Parameters:
value
- allowed object isFxExchangedCurrency
-
getExchangedCurrency2
Gets the value of the exchangedCurrency2 property.- Returns:
- possible object is
FxExchangedCurrency
-
setExchangedCurrency2
Sets the value of the exchangedCurrency2 property.- Parameters:
value
- allowed object isFxExchangedCurrency
-
getStrike
-
setStrike
-
getCounterCurrencyAmount
Gets the value of the counterCurrencyAmount property.- Returns:
- possible object is
NonNegativeAmountSchedule
-
setCounterCurrencyAmount
Sets the value of the counterCurrencyAmount property.- Parameters:
value
- allowed object isNonNegativeAmountSchedule
-
getLowerBound
Gets the value of the lowerBound property.- Returns:
- possible object is
FxTargetRegionLowerBound
-
setLowerBound
Sets the value of the lowerBound property.- Parameters:
value
- allowed object isFxTargetRegionLowerBound
-
getUpperBound
Gets the value of the upperBound property.- Returns:
- possible object is
FxTargetRegionUpperBound
-
setUpperBound
Sets the value of the upperBound property.- Parameters:
value
- allowed object isFxTargetRegionUpperBound
-
getLeverage
Gets the value of the leverage property.- Returns:
- possible object is
FxTargetLeverage
-
setLeverage
Sets the value of the leverage property.- Parameters:
value
- allowed object isFxTargetLeverage
-
getPayoffCap
Gets the value of the payoffCap 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 payoffCap property.For example, to add a new item, do as follows:
getPayoffCap().add(newItem);
Objects of the following type(s) are allowed in the list
FxPayoffCap
-