Package cdm.product.common.settlement
Class PaymentDiscounting.PaymentDiscountingBuilderImpl
java.lang.Object
cdm.product.common.settlement.PaymentDiscounting.PaymentDiscountingBuilderImpl
- All Implemented Interfaces:
PaymentDiscounting,PaymentDiscounting.PaymentDiscountingBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
PaymentDiscounting
public static class PaymentDiscounting.PaymentDiscountingBuilderImpl
extends Object
implements PaymentDiscounting.PaymentDiscountingBuilder
Builder Implementation of PaymentDiscounting
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.PaymentDiscounting
PaymentDiscounting.PaymentDiscountingBuilder, PaymentDiscounting.PaymentDiscountingBuilderImpl, PaymentDiscounting.PaymentDiscountingImpl -
Field Summary
FieldsFields inherited from interface cdm.product.common.settlement.PaymentDiscounting
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe value representing the discount factor used to calculate the present value of the cash flow.The amount representing the present value of the forecast payment.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDiscountFactor(BigDecimal _discountFactor) setPresentValueAmount(Money _presentValueAmount) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.PaymentDiscounting
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.PaymentDiscounting.PaymentDiscountingBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
discountFactor
-
presentValueAmount
-
-
Constructor Details
-
PaymentDiscountingBuilderImpl
public PaymentDiscountingBuilderImpl()
-
-
Method Details
-
getDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public BigDecimal getDiscountFactor()Description copied from interface:PaymentDiscountingThe value representing the discount factor used to calculate the present value of the cash flow.- Specified by:
getDiscountFactorin interfacePaymentDiscounting
-
getPresentValueAmount
@RosettaAttribute("presentValueAmount") @RuneAttribute("presentValueAmount") public Money.MoneyBuilder getPresentValueAmount()Description copied from interface:PaymentDiscountingThe amount representing the present value of the forecast payment.- Specified by:
getPresentValueAmountin interfacePaymentDiscounting- Specified by:
getPresentValueAmountin interfacePaymentDiscounting.PaymentDiscountingBuilder
-
getOrCreatePresentValueAmount
- Specified by:
getOrCreatePresentValueAmountin interfacePaymentDiscounting.PaymentDiscountingBuilder
-
setDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public PaymentDiscounting.PaymentDiscountingBuilder setDiscountFactor(BigDecimal _discountFactor) - Specified by:
setDiscountFactorin interfacePaymentDiscounting.PaymentDiscountingBuilder
-
setPresentValueAmount
@RosettaAttribute("presentValueAmount") @RuneAttribute("presentValueAmount") public PaymentDiscounting.PaymentDiscountingBuilder setPresentValueAmount(Money _presentValueAmount) - Specified by:
setPresentValueAmountin interfacePaymentDiscounting.PaymentDiscountingBuilder
-
build
Description copied from interface:PaymentDiscountingBuild Methods- Specified by:
buildin interfacePaymentDiscounting- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePaymentDiscounting- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfacePaymentDiscounting.PaymentDiscountingBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PaymentDiscounting.PaymentDiscountingBuilder 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
-