Class DualCurrencyFeature
java.lang.Object
net.finmath.smartcontract.product.xml.DualCurrencyFeature
Describes the parameters for a dual currency option transaction.
Java class for DualCurrencyFeature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DualCurrencyFeature"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/> <element name="fixingDate" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="fixingTime" type="{http://www.fpml.org/FpML-5/confirmation}BusinessCenterTime" minOccurs="0"/> <element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}DualCurrencyStrikePrice"/> <element name="spotRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="interestAtRisk" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Currency
protected XMLGregorianCalendar
protected BusinessCenterTime
protected boolean
protected BigDecimal
protected DualCurrencyStrikePrice
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency property.Gets the value of the fixingDate property.Gets the value of the fixingTime property.Gets the value of the spotRate property.Gets the value of the strike property.boolean
Gets the value of the interestAtRisk property.void
setCurrency
(Currency value) Sets the value of the currency property.void
Sets the value of the fixingDate property.void
setFixingTime
(BusinessCenterTime value) Sets the value of the fixingTime property.void
setInterestAtRisk
(boolean value) Sets the value of the interestAtRisk property.void
setSpotRate
(BigDecimal value) Sets the value of the spotRate property.void
setStrike
(DualCurrencyStrikePrice value) Sets the value of the strike property.
-
Field Details
-
currency
-
fixingDate
-
fixingTime
-
strike
-
spotRate
-
interestAtRisk
protected boolean interestAtRisk
-
-
Constructor Details
-
DualCurrencyFeature
public DualCurrencyFeature()
-
-
Method Details
-
getCurrency
-
setCurrency
-
getFixingDate
Gets the value of the fixingDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setFixingDate
Sets the value of the fixingDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getFixingTime
Gets the value of the fixingTime property.- Returns:
- possible object is
BusinessCenterTime
-
setFixingTime
Sets the value of the fixingTime property.- Parameters:
value
- allowed object isBusinessCenterTime
-
getStrike
Gets the value of the strike property.- Returns:
- possible object is
DualCurrencyStrikePrice
-
setStrike
Sets the value of the strike property.- Parameters:
value
- allowed object isDualCurrencyStrikePrice
-
getSpotRate
Gets the value of the spotRate property.- Returns:
- possible object is
BigDecimal
-
setSpotRate
Sets the value of the spotRate property.- Parameters:
value
- allowed object isBigDecimal
-
isInterestAtRisk
public boolean isInterestAtRisk()Gets the value of the interestAtRisk property. -
setInterestAtRisk
public void setInterestAtRisk(boolean value) Sets the value of the interestAtRisk property.
-