Package cdm.base.staticdata.asset.common
Class DeliveryDateParameters.DeliveryDateParametersImpl
java.lang.Object
cdm.base.staticdata.asset.common.DeliveryDateParameters.DeliveryDateParametersImpl
- All Implemented Interfaces:
DeliveryDateParameters,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
DeliveryDateParameters
public static class DeliveryDateParameters.DeliveryDateParametersImpl
extends Object
implements DeliveryDateParameters
Immutable Implementation of DeliveryDateParameters
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies 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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.DeliveryDateParameters
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
DeliveryDateParametersImpl
-
-
Method Details
-
getDeliveryNearby
@RosettaAttribute("deliveryNearby") @RuneAttribute("deliveryNearby") public Offset 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
-
getDeliveryDate
@RosettaAttribute("deliveryDate") @RuneAttribute("deliveryDate") public AdjustableDate getDeliveryDate()Description copied from interface:DeliveryDateParametersSpecifies the specific contract date for the contract that should be referenced for a price.- Specified by:
getDeliveryDatein interfaceDeliveryDateParameters
-
getDeliveryDateRollConvention
@RosettaAttribute("deliveryDateRollConvention") @RuneAttribute("deliveryDateRollConvention") public Offset 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
-
getDeliveryDateExpirationConvention
@RosettaAttribute("deliveryDateExpirationConvention") @RuneAttribute("deliveryDateExpirationConvention") public Offset 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
-
build
Description copied from interface:DeliveryDateParametersBuild Methods- Specified by:
buildin interfaceDeliveryDateParameters- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceDeliveryDateParameters- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-