Package cdm.product.common.settlement
Interface RollFeature.RollFeatureBuilder
- All Superinterfaces:
RollFeature,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
RollFeature.RollFeatureBuilderImpl
- Enclosing interface:
RollFeature
public static interface RollFeature.RollFeatureBuilder
extends RollFeature, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.RollFeature
RollFeature.RollFeatureBuilder, RollFeature.RollFeatureBuilderImpl, RollFeature.RollFeatureImpl -
Field Summary
Fields inherited from interface cdm.product.common.settlement.RollFeature
metaData -
Method Summary
Modifier and TypeMethodDescriptionSpecifies, for a Commodity Transaction that references a delivery date for a listed future, the day on which the specified future will roll to the next nearby month prior to the expiration of the referenced future.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setDeliveryDateRollConvention(Offset deliveryDateRollConvention) setRollSourceCalendar(RollSourceCalendarEnum rollSourceCalendar) Methods inherited from interface cdm.product.common.settlement.RollFeature
build, getRollSourceCalendar, 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
-
getOrCreateDeliveryDateRollConvention
Offset.OffsetBuilder getOrCreateDeliveryDateRollConvention() -
getDeliveryDateRollConvention
Offset.OffsetBuilder getDeliveryDateRollConvention()Description copied from interface:RollFeatureSpecifies, for a Commodity Transaction that references a delivery date for a listed future, the day on which the specified future will roll to the next nearby month prior to the expiration of the referenced future. If the future will not roll at all - i.e. the price will be taken from the expiring contract, 0 should be specified here. If the future will roll to the next nearby on the last trading day - i.e. the price will be taken from the next nearby on the last trading day, then 1 should be specified and so on.- Specified by:
getDeliveryDateRollConventionin interfaceRollFeature
-
setRollSourceCalendar
-
setDeliveryDateRollConvention
-
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
RollFeature.RollFeatureBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-