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.Specifies the object to be observed for a price, it could be an asset or a reference.Describes date details for a set of observation dates in parametric or non-parametric form.Defines rounding rules and precision to be used in the rounding of observations.Defines time in respect to a business calendar location that the price/benchmark/index is observeddefault 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) setObservable(Observable observable) setObservationDates(ObservationDates observationDates) setPrecision(Rounding precision) setPricingTime(BusinessCenterTime pricingTime) setPricingTimeType(TimeTypeEnum pricingTimeType) Methods inherited from interface cdm.product.common.schedule.ObservationTerms
build, getNumberOfObservationDates, getPricingTimeType, 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
-
getOrCreatePricingTime
BusinessCenterTime.BusinessCenterTimeBuilder getOrCreatePricingTime() -
getPricingTime
BusinessCenterTime.BusinessCenterTimeBuilder getPricingTime()Description copied from interface:ObservationTermsDefines time in respect to a business calendar location that the price/benchmark/index is observed- Specified by:
getPricingTimein 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
-
getOrCreateObservable
Observable.ObservableBuilder getOrCreateObservable() -
getObservable
Observable.ObservableBuilder getObservable()Description copied from interface:ObservationTermsSpecifies the object to be observed for a price, it could be an asset or a reference.- Specified by:
getObservablein 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
-
setPricingTime
-
setPricingTimeType
-
setInformationSource
-
setPrecision
-
setCalculationPeriodDates
ObservationTerms.ObservationTermsBuilder setCalculationPeriodDates(CalculationPeriodDates calculationPeriodDates) -
setObservable
-
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
-