Package cdm.product.common.schedule
Class CalculationPeriod.CalculationPeriodImpl
java.lang.Object
cdm.product.common.schedule.CalculationPeriodBase.CalculationPeriodBaseImpl
cdm.product.common.schedule.CalculationPeriod.CalculationPeriodImpl
- All Implemented Interfaces:
CalculationPeriod,CalculationPeriodBase,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CalculationPeriod
public static class CalculationPeriod.CalculationPeriodImpl
extends CalculationPeriodBase.CalculationPeriodBaseImpl
implements CalculationPeriod
Immutable Implementation of CalculationPeriod
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.CalculationPeriod
CalculationPeriod.CalculationPeriodBuilder, CalculationPeriod.CalculationPeriodBuilderImpl, CalculationPeriod.CalculationPeriodImplNested 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 inherited from interface cdm.product.common.schedule.CalculationPeriod
metaDataFields inherited from interface cdm.product.common.schedule.CalculationPeriodBase
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe 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.com.rosetta.model.lib.records.DateThe calculation end date, unadjusted.com.rosetta.model.lib.records.DateThe calculation start date, unadjusted.inthashCode()protected voidtoString()Methods inherited from class cdm.product.common.schedule.CalculationPeriodBase.CalculationPeriodBaseImpl
getAdjustedEndDate, getAdjustedStartDate, getMeta, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.CalculationPeriod
getType, metaData, processMethods inherited from interface cdm.product.common.schedule.CalculationPeriodBase
getAdjustedEndDate, getAdjustedStartDate, getMetaMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CalculationPeriodImpl
-
-
Method Details
-
getUnadjustedStartDate
@RosettaAttribute("unadjustedStartDate") @RuneAttribute("unadjustedStartDate") public com.rosetta.model.lib.records.Date getUnadjustedStartDate()Description copied from interface:CalculationPeriodThe calculation start date, unadjusted.- Specified by:
getUnadjustedStartDatein interfaceCalculationPeriod
-
getUnadjustedEndDate
@RosettaAttribute("unadjustedEndDate") @RuneAttribute("unadjustedEndDate") public com.rosetta.model.lib.records.Date getUnadjustedEndDate()Description copied from interface:CalculationPeriodThe calculation end date, unadjusted.- Specified by:
getUnadjustedEndDatein interfaceCalculationPeriod
-
getCalculationPeriodNumberOfDays
@RosettaAttribute("calculationPeriodNumberOfDays") @RuneAttribute("calculationPeriodNumberOfDays") public Integer getCalculationPeriodNumberOfDays()Description copied from interface:CalculationPeriodThe number of days from the adjusted effective / start date to the adjusted termination / end date calculated in accordance with the applicable day count fraction.- Specified by:
getCalculationPeriodNumberOfDaysin interfaceCalculationPeriod
-
getNotionalAmount
@RosettaAttribute("notionalAmount") @RuneAttribute("notionalAmount") public BigDecimal getNotionalAmount()Description copied from interface:CalculationPeriodThe amount that a cashflow will accrue interest on.- Specified by:
getNotionalAmountin interfaceCalculationPeriod
-
getFxLinkedNotionalAmount
@RosettaAttribute("fxLinkedNotionalAmount") @RuneAttribute("fxLinkedNotionalAmount") public FxLinkedNotionalAmount getFxLinkedNotionalAmount()Description copied from interface:CalculationPeriodThe 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.- Specified by:
getFxLinkedNotionalAmountin interfaceCalculationPeriod
-
getFloatingRateDefinition
@RosettaAttribute("floatingRateDefinition") @RuneAttribute("floatingRateDefinition") public FloatingRateDefinition getFloatingRateDefinition()Description copied from interface:CalculationPeriodThe floating rate reset information for the calculation period.- Specified by:
getFloatingRateDefinitionin interfaceCalculationPeriod
-
getFixedRate
Description copied from interface:CalculationPeriodThe calculation period fixed rate. A per annum rate, expressed as a decimal. A fixed rate of 5% would be represented as 0.05.- Specified by:
getFixedRatein interfaceCalculationPeriod
-
getDayCountYearFraction
@RosettaAttribute("dayCountYearFraction") @RuneAttribute("dayCountYearFraction") public BigDecimal getDayCountYearFraction()Description copied from interface:CalculationPeriodThe year fraction value of the calculation period, result of applying the ISDA rules for day count fraction defined in the ISDA Annex.- Specified by:
getDayCountYearFractionin interfaceCalculationPeriod
-
getForecastAmount
@RosettaAttribute("forecastAmount") @RuneAttribute("forecastAmount") public Money getForecastAmount()Description copied from interface:CalculationPeriodThe amount representing the forecast of the accrued value of the calculation period. An intermediate value used to generate the forecastPaymentAmount in the PaymentCalculationPeriod.- Specified by:
getForecastAmountin interfaceCalculationPeriod
-
getForecastRate
@RosettaAttribute("forecastRate") @RuneAttribute("forecastRate") public BigDecimal getForecastRate()Description copied from interface:CalculationPeriodA 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.- Specified by:
getForecastRatein interfaceCalculationPeriod
-
build
Description copied from interface:CalculationPeriodBaseBuild Methods- Specified by:
buildin interfaceCalculationPeriod- Specified by:
buildin interfaceCalculationPeriodBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classCalculationPeriodBase.CalculationPeriodBaseImpl
-
toBuilder
- Specified by:
toBuilderin interfaceCalculationPeriod- Specified by:
toBuilderin interfaceCalculationPeriodBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classCalculationPeriodBase.CalculationPeriodBaseImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classCalculationPeriodBase.CalculationPeriodBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classCalculationPeriodBase.CalculationPeriodBaseImpl
-
toString
- Overrides:
toStringin classCalculationPeriodBase.CalculationPeriodBaseImpl
-