Package cdm.base.datetime
Class PeriodicDates.PeriodicDatesBuilderImpl
java.lang.Object
cdm.base.datetime.PeriodicDates.PeriodicDatesBuilderImpl
- All Implemented Interfaces:
PeriodicDates,PeriodicDates.PeriodicDatesBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
PeriodicDates
public static class PeriodicDates.PeriodicDatesBuilderImpl
extends Object
implements PeriodicDates.PeriodicDatesBuilder
Builder Implementation of PeriodicDates
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.PeriodicDates
PeriodicDates.PeriodicDatesBuilder, PeriodicDates.PeriodicDatesBuilderImpl, PeriodicDates.PeriodicDatesImpl -
Field Summary
FieldsFields inherited from interface cdm.base.datetime.PeriodicDates
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanDenotes the enumerated values to specify the day type classification used in counting the number of days between two dates.The end date of the calculation period.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 start date of the calculation period.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDayType(DayTypeEnum _dayType) setEndDate(AdjustableOrRelativeDate _endDate) setPeriodDatesAdjustments(BusinessDayAdjustments _periodDatesAdjustments) setPeriodFrequency(CalculationPeriodFrequency _periodFrequency) setStartDate(AdjustableOrRelativeDate _startDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.datetime.PeriodicDates
getType, metaData, processMethods inherited from interface cdm.base.datetime.PeriodicDates.PeriodicDatesBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
startDate
-
endDate
-
periodFrequency
-
periodDatesAdjustments
-
dayType
-
-
Constructor Details
-
PeriodicDatesBuilderImpl
public PeriodicDatesBuilderImpl()
-
-
Method Details
-
getStartDate
@RosettaAttribute("startDate") @RuneAttribute("startDate") public AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getStartDate()Description copied from interface:PeriodicDatesThe 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:
getStartDatein interfacePeriodicDates- Specified by:
getStartDatein interfacePeriodicDates.PeriodicDatesBuilder
-
getOrCreateStartDate
- Specified by:
getOrCreateStartDatein interfacePeriodicDates.PeriodicDatesBuilder
-
getEndDate
@RosettaAttribute("endDate") @RuneAttribute("endDate") public AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getEndDate()Description copied from interface:PeriodicDatesThe end 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 termination date. It is always specified in the case of equity swaps with periodic payments. This date may be subject to adjustment in accordance with a business day convention.- Specified by:
getEndDatein interfacePeriodicDates- Specified by:
getEndDatein interfacePeriodicDates.PeriodicDatesBuilder
-
getOrCreateEndDate
- Specified by:
getOrCreateEndDatein interfacePeriodicDates.PeriodicDatesBuilder
-
getPeriodFrequency
@RosettaAttribute("periodFrequency") @RuneAttribute("periodFrequency") public CalculationPeriodFrequency.CalculationPeriodFrequencyBuilder getPeriodFrequency()Description copied from interface:PeriodicDatesThe frequency at which calculation period end dates occur with the regular part of the calculation period schedule and their roll date convention.- Specified by:
getPeriodFrequencyin interfacePeriodicDates- Specified by:
getPeriodFrequencyin interfacePeriodicDates.PeriodicDatesBuilder
-
getOrCreatePeriodFrequency
- Specified by:
getOrCreatePeriodFrequencyin interfacePeriodicDates.PeriodicDatesBuilder
-
getPeriodDatesAdjustments
@RosettaAttribute("periodDatesAdjustments") @RuneAttribute("periodDatesAdjustments") public BusinessDayAdjustments.BusinessDayAdjustmentsBuilder getPeriodDatesAdjustments()Description copied from interface:PeriodicDatesThe 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:
getPeriodDatesAdjustmentsin interfacePeriodicDates- Specified by:
getPeriodDatesAdjustmentsin interfacePeriodicDates.PeriodicDatesBuilder
-
getOrCreatePeriodDatesAdjustments
- Specified by:
getOrCreatePeriodDatesAdjustmentsin interfacePeriodicDates.PeriodicDatesBuilder
-
getDayType
Description copied from interface:PeriodicDatesDenotes the enumerated values to specify the day type classification used in counting the number of days between two dates.- Specified by:
getDayTypein interfacePeriodicDates
-
setStartDate
@RosettaAttribute("startDate") @RuneAttribute("startDate") public PeriodicDates.PeriodicDatesBuilder setStartDate(AdjustableOrRelativeDate _startDate) - Specified by:
setStartDatein interfacePeriodicDates.PeriodicDatesBuilder
-
setEndDate
@RosettaAttribute("endDate") @RuneAttribute("endDate") public PeriodicDates.PeriodicDatesBuilder setEndDate(AdjustableOrRelativeDate _endDate) - Specified by:
setEndDatein interfacePeriodicDates.PeriodicDatesBuilder
-
setPeriodFrequency
@RosettaAttribute("periodFrequency") @RuneAttribute("periodFrequency") public PeriodicDates.PeriodicDatesBuilder setPeriodFrequency(CalculationPeriodFrequency _periodFrequency) - Specified by:
setPeriodFrequencyin interfacePeriodicDates.PeriodicDatesBuilder
-
setPeriodDatesAdjustments
@RosettaAttribute("periodDatesAdjustments") @RuneAttribute("periodDatesAdjustments") public PeriodicDates.PeriodicDatesBuilder setPeriodDatesAdjustments(BusinessDayAdjustments _periodDatesAdjustments) - Specified by:
setPeriodDatesAdjustmentsin interfacePeriodicDates.PeriodicDatesBuilder
-
setDayType
@RosettaAttribute("dayType") @RuneAttribute("dayType") public PeriodicDates.PeriodicDatesBuilder setDayType(DayTypeEnum _dayType) - Specified by:
setDayTypein interfacePeriodicDates.PeriodicDatesBuilder
-
build
Description copied from interface:PeriodicDatesBuild Methods- Specified by:
buildin interfacePeriodicDates- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePeriodicDates- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfacePeriodicDates.PeriodicDatesBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PeriodicDates.PeriodicDatesBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-