Package cdm.product.common.schedule
Interface CalculationPeriod
- All Superinterfaces:
CalculationPeriodBase,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CalculationPeriod.CalculationPeriodBuilder
- All Known Implementing Classes:
CalculationPeriod.CalculationPeriodBuilderImpl,CalculationPeriod.CalculationPeriodImpl
@RosettaDataType(value="CalculationPeriod",
builder=CalculationPeriodBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CalculationPeriod",
model="cdm",
builder=CalculationPeriodBuilderImpl.class,
version="5.30.0")
public interface CalculationPeriod
extends CalculationPeriodBase
A data defining: the parameters used in the calculation of a fixed or floating rate calculation period amount. This data forms: part of cashflows representation of a swap stream.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CalculationPeriodstatic classImmutable Implementation of CalculationPeriodNested classes/interfaces inherited from interface cdm.product.common.schedule.CalculationPeriodBase
CalculationPeriodBase.CalculationPeriodBaseBuilder, CalculationPeriodBase.CalculationPeriodBaseBuilderImpl, CalculationPeriodBase.CalculationPeriodBaseImplNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()The number of days from the adjusted effective / start date to the adjusted termination / end date calculated in accordance with the applicable day count fraction.The year fraction value of the calculation period, result of applying the ISDA rules for day count fraction defined in the ISDA Annex.The calculation period fixed rate.The floating rate reset information for the calculation period.The amount representing the forecast of the accrued value of the calculation period.A value representing the forecast rate used to calculate the forecast future value of the accrual period.The amount that a cashflow will accrue interest on.The amount that a cashflow will accrue interest on.default Class<? extends CalculationPeriod> getType()com.rosetta.model.lib.records.DateThe calculation end date, unadjusted.com.rosetta.model.lib.records.DateThe calculation start date, unadjusted.default com.rosetta.model.lib.meta.RosettaMetaData<? extends CalculationPeriod> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.product.common.schedule.CalculationPeriodBase
getAdjustedEndDate, getAdjustedStartDate, getMetaMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getUnadjustedStartDate
com.rosetta.model.lib.records.Date getUnadjustedStartDate()The calculation start date, unadjusted. -
getUnadjustedEndDate
com.rosetta.model.lib.records.Date getUnadjustedEndDate()The calculation end date, unadjusted. -
getCalculationPeriodNumberOfDays
Integer getCalculationPeriodNumberOfDays()The number of days from the adjusted effective / start date to the adjusted termination / end date calculated in accordance with the applicable day count fraction. -
getNotionalAmount
BigDecimal getNotionalAmount()The amount that a cashflow will accrue interest on. -
getFxLinkedNotionalAmount
FxLinkedNotionalAmount getFxLinkedNotionalAmount()The amount that a cashflow will accrue interest on. This is the calculated amount of the FX linked - i.e. the other currency notional amount multiplied by the appropriate FX spot rate. -
getFloatingRateDefinition
FloatingRateDefinition getFloatingRateDefinition()The floating rate reset information for the calculation period. -
getFixedRate
BigDecimal getFixedRate()The calculation period fixed rate. A per annum rate, expressed as a decimal. A fixed rate of 5% would be represented as 0.05. -
getDayCountYearFraction
BigDecimal getDayCountYearFraction()The year fraction value of the calculation period, result of applying the ISDA rules for day count fraction defined in the ISDA Annex. -
getForecastAmount
Money getForecastAmount()The amount representing the forecast of the accrued value of the calculation period. An intermediate value used to generate the forecastPaymentAmount in the PaymentCalculationPeriod. -
getForecastRate
BigDecimal getForecastRate()A value representing the forecast rate used to calculate the forecast future value of the accrual period. This is a calculated rate determined based on averaging the rates in the rateObservation elements, and incorporates all of the rate treatment and averaging rules. A value of 1% should be represented as 0.01. -
build
CalculationPeriod build()Build Methods- Specified by:
buildin interfaceCalculationPeriodBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
CalculationPeriod.CalculationPeriodBuilder toBuilder()- Specified by:
toBuilderin interfaceCalculationPeriodBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfaceCalculationPeriodBase- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfaceCalculationPeriodBase- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfaceCalculationPeriodBase- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-