Package cdm.product.common.schedule
Class ObservationDates.ObservationDatesBuilderImpl
java.lang.Object
cdm.product.common.schedule.ObservationDates.ObservationDatesBuilderImpl
- All Implemented Interfaces:
ObservationDates,ObservationDates.ObservationDatesBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ObservationDates
public static class ObservationDates.ObservationDatesBuilderImpl
extends Object
implements ObservationDates.ObservationDatesBuilder
Builder 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
FieldsModifier and TypeFieldDescriptionprotected ParametricDates.ParametricDatesBuilderprotected PeriodicDates.PeriodicDatesBuilderFields inherited from interface cdm.product.common.schedule.ObservationDates
metaData -
Constructor Summary
Constructors -
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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setObservationSchedule(ObservationSchedule _observationSchedule) setParametricDates(ParametricDates _parametricDates) setPeriodicSchedule(PeriodicDates _periodicSchedule) toString()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 cdm.product.common.schedule.ObservationDates.ObservationDatesBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
observationSchedule
-
periodicSchedule
-
parametricDates
-
-
Constructor Details
-
ObservationDatesBuilderImpl
public ObservationDatesBuilderImpl()
-
-
Method Details
-
getObservationSchedule
@RosettaAttribute("observationSchedule") @RuneAttribute("observationSchedule") public 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- Specified by:
getObservationSchedulein interfaceObservationDates.ObservationDatesBuilder
-
getOrCreateObservationSchedule
- Specified by:
getOrCreateObservationSchedulein interfaceObservationDates.ObservationDatesBuilder
-
getPeriodicSchedule
@RosettaAttribute("periodicSchedule") @RuneAttribute("periodicSchedule") public 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- Specified by:
getPeriodicSchedulein interfaceObservationDates.ObservationDatesBuilder
-
getOrCreatePeriodicSchedule
- Specified by:
getOrCreatePeriodicSchedulein interfaceObservationDates.ObservationDatesBuilder
-
getParametricDates
@RosettaAttribute("parametricDates") @RuneAttribute("parametricDates") public 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- Specified by:
getParametricDatesin interfaceObservationDates.ObservationDatesBuilder
-
getOrCreateParametricDates
- Specified by:
getOrCreateParametricDatesin interfaceObservationDates.ObservationDatesBuilder
-
setObservationSchedule
@RosettaAttribute("observationSchedule") @RuneAttribute("observationSchedule") public ObservationDates.ObservationDatesBuilder setObservationSchedule(ObservationSchedule _observationSchedule) - Specified by:
setObservationSchedulein interfaceObservationDates.ObservationDatesBuilder
-
setPeriodicSchedule
@RosettaAttribute("periodicSchedule") @RuneAttribute("periodicSchedule") public ObservationDates.ObservationDatesBuilder setPeriodicSchedule(PeriodicDates _periodicSchedule) - Specified by:
setPeriodicSchedulein interfaceObservationDates.ObservationDatesBuilder
-
setParametricDates
@RosettaAttribute("parametricDates") @RuneAttribute("parametricDates") public ObservationDates.ObservationDatesBuilder setParametricDates(ParametricDates _parametricDates) - Specified by:
setParametricDatesin interfaceObservationDates.ObservationDatesBuilder
-
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
-
prune
- Specified by:
prunein interfaceObservationDates.ObservationDatesBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ObservationDates.ObservationDatesBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-