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
FieldsModifier and TypeFieldDescriptionprotected Currencyprotected XMLGregorianCalendarprotected BusinessCenterTimeprotected booleanprotected BigDecimalprotected DualCurrencyStrikePrice -
Constructor Summary
Constructors -
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.booleanGets the value of the interestAtRisk property.voidsetCurrency(Currency value) Sets the value of the currency property.voidSets the value of the fixingDate property.voidsetFixingTime(BusinessCenterTime value) Sets the value of the fixingTime property.voidsetInterestAtRisk(boolean value) Sets the value of the interestAtRisk property.voidsetSpotRate(BigDecimal value) Sets the value of the spotRate property.voidsetStrike(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.
-