Package cdm.product.common.schedule
Interface ObservationDates.ObservationDatesBuilder
- All Superinterfaces:
ObservationDates,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
ObservationDates.ObservationDatesBuilderImpl
- Enclosing interface:
ObservationDates
public static interface ObservationDates.ObservationDatesBuilder
extends ObservationDates, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.ObservationDates
ObservationDates.ObservationDatesBuilder, ObservationDates.ObservationDatesBuilderImpl, ObservationDates.ObservationDatesImpl -
Field Summary
Fields inherited from interface cdm.product.common.schedule.ObservationDates
metaData -
Method Summary
Modifier and TypeMethodDescriptionSpecifies a schedule of dates (non-parametric) on which market observations take place, and allows for the optional definition of weights where applicable.Specifies parametric terms to determine which days within a given calculation period the price would be observed.Specifies the date range and frequency on which market observations take place.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setObservationSchedule(ObservationSchedule observationSchedule) setParametricDates(ParametricDates parametricDates) setPeriodicSchedule(PeriodicDates periodicSchedule) Methods inherited from interface cdm.product.common.schedule.ObservationDates
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
-
getOrCreateObservationSchedule
ObservationSchedule.ObservationScheduleBuilder getOrCreateObservationSchedule() -
getObservationSchedule
ObservationSchedule.ObservationScheduleBuilder getObservationSchedule()Description copied from interface:ObservationDatesSpecifies a schedule of dates (non-parametric) on which market observations take place, and allows for the optional definition of weights where applicable. When no weight is specified, then weight of each date is assumed to be 1.0- Specified by:
getObservationSchedulein interfaceObservationDates
-
getOrCreatePeriodicSchedule
PeriodicDates.PeriodicDatesBuilder getOrCreatePeriodicSchedule() -
getPeriodicSchedule
PeriodicDates.PeriodicDatesBuilder getPeriodicSchedule()Description copied from interface:ObservationDatesSpecifies the date range and frequency on which market observations take place. Weights can be assigned to dates in the schedule by assigning the weight and corresponding observationReference in the observationSchedule.- Specified by:
getPeriodicSchedulein interfaceObservationDates
-
getOrCreateParametricDates
ParametricDates.ParametricDatesBuilder getOrCreateParametricDates() -
getParametricDates
ParametricDates.ParametricDatesBuilder getParametricDates()Description copied from interface:ObservationDatesSpecifies parametric terms to determine which days within a given calculation period the price would be observed. Typically associated with Commodities.- Specified by:
getParametricDatesin interfaceObservationDates
-
setObservationSchedule
ObservationDates.ObservationDatesBuilder setObservationSchedule(ObservationSchedule observationSchedule) -
setPeriodicSchedule
-
setParametricDates
-
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
-