Package cdm.product.common.settlement
Class PrincipalPayment.PrincipalPaymentBuilderImpl
java.lang.Object
cdm.product.common.settlement.PrincipalPayment.PrincipalPaymentBuilderImpl
- All Implemented Interfaces:
PrincipalPayment,PrincipalPayment.PrincipalPaymentBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
PrincipalPayment
public static class PrincipalPayment.PrincipalPaymentBuilderImpl
extends Object
implements PrincipalPayment.PrincipalPaymentBuilder
Builder Implementation of PrincipalPayment
-
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.PrincipalPayment
PrincipalPayment.PrincipalPaymentBuilder, PrincipalPayment.PrincipalPaymentBuilderImpl, PrincipalPayment.PrincipalPaymentImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected PayerReceiver.PayerReceiverBuilderprotected Money.MoneyBuilderprotected Money.MoneyBuilderprotected AdjustableDate.AdjustableDateBuilderFields inherited from interface cdm.product.common.settlement.PrincipalPayment
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe value representing the discount factor used to calculate the present value of the principal payment amount.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderSpecifies the parties responsible for making and receiving payments defined by this structure.The amount representing the present value of the principal payment.When known at the time the transaction is made, the cash amount to be paid.The date where the PrincipalPayment shall be settled.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDiscountFactor(BigDecimal _discountFactor) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPayerReceiver(PayerReceiver _payerReceiver) setPresentValuePrincipalAmount(Money _presentValuePrincipalAmount) setPrincipalAmount(Money _principalAmount) setPrincipalPaymentDate(AdjustableDate _principalPaymentDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.PrincipalPayment
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.PrincipalPayment.PrincipalPaymentBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
principalPaymentDate
-
payerReceiver
-
principalAmount
-
discountFactor
-
presentValuePrincipalAmount
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
PrincipalPaymentBuilderImpl
public PrincipalPaymentBuilderImpl()
-
-
Method Details
-
getPrincipalPaymentDate
@RosettaAttribute("principalPaymentDate") @RuneAttribute("principalPaymentDate") public AdjustableDate.AdjustableDateBuilder getPrincipalPaymentDate()Description copied from interface:PrincipalPaymentThe date where the PrincipalPayment shall be settled.- Specified by:
getPrincipalPaymentDatein interfacePrincipalPayment- Specified by:
getPrincipalPaymentDatein interfacePrincipalPayment.PrincipalPaymentBuilder
-
getOrCreatePrincipalPaymentDate
- Specified by:
getOrCreatePrincipalPaymentDatein interfacePrincipalPayment.PrincipalPaymentBuilder
-
getPayerReceiver
@RosettaAttribute("payerReceiver") @RuneAttribute("payerReceiver") public PayerReceiver.PayerReceiverBuilder getPayerReceiver()Description copied from interface:PrincipalPaymentSpecifies the parties responsible for making and receiving payments defined by this structure.- Specified by:
getPayerReceiverin interfacePrincipalPayment- Specified by:
getPayerReceiverin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getOrCreatePayerReceiver
- Specified by:
getOrCreatePayerReceiverin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getPrincipalAmount
@RosettaAttribute("principalAmount") @RuneAttribute("principalAmount") public Money.MoneyBuilder getPrincipalAmount()Description copied from interface:PrincipalPaymentWhen known at the time the transaction is made, the cash amount to be paid.- Specified by:
getPrincipalAmountin interfacePrincipalPayment- Specified by:
getPrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getOrCreatePrincipalAmount
- Specified by:
getOrCreatePrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public BigDecimal getDiscountFactor()Description copied from interface:PrincipalPaymentThe value representing the discount factor used to calculate the present value of the principal payment amount.- Specified by:
getDiscountFactorin interfacePrincipalPayment
-
getPresentValuePrincipalAmount
@RosettaAttribute("presentValuePrincipalAmount") @RuneAttribute("presentValuePrincipalAmount") public Money.MoneyBuilder getPresentValuePrincipalAmount()Description copied from interface:PrincipalPaymentThe amount representing the present value of the principal payment.- Specified by:
getPresentValuePrincipalAmountin interfacePrincipalPayment- Specified by:
getPresentValuePrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getOrCreatePresentValuePrincipalAmount
- Specified by:
getOrCreatePresentValuePrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public 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 interfacePrincipalPayment- Specified by:
getMetain interfacePrincipalPayment.PrincipalPaymentBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfacePrincipalPayment.PrincipalPaymentBuilder
-
setPrincipalPaymentDate
@RosettaAttribute("principalPaymentDate") @RuneAttribute("principalPaymentDate") public PrincipalPayment.PrincipalPaymentBuilder setPrincipalPaymentDate(AdjustableDate _principalPaymentDate) - Specified by:
setPrincipalPaymentDatein interfacePrincipalPayment.PrincipalPaymentBuilder
-
setPayerReceiver
@RosettaAttribute("payerReceiver") @RuneAttribute("payerReceiver") public PrincipalPayment.PrincipalPaymentBuilder setPayerReceiver(PayerReceiver _payerReceiver) - Specified by:
setPayerReceiverin interfacePrincipalPayment.PrincipalPaymentBuilder
-
setPrincipalAmount
@RosettaAttribute("principalAmount") @RuneAttribute("principalAmount") public PrincipalPayment.PrincipalPaymentBuilder setPrincipalAmount(Money _principalAmount) - Specified by:
setPrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
setDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public PrincipalPayment.PrincipalPaymentBuilder setDiscountFactor(BigDecimal _discountFactor) - Specified by:
setDiscountFactorin interfacePrincipalPayment.PrincipalPaymentBuilder
-
setPresentValuePrincipalAmount
@RosettaAttribute("presentValuePrincipalAmount") @RuneAttribute("presentValuePrincipalAmount") public PrincipalPayment.PrincipalPaymentBuilder setPresentValuePrincipalAmount(Money _presentValuePrincipalAmount) - Specified by:
setPresentValuePrincipalAmountin interfacePrincipalPayment.PrincipalPaymentBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public PrincipalPayment.PrincipalPaymentBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfacePrincipalPayment.PrincipalPaymentBuilder
-
build
Description copied from interface:PrincipalPaymentBuild Methods- Specified by:
buildin interfacePrincipalPayment- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePrincipalPayment- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfacePrincipalPayment.PrincipalPaymentBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PrincipalPayment.PrincipalPaymentBuilder 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
-