Package cdm.product.common.schedule
Interface AmountSchedule.AmountScheduleBuilder
- All Superinterfaces:
AmountSchedule,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,Schedule,Schedule.ScheduleBuilder
- All Known Implementing Classes:
AmountSchedule.AmountScheduleBuilderImpl
- Enclosing interface:
AmountSchedule
public static interface AmountSchedule.AmountScheduleBuilder
extends AmountSchedule, Schedule.ScheduleBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.AmountSchedule
AmountSchedule.AmountScheduleBuilder, AmountSchedule.AmountScheduleBuilderImpl, AmountSchedule.AmountScheduleImplNested classes/interfaces inherited from interface cdm.base.math.Schedule
Schedule.ScheduleBuilder, Schedule.ScheduleBuilderImpl, Schedule.ScheduleImpl -
Field Summary
Fields inherited from interface cdm.product.common.schedule.AmountSchedule
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddCurrency(FieldWithMetaString currency) addCurrency(FieldWithMetaString currency, int idx) addCurrency(List<? extends FieldWithMetaString> currency) addCurrencyValue(String currency) addCurrencyValue(String currency, int idx) addCurrencyValue(List<? extends String> currency) addDatedValue(DatedValue datedValue) addDatedValue(DatedValue datedValue, int idx) addDatedValue(List<? extends DatedValue> datedValue) The currency in which the amount schedule is denominated.getOrCreateCurrency(int index) default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCurrency(List<? extends FieldWithMetaString> currency) setCurrencyValue(List<? extends String> currency) setDatedValue(List<? extends DatedValue> datedValue) setValue(BigDecimal value) Methods inherited from interface cdm.product.common.schedule.AmountSchedule
build, 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, processRosettaMethods inherited from interface cdm.base.math.Schedule.ScheduleBuilder
getDatedValue, getOrCreateDatedValue
-
Method Details
-
getOrCreateCurrency
-
getCurrency
List<? extends FieldWithMetaString.FieldWithMetaStringBuilder> getCurrency()Description copied from interface:AmountScheduleThe currency in which the amount schedule is denominated. The currency is specified outside of the actual schedule in order to be applied uniformly to it. The list of valid currencies is not presently positioned as an enumeration as part of the CDM because that scope is limited to the values specified by ISDA and FpML. As a result, implementers have to make reference to the relevant standard, such as the ISO 4217 standard for currency codes.- Specified by:
getCurrencyin interfaceAmountSchedule
-
setValue
- Specified by:
setValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceSchedule.ScheduleBuilder
-
setDatedValue
- Specified by:
setDatedValuein interfaceSchedule.ScheduleBuilder
-
addCurrency
-
addCurrency
-
addCurrencyValue
-
addCurrencyValue
-
addCurrency
-
setCurrency
-
addCurrencyValue
-
setCurrencyValue
-
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- Specified by:
processin interfaceSchedule.ScheduleBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceSchedule.ScheduleBuilder
-