Class PrincipalExchange
java.lang.Object
net.finmath.smartcontract.product.xml.PrincipalExchange
A type defining a principal exchange amount and adjusted exchange date. The
type forms part of the cashflow representation of a swap stream.
Java class for PrincipalExchange complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrincipalExchange"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="unadjustedPrincipalExchangeDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="adjustedPrincipalExchangeDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="principalExchangeAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="discountFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="presentValuePrincipalExchangeAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected BigDecimal
protected String
protected Money
protected BigDecimal
protected XMLGregorianCalendar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the adjustedPrincipalExchangeDate property.Gets the value of the discountFactor property.getId()
Gets the value of the id property.Gets the value of the presentValuePrincipalExchangeAmount property.Gets the value of the principalExchangeAmount property.Gets the value of the unadjustedPrincipalExchangeDate property.void
Sets the value of the adjustedPrincipalExchangeDate property.void
setDiscountFactor
(BigDecimal value) Sets the value of the discountFactor property.void
Sets the value of the id property.void
Sets the value of the presentValuePrincipalExchangeAmount property.void
Sets the value of the principalExchangeAmount property.void
Sets the value of the unadjustedPrincipalExchangeDate property.
-
Field Details
-
unadjustedPrincipalExchangeDate
-
adjustedPrincipalExchangeDate
-
principalExchangeAmount
-
discountFactor
-
presentValuePrincipalExchangeAmount
-
id
-
-
Constructor Details
-
PrincipalExchange
public PrincipalExchange()
-
-
Method Details
-
getUnadjustedPrincipalExchangeDate
Gets the value of the unadjustedPrincipalExchangeDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setUnadjustedPrincipalExchangeDate
Sets the value of the unadjustedPrincipalExchangeDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getAdjustedPrincipalExchangeDate
Gets the value of the adjustedPrincipalExchangeDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setAdjustedPrincipalExchangeDate
Sets the value of the adjustedPrincipalExchangeDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getPrincipalExchangeAmount
Gets the value of the principalExchangeAmount property.- Returns:
- possible object is
BigDecimal
-
setPrincipalExchangeAmount
Sets the value of the principalExchangeAmount property.- Parameters:
value
- allowed object isBigDecimal
-
getDiscountFactor
Gets the value of the discountFactor property.- Returns:
- possible object is
BigDecimal
-
setDiscountFactor
Sets the value of the discountFactor property.- Parameters:
value
- allowed object isBigDecimal
-
getPresentValuePrincipalExchangeAmount
-
setPresentValuePrincipalExchangeAmount
-
getId
-
setId
-