Package cdm.product.asset
Interface StubValue.StubValueBuilder
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,StubValue
- All Known Implementing Classes:
StubValue.StubValueBuilderImpl
- Enclosing interface:
StubValue
public static interface StubValue.StubValueBuilder
extends StubValue, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.StubValue
StubValue.StubValueBuilder, StubValue.StubValueBuilderImpl, StubValue.StubValueImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFloatingRate(StubFloatingRate floatingRate) addFloatingRate(StubFloatingRate floatingRate, int idx) addFloatingRate(List<? extends StubFloatingRate> floatingRate) List<? extends StubFloatingRate.StubFloatingRateBuilder> The rates to be applied to the initial or final stub may be the linear interpolation of two different rates.getOrCreateFloatingRate(int index) An actual amount to apply for the initial or final stub period may have been agreed between the two parties.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setFloatingRate(List<? extends StubFloatingRate> floatingRate) setStubAmount(Money stubAmount) setStubRate(BigDecimal stubRate) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateFloatingRate
-
getFloatingRate
List<? extends StubFloatingRate.StubFloatingRateBuilder> getFloatingRate()Description copied from interface:StubValueThe rates to be applied to the initial or final stub may be the linear interpolation of two different rates. While the majority of the time, the rate indices will be the same as that specified in the stream and only the tenor itself will be different, it is possible to specift two different rates. For example, a 2 month stub period may use the linear interpolation of a 1 month and 3 month rate. The different rates would be specified in this component. Note that a maximum of two rates can be specified. If a stub period uses the same floating rate index, including tenor, as the regular calculation periods then this should not be specified again within this component, i.e. the stub calculation period amount component may not need to be specified even if there is an initial or final stub period. If a stub period uses a different floating rate index compared to the regular calculation periods then this should be specified within this component. If specified here, they are likely to have id attributes, allowing them to be referenced from within the cashflows component.- Specified by:
getFloatingRatein interfaceStubValue
-
getOrCreateStubAmount
Money.MoneyBuilder getOrCreateStubAmount() -
getStubAmount
Money.MoneyBuilder getStubAmount()Description copied from interface:StubValueAn actual amount to apply for the initial or final stub period may have been agreed between the two parties. If an actual stub amount has been agreed then it would be included in this component.- Specified by:
getStubAmountin interfaceStubValue
-
addFloatingRate
-
addFloatingRate
-
addFloatingRate
-
setFloatingRate
-
setStubRate
-
setStubAmount
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
StubValue.StubValueBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-