Package cdm.product.common.settlement
Class ResolvablePriceQuantity.ResolvablePriceQuantityImpl
java.lang.Object
cdm.product.common.settlement.ResolvablePriceQuantity.ResolvablePriceQuantityImpl
- All Implemented Interfaces:
ResolvablePriceQuantity,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ResolvablePriceQuantity
public static class ResolvablePriceQuantity.ResolvablePriceQuantityImpl
extends Object
implements ResolvablePriceQuantity
Immutable Implementation of ResolvablePriceQuantity
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe future value notional is specific to BRL CDI swaps, and is specified alongside the notional amount.com.rosetta.model.metafields.MetaFieldsgetMeta()List<? extends ReferenceWithMetaPriceSchedule> A payout's price specified as a schedule, which may also contain a single value if that price is constant.List<? extends CumulationFeature> 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.getReset()Whether the quantity is resettableA product's quantity as a single, non-negative amount.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.ResolvablePriceQuantity
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ResolvablePriceQuantityImpl
protected ResolvablePriceQuantityImpl(ResolvablePriceQuantity.ResolvablePriceQuantityBuilder builder)
-
-
Method Details
-
getQuantityCumulation
@RosettaAttribute("quantityCumulation") @RuneAttribute("quantityCumulation") public List<? extends CumulationFeature> getQuantityCumulation()Description copied from interface:ResolvablePriceQuantityDescribe provisions which define how the quantity is incremented over time.- Specified by:
getQuantityCumulationin interfaceResolvablePriceQuantity
-
getResolvedQuantity
@RosettaAttribute("resolvedQuantity") @RuneAttribute("resolvedQuantity") public Quantity 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
-
getQuantitySchedule
@RosettaAttribute("quantitySchedule") @RuneAttribute("quantitySchedule") @RuneScopedAttributeReference public ReferenceWithMetaNonNegativeQuantitySchedule 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
-
getQuantityReference
@RosettaAttribute("quantityReference") @RuneAttribute("quantityReference") public ReferenceWithMetaResolvablePriceQuantity 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
-
getQuantityMultiplier
@RosettaAttribute("quantityMultiplier") @RuneAttribute("quantityMultiplier") public QuantityMultiplier 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
-
getReset
Description copied from interface:ResolvablePriceQuantityWhether the quantity is resettable- Specified by:
getResetin interfaceResolvablePriceQuantity
-
getFutureValueNotional
@RosettaAttribute("futureValueNotional") @RuneAttribute("futureValueNotional") public FutureValueAmount 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
-
getPriceSchedule
@RosettaAttribute("priceSchedule") @RuneAttribute("priceSchedule") @RuneScopedAttributeReference public List<? extends ReferenceWithMetaPriceSchedule> 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
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceResolvablePriceQuantity
-
build
Description copied from interface:ResolvablePriceQuantityBuild Methods- Specified by:
buildin interfaceResolvablePriceQuantity- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceResolvablePriceQuantity- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-