Package cdm.event.common
Interface Reset.ResetBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,Reset,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Reset.ResetBuilderImpl
- Enclosing interface:
Reset
public static interface Reset.ResetBuilder
extends Reset, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.event.common.Reset
Reset.ResetBuilder, Reset.ResetBuilderImpl, Reset.ResetImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddObservations(ReferenceWithMetaObservation observations) addObservations(ReferenceWithMetaObservation observations, int idx) addObservations(List<? extends ReferenceWithMetaObservation> observations) addObservationsValue(Observation observations) addObservationsValue(Observation observations, int idx) addObservationsValue(List<? extends Observation> observations) Identifies the aggregation method to use in the case where multiple observations are used to compute the reset value and the method is not defined in a payout.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()Represents an audit of the observations used to produce the reset value.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreateObservations(int index) Specifies the reset or fixing value.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAveragingMethodology(AveragingCalculation averagingMethodology) setMeta(com.rosetta.model.metafields.MetaFields meta) setObservations(List<? extends ReferenceWithMetaObservation> observations) setObservationsValue(List<? extends Observation> observations) setRateRecordDate(com.rosetta.model.lib.records.Date rateRecordDate) setResetDate(com.rosetta.model.lib.records.Date resetDate) setResetValue(Price resetValue) Methods inherited from interface cdm.event.common.Reset
build, getRateRecordDate, getResetDate, 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
-
getOrCreateResetValue
Price.PriceBuilder getOrCreateResetValue() -
getResetValue
Price.PriceBuilder getResetValue()Description copied from interface:ResetSpecifies the reset or fixing value. The fixing value could be a cash price, interest rate, or other value.- Specified by:
getResetValuein interfaceReset
-
getOrCreateObservations
-
getObservations
List<? extends ReferenceWithMetaObservation.ReferenceWithMetaObservationBuilder> getObservations()Description copied from interface:ResetRepresents an audit of the observations used to produce the reset value. If multiple observations were necessary to produce the reset value, the aggregation method should be defined on the payout.- Specified by:
getObservationsin interfaceReset
-
getOrCreateAveragingMethodology
AveragingCalculation.AveragingCalculationBuilder getOrCreateAveragingMethodology() -
getAveragingMethodology
AveragingCalculation.AveragingCalculationBuilder getAveragingMethodology()Description copied from interface:ResetIdentifies the aggregation method to use in the case where multiple observations are used to compute the reset value and the method is not defined in a payout.- Specified by:
getAveragingMethodologyin interfaceReset
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta() -
setResetValue
-
setResetDate
-
setRateRecordDate
-
addObservations
-
addObservations
-
addObservationsValue
-
addObservationsValue
-
addObservations
-
setObservations
-
addObservationsValue
-
setObservationsValue
-
setAveragingMethodology
-
setMeta
-
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
Reset.ResetBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-