Package cdm.event.common
Class IndexTransitionInstruction.IndexTransitionInstructionBuilderImpl
java.lang.Object
cdm.event.common.IndexTransitionInstruction.IndexTransitionInstructionBuilderImpl
- All Implemented Interfaces:
IndexTransitionInstruction,IndexTransitionInstruction.IndexTransitionInstructionBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
IndexTransitionInstruction
public static class IndexTransitionInstruction.IndexTransitionInstructionBuilderImpl
extends Object
implements IndexTransitionInstruction.IndexTransitionInstructionBuilder
Builder Implementation of IndexTransitionInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.IndexTransitionInstruction
IndexTransitionInstruction.IndexTransitionInstructionBuilder, IndexTransitionInstruction.IndexTransitionInstructionBuilderImpl, IndexTransitionInstruction.IndexTransitionInstructionImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Transfer.TransferBuilderprotected com.rosetta.model.lib.records.Dateprotected List<PriceQuantity.PriceQuantityBuilder> Fields inherited from interface cdm.event.common.IndexTransitionInstruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPriceQuantity(PriceQuantity _priceQuantity) addPriceQuantity(PriceQuantity _priceQuantity, int idx) addPriceQuantity(List<? extends PriceQuantity> priceQuantitys) build()Build MethodsbooleanSpecifies the cash transfer that can optionally be tied to an index transition event.com.rosetta.model.lib.records.DateSpecifies the effective date of the index transition event.getOrCreatePriceQuantity(int index) List<? extends PriceQuantity.PriceQuantityBuilder> Specifies both new floating rate index and spread adjustment for each leg to be updated.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCashTransfer(Transfer _cashTransfer) setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) setPriceQuantity(List<? extends PriceQuantity> priceQuantitys) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.IndexTransitionInstruction
getType, metaData, processMethods inherited from interface cdm.event.common.IndexTransitionInstruction.IndexTransitionInstructionBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
priceQuantity
-
effectiveDate
protected com.rosetta.model.lib.records.Date effectiveDate -
cashTransfer
-
-
Constructor Details
-
IndexTransitionInstructionBuilderImpl
public IndexTransitionInstructionBuilderImpl()
-
-
Method Details
-
getPriceQuantity
@RosettaAttribute(value="priceQuantity", isRequired=true) @RuneAttribute(value="priceQuantity", isRequired=true) public List<? extends PriceQuantity.PriceQuantityBuilder> getPriceQuantity()Description copied from interface:IndexTransitionInstructionSpecifies both new floating rate index and spread adjustment for each leg to be updated. The spread adjustment accounts for the difference between the old floating rate index relative to the new one. This spread amount is added to the existing spread to determine the new spread, which is applied from the specified effective date forward. In the case of the IBOR Fallback Rate Adjustments, the adjustment spread (also known as the Fallback Adjustment) accounts for two distinctions: i) the fact that the replacement Risk-Free Rate is an overnight rate while IBORs have term structures (e.g., 1, 3, 6-month LIBOR); and (ii) the historical spread differential between IBORs and their term equivalent Overnight Risk-Free Rate compounded rates.- Specified by:
getPriceQuantityin interfaceIndexTransitionInstruction- Specified by:
getPriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
getOrCreatePriceQuantity
- Specified by:
getOrCreatePriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
getEffectiveDate
@RosettaAttribute(value="effectiveDate", isRequired=true) @RuneAttribute(value="effectiveDate", isRequired=true) public com.rosetta.model.lib.records.Date getEffectiveDate()Description copied from interface:IndexTransitionInstructionSpecifies the effective date of the index transition event. This is first date on which the floating rate calculation will use the new floating rate index and adjusted spread in the floating rate calculation.- Specified by:
getEffectiveDatein interfaceIndexTransitionInstruction
-
getCashTransfer
@RosettaAttribute("cashTransfer") @RuneAttribute("cashTransfer") public Transfer.TransferBuilder getCashTransfer()Description copied from interface:IndexTransitionInstructionSpecifies the cash transfer that can optionally be tied to an index transition event.- Specified by:
getCashTransferin interfaceIndexTransitionInstruction- Specified by:
getCashTransferin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
getOrCreateCashTransfer
- Specified by:
getOrCreateCashTransferin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
addPriceQuantity
@RosettaAttribute(value="priceQuantity", isRequired=true) @RuneAttribute(value="priceQuantity", isRequired=true) public IndexTransitionInstruction.IndexTransitionInstructionBuilder addPriceQuantity(PriceQuantity _priceQuantity) - Specified by:
addPriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
addPriceQuantity
public IndexTransitionInstruction.IndexTransitionInstructionBuilder addPriceQuantity(PriceQuantity _priceQuantity, int idx) - Specified by:
addPriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
addPriceQuantity
public IndexTransitionInstruction.IndexTransitionInstructionBuilder addPriceQuantity(List<? extends PriceQuantity> priceQuantitys) - Specified by:
addPriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
setPriceQuantity
@RuneAttribute("priceQuantity") public IndexTransitionInstruction.IndexTransitionInstructionBuilder setPriceQuantity(List<? extends PriceQuantity> priceQuantitys) - Specified by:
setPriceQuantityin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
setEffectiveDate
@RosettaAttribute(value="effectiveDate", isRequired=true) @RuneAttribute(value="effectiveDate", isRequired=true) public IndexTransitionInstruction.IndexTransitionInstructionBuilder setEffectiveDate(com.rosetta.model.lib.records.Date _effectiveDate) - Specified by:
setEffectiveDatein interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
setCashTransfer
@RosettaAttribute("cashTransfer") @RuneAttribute("cashTransfer") public IndexTransitionInstruction.IndexTransitionInstructionBuilder setCashTransfer(Transfer _cashTransfer) - Specified by:
setCashTransferin interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder
-
build
Description copied from interface:IndexTransitionInstructionBuild Methods- Specified by:
buildin interfaceIndexTransitionInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceIndexTransitionInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceIndexTransitionInstruction.IndexTransitionInstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public IndexTransitionInstruction.IndexTransitionInstructionBuilder 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
-