Class PaymentCalculationPeriod
java.lang.Object
net.finmath.smartcontract.product.xml.PaymentCalculationPeriod
A type defining the adjusted payment date and associated calculation period
parameters required to calculate the actual or projected payment amount. This type forms part of the
cashflow representation of a swap stream.
Java class for PaymentCalculationPeriod complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PaymentCalculationPeriod"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="unadjustedPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="adjustedPaymentDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <choice> <element name="calculationPeriod" type="{http://www.fpml.org/FpML-5/confirmation}CalculationPeriod" maxOccurs="unbounded"/> <element name="fixedPaymentAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> </choice> <element name="discountFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="forecastPaymentAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/> <element name="presentValueAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected XMLGregorianCalendar
protected List
<CalculationPeriod> protected BigDecimal
protected BigDecimal
protected Money
protected Object
protected String
protected Money
protected XMLGregorianCalendar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the adjustedPaymentDate property.Gets the value of the calculationPeriod property.Gets the value of the discountFactor property.Gets the value of the fixedPaymentAmount property.Gets the value of the forecastPaymentAmount property.getHref()
Gets the value of the href property.getId()
Gets the value of the id property.Gets the value of the presentValueAmount property.Gets the value of the unadjustedPaymentDate property.void
Sets the value of the adjustedPaymentDate property.void
setDiscountFactor
(BigDecimal value) Sets the value of the discountFactor property.void
setFixedPaymentAmount
(BigDecimal value) Sets the value of the fixedPaymentAmount property.void
setForecastPaymentAmount
(Money value) Sets the value of the forecastPaymentAmount property.void
Sets the value of the href property.void
Sets the value of the id property.void
setPresentValueAmount
(Money value) Sets the value of the presentValueAmount property.void
Sets the value of the unadjustedPaymentDate property.
-
Field Details
-
unadjustedPaymentDate
-
adjustedPaymentDate
-
calculationPeriod
-
fixedPaymentAmount
-
discountFactor
-
forecastPaymentAmount
-
presentValueAmount
-
id
-
href
-
-
Constructor Details
-
PaymentCalculationPeriod
public PaymentCalculationPeriod()
-
-
Method Details
-
getUnadjustedPaymentDate
Gets the value of the unadjustedPaymentDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setUnadjustedPaymentDate
Sets the value of the unadjustedPaymentDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getAdjustedPaymentDate
Gets the value of the adjustedPaymentDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setAdjustedPaymentDate
Sets the value of the adjustedPaymentDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getCalculationPeriod
Gets the value of the calculationPeriod 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 calculationPeriod property.For example, to add a new item, do as follows:
getCalculationPeriod().add(newItem);
Objects of the following type(s) are allowed in the list
CalculationPeriod
-
getFixedPaymentAmount
Gets the value of the fixedPaymentAmount property.- Returns:
- possible object is
BigDecimal
-
setFixedPaymentAmount
Sets the value of the fixedPaymentAmount 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
-
getForecastPaymentAmount
-
setForecastPaymentAmount
-
getPresentValueAmount
-
setPresentValueAmount
-
getId
-
setId
-
getHref
-
setHref
-