Package cdm.product.common.schedule
Class CalculationPeriodDates.CalculationPeriodDatesImpl
java.lang.Object
cdm.product.common.schedule.CalculationPeriodDates.CalculationPeriodDatesImpl
- All Implemented Interfaces:
CalculationPeriodDates,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CalculationPeriodDates
public static class CalculationPeriodDates.CalculationPeriodDatesImpl
extends Object
implements CalculationPeriodDates
Immutable Implementation of CalculationPeriodDates
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.CalculationPeriodDates
CalculationPeriodDates.CalculationPeriodDatesBuilder, CalculationPeriodDates.CalculationPeriodDatesBuilderImpl, CalculationPeriodDates.CalculationPeriodDatesImplNested 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.CalculationPeriodDates
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe 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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.CalculationPeriodDates
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CalculationPeriodDatesImpl
-
-
Method Details
-
getEffectiveDate
@RosettaAttribute("effectiveDate") @RuneAttribute("effectiveDate") public AdjustableOrRelativeDate getEffectiveDate()Description copied from interface:CalculationPeriodDatesThe first day of the terms of the trade. This day may be subject to adjustment in accordance with a business day convention.- Specified by:
getEffectiveDatein interfaceCalculationPeriodDates
-
getTerminationDate
@RosettaAttribute("terminationDate") @RuneAttribute("terminationDate") public AdjustableOrRelativeDate getTerminationDate()Description copied from interface:CalculationPeriodDatesThe 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).- Specified by:
getTerminationDatein interfaceCalculationPeriodDates
-
getCalculationPeriodDatesAdjustments
@RosettaAttribute("calculationPeriodDatesAdjustments") @RuneAttribute("calculationPeriodDatesAdjustments") public BusinessDayAdjustments getCalculationPeriodDatesAdjustments()Description copied from interface:CalculationPeriodDatesThe 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.- Specified by:
getCalculationPeriodDatesAdjustmentsin interfaceCalculationPeriodDates
-
getFirstPeriodStartDate
@RosettaAttribute("firstPeriodStartDate") @RuneAttribute("firstPeriodStartDate") public AdjustableOrRelativeDate getFirstPeriodStartDate()Description copied from interface:CalculationPeriodDatesThe 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.- Specified by:
getFirstPeriodStartDatein interfaceCalculationPeriodDates
-
getFirstRegularPeriodStartDate
@RosettaAttribute("firstRegularPeriodStartDate") @RuneAttribute("firstRegularPeriodStartDate") public com.rosetta.model.lib.records.Date getFirstRegularPeriodStartDate()Description copied from interface:CalculationPeriodDatesThe 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.- Specified by:
getFirstRegularPeriodStartDatein interfaceCalculationPeriodDates
-
getFirstCompoundingPeriodEndDate
@RosettaAttribute("firstCompoundingPeriodEndDate") @RuneAttribute("firstCompoundingPeriodEndDate") public com.rosetta.model.lib.records.Date getFirstCompoundingPeriodEndDate()Description copied from interface:CalculationPeriodDatesThe 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.- Specified by:
getFirstCompoundingPeriodEndDatein interfaceCalculationPeriodDates
-
getLastRegularPeriodEndDate
@RosettaAttribute("lastRegularPeriodEndDate") @RuneAttribute("lastRegularPeriodEndDate") public com.rosetta.model.lib.records.Date getLastRegularPeriodEndDate()Description copied from interface:CalculationPeriodDatesThe 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.- Specified by:
getLastRegularPeriodEndDatein interfaceCalculationPeriodDates
-
getStubPeriodType
@RosettaAttribute("stubPeriodType") @RuneAttribute("stubPeriodType") public StubPeriodTypeEnum getStubPeriodType()Description copied from interface:CalculationPeriodDatesMethod to allocate any irregular period remaining after regular periods have been allocated between the effective and termination date.- Specified by:
getStubPeriodTypein interfaceCalculationPeriodDates
-
getCalculationPeriodFrequency
@RosettaAttribute("calculationPeriodFrequency") @RuneAttribute("calculationPeriodFrequency") public CalculationPeriodFrequency getCalculationPeriodFrequency()Description copied from interface:CalculationPeriodDatesThe frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.- Specified by:
getCalculationPeriodFrequencyin interfaceCalculationPeriodDates
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfaceCalculationPeriodDates- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey
-
build
Description copied from interface:CalculationPeriodDatesBuild Methods- Specified by:
buildin interfaceCalculationPeriodDates- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCalculationPeriodDates- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-