Package cdm.product.common.schedule
Interface ObservationTerms.ObservationTermsBuilder
- All Superinterfaces:
ObservationTerms,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
ObservationTerms.ObservationTermsBuilderImpl
- Enclosing interface:
ObservationTerms
public static interface ObservationTerms.ObservationTermsBuilder
extends ObservationTerms, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.ObservationTerms
ObservationTerms.ObservationTermsBuilder, ObservationTerms.ObservationTermsBuilderImpl, ObservationTerms.ObservationTermsImpl -
Field Summary
Fields inherited from interface cdm.product.common.schedule.ObservationTerms
metaData -
Method Summary
Modifier and TypeMethodDescriptionDefines parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods.The information source where a published or displayed market rate will be obtained, e.g.Describes date details for a set of observation dates in parametric or non-parametric form.Defines time in respect to a business calendar location that the price/benchmark/index is observedDefines rounding rules and precision to be used in the rounding of observations.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCalculationPeriodDates(CalculationPeriodDates calculationPeriodDates) setInformationSource(FxSpotRateSource informationSource) setNumberOfObservationDates(Integer numberOfObservationDates) setObservationDates(ObservationDates observationDates) setObservationTime(BusinessCenterTime observationTime) setObservationTimeType(TimeTypeEnum observationTimeType) setPrecision(Rounding precision) Methods inherited from interface cdm.product.common.schedule.ObservationTerms
build, getNumberOfObservationDates, getObservationTimeType, 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
-
getOrCreateObservationTime
BusinessCenterTime.BusinessCenterTimeBuilder getOrCreateObservationTime() -
getObservationTime
BusinessCenterTime.BusinessCenterTimeBuilder getObservationTime()Description copied from interface:ObservationTermsDefines time in respect to a business calendar location that the price/benchmark/index is observed- Specified by:
getObservationTimein interfaceObservationTerms
-
getOrCreateInformationSource
FxSpotRateSource.FxSpotRateSourceBuilder getOrCreateInformationSource() -
getInformationSource
FxSpotRateSource.FxSpotRateSourceBuilder getInformationSource()Description copied from interface:ObservationTermsThe information source where a published or displayed market rate will be obtained, e.g. Telerate Page 3750.- Specified by:
getInformationSourcein interfaceObservationTerms
-
getOrCreatePrecision
Rounding.RoundingBuilder getOrCreatePrecision() -
getPrecision
Rounding.RoundingBuilder getPrecision()Description copied from interface:ObservationTermsDefines rounding rules and precision to be used in the rounding of observations.- Specified by:
getPrecisionin interfaceObservationTerms
-
getOrCreateCalculationPeriodDates
CalculationPeriodDates.CalculationPeriodDatesBuilder getOrCreateCalculationPeriodDates() -
getCalculationPeriodDates
CalculationPeriodDates.CalculationPeriodDatesBuilder getCalculationPeriodDates()Description copied from interface:ObservationTermsDefines parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods. A calculation period schedule consists of an optional initial stub calculation period, one or more regular calculation periods and an optional final stub calculation period. In the absence of any initial or final stub calculation periods, the regular part of the calculation period schedule is assumed to be between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be explicitly specified using an appropriate combination of firstPeriodStartDate, firstRegularPeriodStartDate and lastRegularPeriodEndDate.- Specified by:
getCalculationPeriodDatesin interfaceObservationTerms
-
getOrCreateObservationDates
ObservationDates.ObservationDatesBuilder getOrCreateObservationDates() -
getObservationDates
ObservationDates.ObservationDatesBuilder getObservationDates()Description copied from interface:ObservationTermsDescribes date details for a set of observation dates in parametric or non-parametric form.- Specified by:
getObservationDatesin interfaceObservationTerms
-
setObservationTime
-
setObservationTimeType
-
setInformationSource
-
setPrecision
-
setCalculationPeriodDates
ObservationTerms.ObservationTermsBuilder setCalculationPeriodDates(CalculationPeriodDates calculationPeriodDates) -
setObservationDates
-
setNumberOfObservationDates
ObservationTerms.ObservationTermsBuilder setNumberOfObservationDates(Integer numberOfObservationDates) -
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
-