Package cdm.product.common.schedule
Class ResetDates.ResetDatesBuilderImpl
java.lang.Object
cdm.product.common.schedule.ResetDates.ResetDatesBuilderImpl
- All Implemented Interfaces:
ResetDates,ResetDates.ResetDatesBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ResetDates
public static class ResetDates.ResetDatesBuilderImpl
extends Object
implements ResetDates.ResetDatesBuilder
Builder Implementation of ResetDates
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.product.common.schedule.ResetDates
ResetDates.ResetDatesBuilder, ResetDates.ResetDatesBuilderImpl, ResetDates.ResetDatesImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdjustableDate.AdjustableDateBuilderprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected Offset.OffsetBuilderprotected ResetFrequency.ResetFrequencyBuilderprotected ResetRelativeToEnumFields inherited from interface cdm.product.common.schedule.ResetDates
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanA pointer style reference to the associated calculation period dates component defined elsewhere in the document.This attribute is not part of the FpML ResetDate, and has been added as part of the CDM to support the credit derivatives final fixing date.The fixing dates are the dates on which the index values are observed.The initial fixing date.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderSpecifies the number of business days before the period end date when the rate cut-off date is assumed to apply.The definition of the business day convention and financial business centers used for adjusting the reset date if it would otherwise fall on a day that is not a business day in the specified business center.The frequency at which the reset dates occur.Specifies whether the reset dates are determined with respect to each adjusted calculation period start date or adjusted calculation period end date.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCalculationPeriodDatesReference(ReferenceWithMetaCalculationPeriodDates _calculationPeriodDatesReference) setCalculationPeriodDatesReferenceValue(CalculationPeriodDates _calculationPeriodDatesReference) setFinalFixingDate(AdjustableDate _finalFixingDate) setFixingDates(RelativeDateOffset _fixingDates) setInitialFixingDate(InitialFixingDate _initialFixingDate) setMeta(com.rosetta.model.metafields.MetaFields _meta) setRateCutOffDaysOffset(Offset _rateCutOffDaysOffset) setResetDatesAdjustments(BusinessDayAdjustments _resetDatesAdjustments) setResetFrequency(ResetFrequency _resetFrequency) setResetRelativeTo(ResetRelativeToEnum _resetRelativeTo) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.ResetDates
getType, metaData, processMethods inherited from interface cdm.product.common.schedule.ResetDates.ResetDatesBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
calculationPeriodDatesReference
protected ReferenceWithMetaCalculationPeriodDates.ReferenceWithMetaCalculationPeriodDatesBuilder calculationPeriodDatesReference -
resetRelativeTo
-
initialFixingDate
-
fixingDates
-
finalFixingDate
-
rateCutOffDaysOffset
-
resetFrequency
-
resetDatesAdjustments
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
ResetDatesBuilderImpl
public ResetDatesBuilderImpl()
-
-
Method Details
-
getCalculationPeriodDatesReference
@RosettaAttribute("calculationPeriodDatesReference") @RuneAttribute("calculationPeriodDatesReference") public ReferenceWithMetaCalculationPeriodDates.ReferenceWithMetaCalculationPeriodDatesBuilder getCalculationPeriodDatesReference()Description copied from interface:ResetDatesA pointer style reference to the associated calculation period dates component defined elsewhere in the document.- Specified by:
getCalculationPeriodDatesReferencein interfaceResetDates- Specified by:
getCalculationPeriodDatesReferencein interfaceResetDates.ResetDatesBuilder
-
getOrCreateCalculationPeriodDatesReference
public ReferenceWithMetaCalculationPeriodDates.ReferenceWithMetaCalculationPeriodDatesBuilder getOrCreateCalculationPeriodDatesReference()- Specified by:
getOrCreateCalculationPeriodDatesReferencein interfaceResetDates.ResetDatesBuilder
-
getResetRelativeTo
@RosettaAttribute("resetRelativeTo") @RuneAttribute("resetRelativeTo") public ResetRelativeToEnum getResetRelativeTo()Description copied from interface:ResetDatesSpecifies whether the reset dates are determined with respect to each adjusted calculation period start date or adjusted calculation period end date. If the reset frequency is specified as daily this element must not be included.- Specified by:
getResetRelativeToin interfaceResetDates
-
getInitialFixingDate
@RosettaAttribute("initialFixingDate") @RuneAttribute("initialFixingDate") public InitialFixingDate.InitialFixingDateBuilder getInitialFixingDate()Description copied from interface:ResetDatesThe initial fixing date.- Specified by:
getInitialFixingDatein interfaceResetDates- Specified by:
getInitialFixingDatein interfaceResetDates.ResetDatesBuilder
-
getOrCreateInitialFixingDate
- Specified by:
getOrCreateInitialFixingDatein interfaceResetDates.ResetDatesBuilder
-
getFixingDates
@RosettaAttribute("fixingDates") @RuneAttribute("fixingDates") public RelativeDateOffset.RelativeDateOffsetBuilder getFixingDates()Description copied from interface:ResetDatesThe fixing dates are the dates on which the index values are observed. The fixing dates are specified by reference to the reset date through business days offset and an associated set of financial business centers. Normally these offset calculation rules will be those specified in the ISDA definition for the relevant floating rate index (ISDA's Floating Rate Option). However, non-standard offset calculation rules may apply for a trade if mutually agreed by the principal parties to the transaction.- Specified by:
getFixingDatesin interfaceResetDates- Specified by:
getFixingDatesin interfaceResetDates.ResetDatesBuilder
-
getOrCreateFixingDates
- Specified by:
getOrCreateFixingDatesin interfaceResetDates.ResetDatesBuilder
-
getFinalFixingDate
@RosettaAttribute("finalFixingDate") @RuneAttribute("finalFixingDate") public AdjustableDate.AdjustableDateBuilder getFinalFixingDate()Description copied from interface:ResetDatesThis attribute is not part of the FpML ResetDate, and has been added as part of the CDM to support the credit derivatives final fixing date.- Specified by:
getFinalFixingDatein interfaceResetDates- Specified by:
getFinalFixingDatein interfaceResetDates.ResetDatesBuilder
-
getOrCreateFinalFixingDate
- Specified by:
getOrCreateFinalFixingDatein interfaceResetDates.ResetDatesBuilder
-
getRateCutOffDaysOffset
@RosettaAttribute("rateCutOffDaysOffset") @RuneAttribute("rateCutOffDaysOffset") public Offset.OffsetBuilder getRateCutOffDaysOffset()Description copied from interface:ResetDatesSpecifies the number of business days before the period end date when the rate cut-off date is assumed to apply. The financial business centers associated with determining the rate cut-off date are those specified in the reset dates adjustments. The rate cut-off number of days must be a negative integer (a value of zero would imply no rate cut off applies in which case the rateCutOffDaysOffset element should not be included). The relevant rate for each reset date in the period from, and including, a rate cut-off date to, but excluding, the next applicable period end date (or, in the case of the last calculation period, the termination date) will (solely for purposes of calculating the floating amount payable on the next applicable payment date) be deemed to be the relevant rate in effect on that rate cut-off date. For example, if rate cut-off days for a daily averaging deal is -2 business days, then the refix rate applied on (period end date - 2 days) will also be applied as the reset on (period end date - 1 day), i.e. the actual number of reset dates remains the same but from the rate cut-off date until the period end date, the same refix rate is applied. Note that in the case of several calculation periods contributing to a single payment, the rate cut-off is assumed only to apply to the final calculation period contributing to that payment. The day type associated with the offset must imply a business days offset.- Specified by:
getRateCutOffDaysOffsetin interfaceResetDates- Specified by:
getRateCutOffDaysOffsetin interfaceResetDates.ResetDatesBuilder
-
getOrCreateRateCutOffDaysOffset
- Specified by:
getOrCreateRateCutOffDaysOffsetin interfaceResetDates.ResetDatesBuilder
-
getResetFrequency
@RosettaAttribute("resetFrequency") @RuneAttribute("resetFrequency") public ResetFrequency.ResetFrequencyBuilder getResetFrequency()Description copied from interface:ResetDatesThe frequency at which the reset dates occur. In the case of a weekly reset frequency, also specifies the day of the week that the reset occurs. If the reset frequency is greater than the calculation period frequency then this implies that more than one reset is established for each calculation period and some form of rate averaging is applicable.- Specified by:
getResetFrequencyin interfaceResetDates- Specified by:
getResetFrequencyin interfaceResetDates.ResetDatesBuilder
-
getOrCreateResetFrequency
- Specified by:
getOrCreateResetFrequencyin interfaceResetDates.ResetDatesBuilder
-
getResetDatesAdjustments
@RosettaAttribute("resetDatesAdjustments") @RuneAttribute("resetDatesAdjustments") public BusinessDayAdjustments.BusinessDayAdjustmentsBuilder getResetDatesAdjustments()Description copied from interface:ResetDatesThe definition of the business day convention and financial business centers used for adjusting the reset date if it would otherwise fall on a day that is not a business day in the specified business center.- Specified by:
getResetDatesAdjustmentsin interfaceResetDates- Specified by:
getResetDatesAdjustmentsin interfaceResetDates.ResetDatesBuilder
-
getOrCreateResetDatesAdjustments
- Specified by:
getOrCreateResetDatesAdjustmentsin interfaceResetDates.ResetDatesBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceResetDates- Specified by:
getMetain interfaceResetDates.ResetDatesBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfaceResetDates.ResetDatesBuilder
-
setCalculationPeriodDatesReference
@RosettaAttribute("calculationPeriodDatesReference") @RuneAttribute("calculationPeriodDatesReference") public ResetDates.ResetDatesBuilder setCalculationPeriodDatesReference(ReferenceWithMetaCalculationPeriodDates _calculationPeriodDatesReference) - Specified by:
setCalculationPeriodDatesReferencein interfaceResetDates.ResetDatesBuilder
-
setCalculationPeriodDatesReferenceValue
public ResetDates.ResetDatesBuilder setCalculationPeriodDatesReferenceValue(CalculationPeriodDates _calculationPeriodDatesReference) - Specified by:
setCalculationPeriodDatesReferenceValuein interfaceResetDates.ResetDatesBuilder
-
setResetRelativeTo
@RosettaAttribute("resetRelativeTo") @RuneAttribute("resetRelativeTo") public ResetDates.ResetDatesBuilder setResetRelativeTo(ResetRelativeToEnum _resetRelativeTo) - Specified by:
setResetRelativeToin interfaceResetDates.ResetDatesBuilder
-
setInitialFixingDate
@RosettaAttribute("initialFixingDate") @RuneAttribute("initialFixingDate") public ResetDates.ResetDatesBuilder setInitialFixingDate(InitialFixingDate _initialFixingDate) - Specified by:
setInitialFixingDatein interfaceResetDates.ResetDatesBuilder
-
setFixingDates
@RosettaAttribute("fixingDates") @RuneAttribute("fixingDates") public ResetDates.ResetDatesBuilder setFixingDates(RelativeDateOffset _fixingDates) - Specified by:
setFixingDatesin interfaceResetDates.ResetDatesBuilder
-
setFinalFixingDate
@RosettaAttribute("finalFixingDate") @RuneAttribute("finalFixingDate") public ResetDates.ResetDatesBuilder setFinalFixingDate(AdjustableDate _finalFixingDate) - Specified by:
setFinalFixingDatein interfaceResetDates.ResetDatesBuilder
-
setRateCutOffDaysOffset
@RosettaAttribute("rateCutOffDaysOffset") @RuneAttribute("rateCutOffDaysOffset") public ResetDates.ResetDatesBuilder setRateCutOffDaysOffset(Offset _rateCutOffDaysOffset) - Specified by:
setRateCutOffDaysOffsetin interfaceResetDates.ResetDatesBuilder
-
setResetFrequency
@RosettaAttribute("resetFrequency") @RuneAttribute("resetFrequency") public ResetDates.ResetDatesBuilder setResetFrequency(ResetFrequency _resetFrequency) - Specified by:
setResetFrequencyin interfaceResetDates.ResetDatesBuilder
-
setResetDatesAdjustments
@RosettaAttribute("resetDatesAdjustments") @RuneAttribute("resetDatesAdjustments") public ResetDates.ResetDatesBuilder setResetDatesAdjustments(BusinessDayAdjustments _resetDatesAdjustments) - Specified by:
setResetDatesAdjustmentsin interfaceResetDates.ResetDatesBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public ResetDates.ResetDatesBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceResetDates.ResetDatesBuilder
-
build
Description copied from interface:ResetDatesBuild Methods- Specified by:
buildin interfaceResetDates- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceResetDates- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceResetDates.ResetDatesBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ResetDates.ResetDatesBuilder 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
-