Package cdm.product.template
Interface OptionFeature.OptionFeatureBuilder
- All Superinterfaces:
OptionFeature,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
OptionFeature.OptionFeatureBuilderImpl
- Enclosing interface:
OptionFeature
public static interface OptionFeature.OptionFeatureBuilder
extends OptionFeature, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.OptionFeature
OptionFeature.OptionFeatureBuilder, OptionFeature.OptionFeatureBuilderImpl, OptionFeature.OptionFeatureImpl -
Field Summary
Fields inherited from interface cdm.product.template.OptionFeature
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddFxFeature(FxFeature fxFeature) addFxFeature(FxFeature fxFeature, int idx) addFxFeature(List<? extends FxFeature> fxFeature) Defines an option feature in which an average market observation price is determined on valuation and compared to the strike to determine a settlement amount.Specifies a barrier feature.List<? extends FxFeature.FxFeatureBuilder> Describes a quanto or composite FX feature.getKnock()Specifies a knock in or knock out feature.getOrCreateFxFeature(int index) Specifies the rules for pass-through payments from the underlier, such as dividends.Defines a simple strategy feature.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAveragingFeature(AveragingCalculation averagingFeature) setBarrier(Barrier barrier) setFxFeature(List<? extends FxFeature> fxFeature) setPassThrough(PassThrough passThrough) setStrategyFeature(StrategyFeature strategyFeature) Methods inherited from interface cdm.product.template.OptionFeature
build, 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
-
getOrCreateFxFeature
-
getFxFeature
List<? extends FxFeature.FxFeatureBuilder> getFxFeature()Description copied from interface:OptionFeatureDescribes a quanto or composite FX feature.- Specified by:
getFxFeaturein interfaceOptionFeature
-
getOrCreateStrategyFeature
StrategyFeature.StrategyFeatureBuilder getOrCreateStrategyFeature() -
getStrategyFeature
StrategyFeature.StrategyFeatureBuilder getStrategyFeature()Description copied from interface:OptionFeatureDefines a simple strategy feature.- Specified by:
getStrategyFeaturein interfaceOptionFeature
-
getOrCreateAveragingFeature
AveragingCalculation.AveragingCalculationBuilder getOrCreateAveragingFeature() -
getAveragingFeature
AveragingCalculation.AveragingCalculationBuilder getAveragingFeature()Description copied from interface:OptionFeatureDefines an option feature in which an average market observation price is determined on valuation and compared to the strike to determine a settlement amount.- Specified by:
getAveragingFeaturein interfaceOptionFeature
-
getOrCreateBarrier
Barrier.BarrierBuilder getOrCreateBarrier() -
getBarrier
Barrier.BarrierBuilder getBarrier()Description copied from interface:OptionFeatureSpecifies a barrier feature.- Specified by:
getBarrierin interfaceOptionFeature
-
getOrCreateKnock
Knock.KnockBuilder getOrCreateKnock() -
getKnock
Knock.KnockBuilder getKnock()Description copied from interface:OptionFeatureSpecifies a knock in or knock out feature.- Specified by:
getKnockin interfaceOptionFeature
-
getOrCreatePassThrough
PassThrough.PassThroughBuilder getOrCreatePassThrough() -
getPassThrough
PassThrough.PassThroughBuilder getPassThrough()Description copied from interface:OptionFeatureSpecifies the rules for pass-through payments from the underlier, such as dividends.- Specified by:
getPassThroughin interfaceOptionFeature
-
addFxFeature
-
addFxFeature
-
addFxFeature
-
setFxFeature
-
setStrategyFeature
-
setAveragingFeature
-
setBarrier
-
setKnock
-
setPassThrough
-
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
-