Package cdm.product.common.schedule
Interface CalculationPeriodDates
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CalculationPeriodDates.CalculationPeriodDatesBuilder
- All Known Implementing Classes:
CalculationPeriodDates.CalculationPeriodDatesBuilderImpl,CalculationPeriodDates.CalculationPeriodDatesImpl
@RosettaDataType(value="CalculationPeriodDates",
builder=CalculationPeriodDatesBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CalculationPeriodDates",
model="cdm",
builder=CalculationPeriodDatesBuilderImpl.class,
version="5.30.0")
public interface CalculationPeriodDates
extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
A data for: defining the parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods. A calculation period schedule consists of an optional initial stub calculation period, one or more regular calculation periods and an optional final stub calculation period. In the absence of any initial or final stub calculation periods, the regular part of the calculation period schedule is assumed to be between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be explicitly specified using an appropriate combination of firstPeriodStartDate, firstRegularPeriodStartDate and lastRegularPeriodEndDate.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CalculationPeriodDatesstatic classImmutable Implementation of CalculationPeriodDatesNested 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 specification of the business day convention and financial business centers used for adjusting any calculation period date if it would otherwise fall on a day that is not a business day in the specified business center.The frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.The first day of the terms of the trade.com.rosetta.model.lib.records.DateThe end date of the initial compounding period when compounding is applicable.The start date of the calculation period.com.rosetta.model.lib.records.DateThe start date of the regular part of the calculation period schedule.com.rosetta.model.lib.records.DateThe end date of the regular part of the calculation period schedule.com.rosetta.model.metafields.MetaFieldsgetMeta()Method to allocate any irregular period remaining after regular periods have been allocated between the effective and termination date.The last day of the terms of the trade.default Class<? extends CalculationPeriodDates> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends CalculationPeriodDates> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getEffectiveDate
AdjustableOrRelativeDate getEffectiveDate()The first day of the terms of the trade. This day may be subject to adjustment in accordance with a business day convention. -
getTerminationDate
AdjustableOrRelativeDate getTerminationDate()The last day of the terms of the trade. This date may be subject to adjustments in accordance with the business day convention. It can also be specified in relation to another scheduled date (e.g. the last payment date). -
getCalculationPeriodDatesAdjustments
BusinessDayAdjustments getCalculationPeriodDatesAdjustments()The specification of the business day convention and financial business centers used for adjusting any calculation period date if it would otherwise fall on a day that is not a business day in the specified business center. -
getFirstPeriodStartDate
AdjustableOrRelativeDate getFirstPeriodStartDate()The start date of the calculation period. FpML specifies that for interest rate swaps this date must only be specified if it is not equal to the effective date. It is always specified in the case of equity swaps and credit default swaps with periodic payments. This date may be subject to adjustment in accordance with a business day convention. -
getFirstRegularPeriodStartDate
com.rosetta.model.lib.records.Date getFirstRegularPeriodStartDate()The start date of the regular part of the calculation period schedule. It must only be specified if there is an initial stub calculation period. This day may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments. -
getFirstCompoundingPeriodEndDate
com.rosetta.model.lib.records.Date getFirstCompoundingPeriodEndDate()The end date of the initial compounding period when compounding is applicable. It must only be specified when the compoundingMethod element is present and not equal to a value of None. This date may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments. -
getLastRegularPeriodEndDate
com.rosetta.model.lib.records.Date getLastRegularPeriodEndDate()The end date of the regular part of the calculation period schedule. It must only be specified if there is a final stub calculation period. This day may be subject to adjustment in accordance with any adjustments specified in calculationPeriodDatesAdjustments. -
getStubPeriodType
StubPeriodTypeEnum getStubPeriodType()Method to allocate any irregular period remaining after regular periods have been allocated between the effective and termination date. -
getCalculationPeriodFrequency
CalculationPeriodFrequency getCalculationPeriodFrequency()The frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention. -
getMeta
com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey
-
build
CalculationPeriodDates build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- 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 interfacecom.rosetta.model.lib.RosettaModelObject
-