Package cdm.event.common
Class Reset.ResetBuilderImpl
java.lang.Object
cdm.event.common.Reset.ResetBuilderImpl
- All Implemented Interfaces:
Reset,Reset.ResetBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Reset
Builder Implementation of Reset
-
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
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.lib.records.Dateprotected Price.PriceBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObservations(ReferenceWithMetaObservation _observations) addObservations(ReferenceWithMetaObservation _observations, int idx) addObservations(List<? extends ReferenceWithMetaObservation> observationss) addObservationsValue(Observation _observations) addObservationsValue(Observation _observations, int idx) addObservationsValue(List<? extends Observation> observationss) build()Build MethodsbooleanIdentifies 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) com.rosetta.model.lib.records.DateSpecifies the 'Rate Record Day' for a Fallback rate.com.rosetta.model.lib.records.DateSpecifies the date on which the reset occurred.Specifies the reset or fixing value.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAveragingMethodology(AveragingCalculation _averagingMethodology) setMeta(com.rosetta.model.metafields.MetaFields _meta) setObservations(List<? extends ReferenceWithMetaObservation> observationss) setObservationsValue(List<? extends Observation> observationss) setRateRecordDate(com.rosetta.model.lib.records.Date _rateRecordDate) setResetDate(com.rosetta.model.lib.records.Date _resetDate) setResetValue(Price _resetValue) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.Reset.ResetBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
resetValue
-
resetDate
protected com.rosetta.model.lib.records.Date resetDate -
rateRecordDate
protected com.rosetta.model.lib.records.Date rateRecordDate -
observations
-
averagingMethodology
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
ResetBuilderImpl
public ResetBuilderImpl()
-
-
Method Details
-
getResetValue
@RosettaAttribute(value="resetValue", isRequired=true) @RuneAttribute(value="resetValue", isRequired=true) public 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- Specified by:
getResetValuein interfaceReset.ResetBuilder
-
getOrCreateResetValue
- Specified by:
getOrCreateResetValuein interfaceReset.ResetBuilder
-
getResetDate
@RosettaAttribute(value="resetDate", isRequired=true) @RuneAttribute(value="resetDate", isRequired=true) public com.rosetta.model.lib.records.Date getResetDate()Description copied from interface:ResetSpecifies the date on which the reset occurred.- Specified by:
getResetDatein interfaceReset
-
getRateRecordDate
@RosettaAttribute("rateRecordDate") @RuneAttribute("rateRecordDate") public com.rosetta.model.lib.records.Date getRateRecordDate()Description copied from interface:ResetSpecifies the 'Rate Record Day' for a Fallback rate. Fallback rate fixing processes typically set the fixing rate in arrears, i.e., the Fallback Rate corresponding to a Rate Record Date is set at the end of the interest accural period. When this applies, Reset->resetDate occurs at the end of the interest period, and the Reset->rateRecordDate occurs near the start of the interest period. The Reset->rateRecordDate and Reset->observations->observationIdentifier->observationDate will differ if a Fallback rate is unavailable on the Rate Record Date, and the latest previous available rate is used as the observation.- Specified by:
getRateRecordDatein interfaceReset
-
getObservations
@RosettaAttribute(value="observations", isRequired=true) @RuneAttribute(value="observations", isRequired=true) public 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- Specified by:
getObservationsin interfaceReset.ResetBuilder
-
getOrCreateObservations
public ReferenceWithMetaObservation.ReferenceWithMetaObservationBuilder getOrCreateObservations(int index) - Specified by:
getOrCreateObservationsin interfaceReset.ResetBuilder
-
getAveragingMethodology
@RosettaAttribute("averagingMethodology") @RuneAttribute("averagingMethodology") public 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- Specified by:
getAveragingMethodologyin interfaceReset.ResetBuilder
-
getOrCreateAveragingMethodology
- Specified by:
getOrCreateAveragingMethodologyin interfaceReset.ResetBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceReset- Specified by:
getMetain interfaceReset.ResetBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfaceReset.ResetBuilder
-
setResetValue
@RosettaAttribute(value="resetValue", isRequired=true) @RuneAttribute(value="resetValue", isRequired=true) public Reset.ResetBuilder setResetValue(Price _resetValue) - Specified by:
setResetValuein interfaceReset.ResetBuilder
-
setResetDate
@RosettaAttribute(value="resetDate", isRequired=true) @RuneAttribute(value="resetDate", isRequired=true) public Reset.ResetBuilder setResetDate(com.rosetta.model.lib.records.Date _resetDate) - Specified by:
setResetDatein interfaceReset.ResetBuilder
-
setRateRecordDate
@RosettaAttribute("rateRecordDate") @RuneAttribute("rateRecordDate") public Reset.ResetBuilder setRateRecordDate(com.rosetta.model.lib.records.Date _rateRecordDate) - Specified by:
setRateRecordDatein interfaceReset.ResetBuilder
-
addObservations
@RosettaAttribute(value="observations", isRequired=true) @RuneAttribute(value="observations", isRequired=true) public Reset.ResetBuilder addObservations(ReferenceWithMetaObservation _observations) - Specified by:
addObservationsin interfaceReset.ResetBuilder
-
addObservations
- Specified by:
addObservationsin interfaceReset.ResetBuilder
-
addObservationsValue
- Specified by:
addObservationsValuein interfaceReset.ResetBuilder
-
addObservationsValue
- Specified by:
addObservationsValuein interfaceReset.ResetBuilder
-
addObservations
public Reset.ResetBuilder addObservations(List<? extends ReferenceWithMetaObservation> observationss) - Specified by:
addObservationsin interfaceReset.ResetBuilder
-
setObservations
@RuneAttribute("observations") public Reset.ResetBuilder setObservations(List<? extends ReferenceWithMetaObservation> observationss) - Specified by:
setObservationsin interfaceReset.ResetBuilder
-
addObservationsValue
- Specified by:
addObservationsValuein interfaceReset.ResetBuilder
-
setObservationsValue
- Specified by:
setObservationsValuein interfaceReset.ResetBuilder
-
setAveragingMethodology
@RosettaAttribute("averagingMethodology") @RuneAttribute("averagingMethodology") public Reset.ResetBuilder setAveragingMethodology(AveragingCalculation _averagingMethodology) - Specified by:
setAveragingMethodologyin interfaceReset.ResetBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public Reset.ResetBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceReset.ResetBuilder
-
build
Description copied from interface:ResetBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceReset.ResetBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Reset.ResetBuilder 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
-