Package cdm.product.common.settlement
Interface ResolvablePriceQuantity.ResolvablePriceQuantityBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,ResolvablePriceQuantity,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
ResolvablePriceQuantity.ResolvablePriceQuantityBuilderImpl
- Enclosing interface:
ResolvablePriceQuantity
public static interface ResolvablePriceQuantity.ResolvablePriceQuantityBuilder
extends ResolvablePriceQuantity, 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.product.common.settlement.ResolvablePriceQuantity
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder, ResolvablePriceQuantity.ResolvablePriceQuantityBuilderImpl, ResolvablePriceQuantity.ResolvablePriceQuantityImpl -
Field Summary
Fields inherited from interface cdm.product.common.settlement.ResolvablePriceQuantity
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddPriceSchedule(ReferenceWithMetaPriceSchedule priceSchedule) addPriceSchedule(ReferenceWithMetaPriceSchedule priceSchedule, int idx) addPriceSchedule(List<? extends ReferenceWithMetaPriceSchedule> priceSchedule) addPriceScheduleValue(PriceSchedule priceSchedule) addPriceScheduleValue(PriceSchedule priceSchedule, int idx) addPriceScheduleValue(List<? extends PriceSchedule> priceSchedule) addQuantityCumulation(CumulationFeature quantityCumulation) addQuantityCumulation(CumulationFeature quantityCumulation, int idx) addQuantityCumulation(List<? extends CumulationFeature> quantityCumulation) The future value notional is specific to BRL CDI swaps, and is specified alongside the notional amount.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreatePriceSchedule(int index) getOrCreateQuantityCumulation(int index) A payout's price specified as a schedule, which may also contain a single value if that price is constant.List<? extends CumulationFeature.CumulationFeatureBuilder> Describe provisions which define how the quantity is incremented over time.Quantity multiplier is specified on top of a reference quantity and is used as a multiplying factor when resolving the quantity.Reference quantity when resolvable quantity is defined as relative to another (resolvable) quantity.A payout's quantity specified as a schedule, which may also contain a single value if that quantity is constant.A product's quantity as a single, non-negative amount.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setFutureValueNotional(FutureValueAmount futureValueNotional) setMeta(com.rosetta.model.metafields.MetaFields meta) setPriceSchedule(List<? extends ReferenceWithMetaPriceSchedule> priceSchedule) setPriceScheduleValue(List<? extends PriceSchedule> priceSchedule) setQuantityCumulation(List<? extends CumulationFeature> quantityCumulation) setQuantityMultiplier(QuantityMultiplier quantityMultiplier) setQuantityReference(ReferenceWithMetaResolvablePriceQuantity quantityReference) setQuantityReferenceValue(ResolvablePriceQuantity quantityReference) setQuantitySchedule(ReferenceWithMetaNonNegativeQuantitySchedule quantitySchedule) setQuantityScheduleValue(NonNegativeQuantitySchedule quantitySchedule) setResolvedQuantity(Quantity resolvedQuantity) Methods inherited from interface cdm.product.common.settlement.ResolvablePriceQuantity
build, getReset, 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
-
getOrCreateQuantityCumulation
-
getQuantityCumulation
List<? extends CumulationFeature.CumulationFeatureBuilder> getQuantityCumulation()Description copied from interface:ResolvablePriceQuantityDescribe provisions which define how the quantity is incremented over time.- Specified by:
getQuantityCumulationin interfaceResolvablePriceQuantity
-
getOrCreateResolvedQuantity
Quantity.QuantityBuilder getOrCreateResolvedQuantity() -
getResolvedQuantity
Quantity.QuantityBuilder getResolvedQuantity()Description copied from interface:ResolvablePriceQuantityA product's quantity as a single, non-negative amount. When specified as part of a product definition, this quantity attribute would not be set. Instead it is specified on the quantity notation along with an asset identifier matching this payout's asset identifier. This allows the quantity to be resolved for a payout leg, which can then be specified here for convenience during data processing. There needs to be at least one resolvable quantity across payout legs of a product to define an anchor that other payout quantities can refer to. This attribute is ignored when mapping existing FpML messages.- Specified by:
getResolvedQuantityin interfaceResolvablePriceQuantity
-
getOrCreateQuantitySchedule
ReferenceWithMetaNonNegativeQuantitySchedule.ReferenceWithMetaNonNegativeQuantityScheduleBuilder getOrCreateQuantitySchedule() -
getQuantitySchedule
ReferenceWithMetaNonNegativeQuantitySchedule.ReferenceWithMetaNonNegativeQuantityScheduleBuilder getQuantitySchedule()Description copied from interface:ResolvablePriceQuantityA payout's quantity specified as a schedule, which may also contain a single value if that quantity is constant. There can only be a single quantity schedule applicable to a payout: e.g. the notional for an interest rate leg. The quantity must be specified outside of the payout in a PriceQuantity object and only referenced inside the payout using an address.- Specified by:
getQuantitySchedulein interfaceResolvablePriceQuantity
-
getOrCreateQuantityReference
ReferenceWithMetaResolvablePriceQuantity.ReferenceWithMetaResolvablePriceQuantityBuilder getOrCreateQuantityReference() -
getQuantityReference
ReferenceWithMetaResolvablePriceQuantity.ReferenceWithMetaResolvablePriceQuantityBuilder getQuantityReference()Description copied from interface:ResolvablePriceQuantityReference quantity when resolvable quantity is defined as relative to another (resolvable) quantity. A resolvable quantity needs to contain either an absolute quantity or a reference to another (resolvable) quantity. This requirement is captured by a choice rule on the class.- Specified by:
getQuantityReferencein interfaceResolvablePriceQuantity
-
getOrCreateQuantityMultiplier
QuantityMultiplier.QuantityMultiplierBuilder getOrCreateQuantityMultiplier() -
getQuantityMultiplier
QuantityMultiplier.QuantityMultiplierBuilder getQuantityMultiplier()Description copied from interface:ResolvablePriceQuantityQuantity multiplier is specified on top of a reference quantity and is used as a multiplying factor when resolving the quantity. A quantity multiplier can only exist when the resolvable quantity specifies a reference quantity.- Specified by:
getQuantityMultiplierin interfaceResolvablePriceQuantity
-
getOrCreateFutureValueNotional
FutureValueAmount.FutureValueAmountBuilder getOrCreateFutureValueNotional() -
getFutureValueNotional
FutureValueAmount.FutureValueAmountBuilder getFutureValueNotional()Description copied from interface:ResolvablePriceQuantityThe future value notional is specific to BRL CDI swaps, and is specified alongside the notional amount. The value is calculated as follows: Future Value Notional = Notional Amount * (1 + Fixed Rate) ^ (Fixed Rate Day Count Fraction). The currency should always match that expressed in the notional schedule. The value date should match the adjusted termination date.- Specified by:
getFutureValueNotionalin interfaceResolvablePriceQuantity
-
getOrCreatePriceSchedule
ReferenceWithMetaPriceSchedule.ReferenceWithMetaPriceScheduleBuilder getOrCreatePriceSchedule(int index) -
getPriceSchedule
List<? extends ReferenceWithMetaPriceSchedule.ReferenceWithMetaPriceScheduleBuilder> getPriceSchedule()Description copied from interface:ResolvablePriceQuantityA payout's price specified as a schedule, which may also contain a single value if that price is constant. There may be multiple prices specified for a single payout: e.g. a floating interest rate leg may specify a spread, a cap and/or floor and a multiplier. The price must be specified outside of the payout in a PriceQuantity object and only referenced inside the payout using an address.- Specified by:
getPriceSchedulein interfaceResolvablePriceQuantity
-
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()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceResolvablePriceQuantity
-
addQuantityCumulation
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addQuantityCumulation(CumulationFeature quantityCumulation) -
addQuantityCumulation
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addQuantityCumulation(CumulationFeature quantityCumulation, int idx) -
addQuantityCumulation
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addQuantityCumulation(List<? extends CumulationFeature> quantityCumulation) -
setQuantityCumulation
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantityCumulation(List<? extends CumulationFeature> quantityCumulation) -
setResolvedQuantity
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setResolvedQuantity(Quantity resolvedQuantity) -
setQuantitySchedule
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantitySchedule(ReferenceWithMetaNonNegativeQuantitySchedule quantitySchedule) -
setQuantityScheduleValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantityScheduleValue(NonNegativeQuantitySchedule quantitySchedule) -
setQuantityReference
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantityReference(ReferenceWithMetaResolvablePriceQuantity quantityReference) -
setQuantityReferenceValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantityReferenceValue(ResolvablePriceQuantity quantityReference) -
setQuantityMultiplier
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setQuantityMultiplier(QuantityMultiplier quantityMultiplier) -
setReset
-
setFutureValueNotional
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setFutureValueNotional(FutureValueAmount futureValueNotional) -
addPriceSchedule
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceSchedule(ReferenceWithMetaPriceSchedule priceSchedule) -
addPriceSchedule
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceSchedule(ReferenceWithMetaPriceSchedule priceSchedule, int idx) -
addPriceScheduleValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceScheduleValue(PriceSchedule priceSchedule) -
addPriceScheduleValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceScheduleValue(PriceSchedule priceSchedule, int idx) -
addPriceSchedule
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceSchedule(List<? extends ReferenceWithMetaPriceSchedule> priceSchedule) -
setPriceSchedule
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setPriceSchedule(List<? extends ReferenceWithMetaPriceSchedule> priceSchedule) -
addPriceScheduleValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder addPriceScheduleValue(List<? extends PriceSchedule> priceSchedule) -
setPriceScheduleValue
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setPriceScheduleValue(List<? extends PriceSchedule> priceSchedule) -
setMeta
ResolvablePriceQuantity.ResolvablePriceQuantityBuilder setMeta(com.rosetta.model.metafields.MetaFields meta) -
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
-