Package cdm.base.staticdata.asset.common
Interface DeliveryDateParameters.DeliveryDateParametersBuilder
- All Superinterfaces:
DeliveryDateParameters,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
DeliveryDateParameters.DeliveryDateParametersBuilderImpl
- Enclosing interface:
DeliveryDateParameters
public static interface DeliveryDateParameters.DeliveryDateParametersBuilder
extends DeliveryDateParameters, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.DeliveryDateParameters
DeliveryDateParameters.DeliveryDateParametersBuilder, DeliveryDateParameters.DeliveryDateParametersBuilderImpl, DeliveryDateParameters.DeliveryDateParametersImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.asset.common.DeliveryDateParameters
metaData -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the specific contract date for the contract that should be referenced for a price.Specifies, for a Commodity Transaction that references a listed future, the day on which the specified future will expire ahead of the actual expiration of the referenced future.Specifies, for a Commodity Transaction that references 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.Provides a container for the parametric representation that specifies which nearby contract date would be used as a refrence for a price.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setDeliveryDate(AdjustableDate deliveryDate) setDeliveryDateExpirationConvention(Offset deliveryDateExpirationConvention) setDeliveryDateRollConvention(Offset deliveryDateRollConvention) setDeliveryNearby(Offset deliveryNearby) Methods inherited from interface cdm.base.staticdata.asset.common.DeliveryDateParameters
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
-
getOrCreateDeliveryNearby
Offset.OffsetBuilder getOrCreateDeliveryNearby() -
getDeliveryNearby
Offset.OffsetBuilder getDeliveryNearby()Description copied from interface:DeliveryDateParametersProvides a container for the parametric representation that specifies which nearby contract date would be used as a refrence for a price.- Specified by:
getDeliveryNearbyin interfaceDeliveryDateParameters
-
getOrCreateDeliveryDate
AdjustableDate.AdjustableDateBuilder getOrCreateDeliveryDate() -
getDeliveryDate
AdjustableDate.AdjustableDateBuilder getDeliveryDate()Description copied from interface:DeliveryDateParametersSpecifies the specific contract date for the contract that should be referenced for a price.- Specified by:
getDeliveryDatein interfaceDeliveryDateParameters
-
getOrCreateDeliveryDateRollConvention
Offset.OffsetBuilder getOrCreateDeliveryDateRollConvention() -
getDeliveryDateRollConvention
Offset.OffsetBuilder getDeliveryDateRollConvention()Description copied from interface:DeliveryDateParametersSpecifies, for a Commodity Transaction that references 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 days 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 business day should be specified and so on.- Specified by:
getDeliveryDateRollConventionin interfaceDeliveryDateParameters
-
getOrCreateDeliveryDateExpirationConvention
Offset.OffsetBuilder getOrCreateDeliveryDateExpirationConvention() -
getDeliveryDateExpirationConvention
Offset.OffsetBuilder getDeliveryDateExpirationConvention()Description copied from interface:DeliveryDateParametersSpecifies, for a Commodity Transaction that references a listed future, the day on which the specified future will expire ahead of the actual expiration of the referenced future. For example: Z21 Contract expires on 19Nov21, with an adjust of 2D the 'expire' will be 16Nov21. DeliveryDateRollConvention takes precedence. Example: Pricing on the Z21 Contract with NearbyContractDay and a deliveryDateRoll of 10D, Sampling of the F22 Contract will occur on 8Nov21 through the last Date of the Z21 Contract. With an ExpConvention of 5D, the last sampling date on the F22 contract will be 12Nov21.- Specified by:
getDeliveryDateExpirationConventionin interfaceDeliveryDateParameters
-
setDeliveryNearby
-
setDeliveryDate
-
setDeliveryDateRollConvention
DeliveryDateParameters.DeliveryDateParametersBuilder setDeliveryDateRollConvention(Offset deliveryDateRollConvention) -
setDeliveryDateExpirationConvention
DeliveryDateParameters.DeliveryDateParametersBuilder setDeliveryDateExpirationConvention(Offset deliveryDateExpirationConvention) -
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
-