Package cdm.product.common.schedule
Class PaymentCalculationPeriod.PaymentCalculationPeriodImpl
java.lang.Object
cdm.product.common.schedule.PaymentCalculationPeriod.PaymentCalculationPeriodImpl
- All Implemented Interfaces:
PaymentCalculationPeriod,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PaymentCalculationPeriod
public static class PaymentCalculationPeriod.PaymentCalculationPeriodImpl
extends Object
implements PaymentCalculationPeriod
Immutable Implementation of PaymentCalculationPeriod
-
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.schedule.PaymentCalculationPeriod
PaymentCalculationPeriod.PaymentCalculationPeriodBuilder, PaymentCalculationPeriod.PaymentCalculationPeriodBuilderImpl, PaymentCalculationPeriod.PaymentCalculationPeriodImpl -
Field Summary
Fields inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.lib.records.DateThe adjusted payment date.List<? extends CalculationPeriod> The parameters used in the calculation of a fixed or floating rate calculation period amount.A decimal value representing the discount factor used to calculate the present value of cash flow.A known fixed payment amount.A monetary amount representing the forecast of the future value of the payment.com.rosetta.model.metafields.MetaFieldsgetMeta()A monetary amount representing the present value of the forecast payment.com.rosetta.model.lib.records.DateThe unadjusted payment date.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PaymentCalculationPeriodImpl
protected PaymentCalculationPeriodImpl(PaymentCalculationPeriod.PaymentCalculationPeriodBuilder builder)
-
-
Method Details
-
getUnadjustedPaymentDate
@RosettaAttribute("unadjustedPaymentDate") @RuneAttribute("unadjustedPaymentDate") public com.rosetta.model.lib.records.Date getUnadjustedPaymentDate()Description copied from interface:PaymentCalculationPeriodThe unadjusted payment date.- Specified by:
getUnadjustedPaymentDatein interfacePaymentCalculationPeriod
-
getAdjustedPaymentDate
@RosettaAttribute("adjustedPaymentDate") @RuneAttribute("adjustedPaymentDate") public com.rosetta.model.lib.records.Date getAdjustedPaymentDate()Description copied from interface:PaymentCalculationPeriodThe adjusted payment date. This date should already be adjusted for any applicable business day convention. This component is not intended for use in trade confirmation but may be specified to allow the fee structure to also serve as a cashflow type component.- Specified by:
getAdjustedPaymentDatein interfacePaymentCalculationPeriod
-
getCalculationPeriod
@RosettaAttribute(value="calculationPeriod", isRequired=true) @RuneAttribute(value="calculationPeriod", isRequired=true) public List<? extends CalculationPeriod> getCalculationPeriod()Description copied from interface:PaymentCalculationPeriodThe parameters used in the calculation of a fixed or floating rate calculation period amount. A list of calculation period elements may be ordered in the document by ascending start date. An FpML document which contains an unordered list of calculation periods is still regarded as a conformant document.- Specified by:
getCalculationPeriodin interfacePaymentCalculationPeriod
-
getFixedPaymentAmount
@RosettaAttribute("fixedPaymentAmount") @RuneAttribute("fixedPaymentAmount") public Money getFixedPaymentAmount()Description copied from interface:PaymentCalculationPeriodA known fixed payment amount.- Specified by:
getFixedPaymentAmountin interfacePaymentCalculationPeriod
-
getDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public BigDecimal getDiscountFactor()Description copied from interface:PaymentCalculationPeriodA decimal value representing the discount factor used to calculate the present value of cash flow.- Specified by:
getDiscountFactorin interfacePaymentCalculationPeriod
-
getForecastPaymentAmount
@RosettaAttribute("forecastPaymentAmount") @RuneAttribute("forecastPaymentAmount") public Money getForecastPaymentAmount()Description copied from interface:PaymentCalculationPeriodA monetary amount representing the forecast of the future value of the payment.- Specified by:
getForecastPaymentAmountin interfacePaymentCalculationPeriod
-
getPresentValueAmount
@RosettaAttribute("presentValueAmount") @RuneAttribute("presentValueAmount") public Money getPresentValueAmount()Description copied from interface:PaymentCalculationPeriodA monetary amount representing the present value of the forecast payment.- Specified by:
getPresentValueAmountin interfacePaymentCalculationPeriod
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacePaymentCalculationPeriod
-
build
Description copied from interface:PaymentCalculationPeriodBuild Methods- Specified by:
buildin interfacePaymentCalculationPeriod- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePaymentCalculationPeriod- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-