Package cdm.product.common.settlement
Class CommodityPriceReturnTerms.CommodityPriceReturnTermsImpl
java.lang.Object
cdm.product.common.settlement.CommodityPriceReturnTerms.CommodityPriceReturnTermsImpl
- All Implemented Interfaces:
CommodityPriceReturnTerms,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CommodityPriceReturnTerms
public static class CommodityPriceReturnTerms.CommodityPriceReturnTermsImpl
extends Object
implements CommodityPriceReturnTerms
Immutable Implementation of CommodityPriceReturnTerms
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanDefines the conversion applied if the quantity unit on contract is different from unit on referenced underlier.Used 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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.CommodityPriceReturnTerms
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CommodityPriceReturnTermsImpl
protected CommodityPriceReturnTermsImpl(CommodityPriceReturnTerms.CommodityPriceReturnTermsBuilder builder)
-
-
Method Details
-
getRounding
Description copied from interface:CommodityPriceReturnTermsDefines rounding rules and precision to be used in the rounding of a number.- Specified by:
getRoundingin interfaceCommodityPriceReturnTerms
-
getSpread
Description copied from interface:CommodityPriceReturnTermsDefines a spread value for one or more defined dates.- Specified by:
getSpreadin interfaceCommodityPriceReturnTerms
-
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
-
getConversionFactor
@RosettaAttribute("conversionFactor") @RuneAttribute("conversionFactor") public BigDecimal getConversionFactor()Description copied from interface:CommodityPriceReturnTermsDefines the conversion applied if the quantity unit on contract is different from unit on referenced underlier.- Specified by:
getConversionFactorin interfaceCommodityPriceReturnTerms
-
build
Description copied from interface:CommodityPriceReturnTermsBuild Methods- Specified by:
buildin interfaceCommodityPriceReturnTerms- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCommodityPriceReturnTerms- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-