Package cdm.product.common.settlement
Interface CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilder
- All Superinterfaces:
CommodityPriceReturnTerms,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilderImpl
- Enclosing interface:
CommodityPriceReturnTerms
public static interface CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilder
extends CommodityPriceReturnTerms, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.CommodityPriceReturnTerms
CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilder, CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilderImpl, CommodityPriceReturnTerms.CommodityPriceReturnTermsImpl -
Field Summary
Fields inherited from interface cdm.product.common.settlement.CommodityPriceReturnTerms
metaData -
Method Summary
Modifier and TypeMethodDescriptionUsed in conjunction with an exchange-based pricing source.Defines rounding rules and precision to be used in the rounding of a number.Defines a spread value for one or more defined dates.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setConversionFactor(BigDecimal conversionFactor) setRollFeature(RollFeature rollFeature) setRounding(Rounding rounding) setSpread(SpreadSchedule spread) Methods inherited from interface cdm.product.common.settlement.CommodityPriceReturnTerms
build, getConversionFactor, 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
-
getOrCreateRounding
Rounding.RoundingBuilder getOrCreateRounding() -
getRounding
Rounding.RoundingBuilder getRounding()Description copied from interface:CommodityPriceReturnTermsDefines rounding rules and precision to be used in the rounding of a number.- Specified by:
getRoundingin interfaceCommodityPriceReturnTerms
-
getOrCreateSpread
SpreadSchedule.SpreadScheduleBuilder getOrCreateSpread() -
getSpread
SpreadSchedule.SpreadScheduleBuilder getSpread()Description copied from interface:CommodityPriceReturnTermsDefines a spread value for one or more defined dates.- Specified by:
getSpreadin interfaceCommodityPriceReturnTerms
-
getOrCreateRollFeature
RollFeature.RollFeatureBuilder getOrCreateRollFeature() -
getRollFeature
RollFeature.RollFeatureBuilder getRollFeature()Description copied from interface:CommodityPriceReturnTermsUsed in conjunction with an exchange-based pricing source. Identifies a way in which the futures contracts referenced will roll between periods.- Specified by:
getRollFeaturein interfaceCommodityPriceReturnTerms
-
setRounding
-
setSpread
-
setRollFeature
-
setConversionFactor
CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilder setConversionFactor(BigDecimal conversionFactor) -
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
-