Class Calculation
java.lang.Object
net.finmath.smartcontract.product.xml.Calculation
A type definining the parameters used in the calculation of fixed or
floating calculation period amounts.
Java class for Calculation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Calculation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="notionalSchedule" type="{http://www.fpml.org/FpML-5/confirmation}Notional"/> <element name="fxLinkedNotionalSchedule" type="{http://www.fpml.org/FpML-5/confirmation}FxLinkedNotionalSchedule"/> </choice> <choice> <sequence> <element name="fixedRateSchedule" type="{http://www.fpml.org/FpML-5/confirmation}Schedule"/> <element name="futureValueNotional" type="{http://www.fpml.org/FpML-5/confirmation}FutureValueAmount" minOccurs="0"/> </sequence> <element ref="{http://www.fpml.org/FpML-5/confirmation}rateCalculation"/> </choice> <element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction"/> <element name="discounting" type="{http://www.fpml.org/FpML-5/confirmation}Discounting" minOccurs="0"/> <element name="compoundingMethod" type="{http://www.fpml.org/FpML-5/confirmation}CompoundingMethodEnum" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CompoundingMethodEnum
protected DayCountFraction
protected Discounting
protected Schedule
protected FutureValueAmount
protected FxLinkedNotionalSchedule
protected Notional
protected jakarta.xml.bind.JAXBElement
<? extends Rate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the compoundingMethod property.Gets the value of the dayCountFraction property.Gets the value of the discounting property.Gets the value of the fixedRateSchedule property.Gets the value of the futureValueNotional property.Gets the value of the fxLinkedNotionalSchedule property.Gets the value of the notionalSchedule property.jakarta.xml.bind.JAXBElement
<? extends Rate> This element is the head of a substitution group.void
Sets the value of the compoundingMethod property.void
Sets the value of the dayCountFraction property.void
setDiscounting
(Discounting value) Sets the value of the discounting property.void
setFixedRateSchedule
(Schedule value) Sets the value of the fixedRateSchedule property.void
Sets the value of the futureValueNotional property.void
Sets the value of the fxLinkedNotionalSchedule property.void
setNotionalSchedule
(Notional value) Sets the value of the notionalSchedule property.void
setRateCalculation
(jakarta.xml.bind.JAXBElement<? extends Rate> value) Sets the value of the rateCalculation property.
-
Field Details
-
notionalSchedule
-
fxLinkedNotionalSchedule
-
fixedRateSchedule
-
futureValueNotional
-
rateCalculation
-
dayCountFraction
-
discounting
-
compoundingMethod
-
-
Constructor Details
-
Calculation
public Calculation()
-
-
Method Details
-
getNotionalSchedule
-
setNotionalSchedule
-
getFxLinkedNotionalSchedule
Gets the value of the fxLinkedNotionalSchedule property.- Returns:
- possible object is
FxLinkedNotionalSchedule
-
setFxLinkedNotionalSchedule
Sets the value of the fxLinkedNotionalSchedule property.- Parameters:
value
- allowed object isFxLinkedNotionalSchedule
-
getFixedRateSchedule
-
setFixedRateSchedule
-
getFutureValueNotional
Gets the value of the futureValueNotional property.- Returns:
- possible object is
FutureValueAmount
-
setFutureValueNotional
Sets the value of the futureValueNotional property.- Parameters:
value
- allowed object isFutureValueAmount
-
getRateCalculation
This element is the head of a substitution group. It is substituted by the floatingRateCalculation element for standard Floating Rate legs, or the inflationRateCalculation element for inflation swaps.- Returns:
- possible object is
JAXBElement
<
InflationRateCalculation
>
JAXBElement
<
FloatingRateCalculation
>
JAXBElement
<
Rate
>
-
setRateCalculation
Sets the value of the rateCalculation property.- Parameters:
value
- allowed object isJAXBElement
<
InflationRateCalculation
>
JAXBElement
<
FloatingRateCalculation
>
JAXBElement
<
Rate
>
-
getDayCountFraction
Gets the value of the dayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDayCountFraction
Sets the value of the dayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-
getDiscounting
Gets the value of the discounting property.- Returns:
- possible object is
Discounting
-
setDiscounting
Sets the value of the discounting property.- Parameters:
value
- allowed object isDiscounting
-
getCompoundingMethod
Gets the value of the compoundingMethod property.- Returns:
- possible object is
CompoundingMethodEnum
-
setCompoundingMethod
Sets the value of the compoundingMethod property.- Parameters:
value
- allowed object isCompoundingMethodEnum
-