Package cdm.product.common.schedule
Class ObservationDates.ObservationDatesImpl
java.lang.Object
cdm.product.common.schedule.ObservationDates.ObservationDatesImpl
- All Implemented Interfaces:
ObservationDates,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ObservationDates
public static class ObservationDates.ObservationDatesImpl
extends Object
implements ObservationDates
Immutable Implementation of ObservationDates
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies 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.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.ObservationDates
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ObservationDatesImpl
-
-
Method Details
-
getObservationSchedule
@RosettaAttribute("observationSchedule") @RuneAttribute("observationSchedule") public ObservationSchedule 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
-
getPeriodicSchedule
@RosettaAttribute("periodicSchedule") @RuneAttribute("periodicSchedule") public PeriodicDates 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
-
getParametricDates
@RosettaAttribute("parametricDates") @RuneAttribute("parametricDates") public ParametricDates 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
-
build
Description copied from interface:ObservationDatesBuild Methods- Specified by:
buildin interfaceObservationDates- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservationDates- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-