Package cdm.product.template
Interface InitialMargin.InitialMarginBuilder
- All Superinterfaces:
InitialMargin,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
InitialMargin.InitialMarginBuilderImpl
- Enclosing interface:
InitialMargin
public static interface InitialMargin.InitialMarginBuilder
extends InitialMargin, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.InitialMargin
InitialMargin.InitialMarginBuilder, InitialMargin.InitialMarginBuilderImpl, InitialMargin.InitialMarginImpl -
Field Summary
Fields inherited from interface cdm.product.template.InitialMargin
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddMargin(InitialMarginCalculation margin) addMargin(InitialMarginCalculation margin, int idx) addMargin(List<? extends InitialMarginCalculation> margin) Initial margin calculation for a collateral asset.An element defining a margin threshold which is the Net Exposure of a trade below which parties agree they will not call a margin from each other.An element defining a minimum transfer amount which is the minimum margin call parties will make once the margin threshold (or margin ratio threshold / haircut threshold) has been exceeded.getOrCreateMargin(int index) default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setMargin(List<? extends InitialMarginCalculation> margin) setMarginThreshold(Money marginThreshold) setMarginType(MarginTypeEnum marginType) setMinimumTransferAmount(Money minimumTransferAmount) Methods inherited from interface cdm.product.template.InitialMargin
build, getMarginType, getType, metaData, process, toBuilderMethods 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
-
getOrCreateMargin
-
getMargin
List<? extends InitialMarginCalculation.InitialMarginCalculationBuilder> getMargin()Description copied from interface:InitialMarginInitial margin calculation for a collateral asset. Initial margin requirements may be specified for multiple pieces of collateral.- Specified by:
getMarginin interfaceInitialMargin
-
getOrCreateMarginThreshold
Money.MoneyBuilder getOrCreateMarginThreshold() -
getMarginThreshold
Money.MoneyBuilder getMarginThreshold()Description copied from interface:InitialMarginAn element defining a margin threshold which is the Net Exposure of a trade below which parties agree they will not call a margin from each other.- Specified by:
getMarginThresholdin interfaceInitialMargin
-
getOrCreateMinimumTransferAmount
Money.MoneyBuilder getOrCreateMinimumTransferAmount() -
getMinimumTransferAmount
Money.MoneyBuilder getMinimumTransferAmount()Description copied from interface:InitialMarginAn element defining a minimum transfer amount which is the minimum margin call parties will make once the margin threshold (or margin ratio threshold / haircut threshold) has been exceeded.- Specified by:
getMinimumTransferAmountin interfaceInitialMargin
-
setMarginType
-
addMargin
-
addMargin
-
addMargin
-
setMargin
-
setMarginThreshold
-
setMinimumTransferAmount
-
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
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-