Package cdm.product.common.settlement
Class Cashflow.CashflowBuilderImpl
java.lang.Object
cdm.product.common.settlement.PayoutBase.PayoutBaseBuilderImpl
cdm.product.common.settlement.Cashflow.CashflowBuilderImpl
- All Implemented Interfaces:
Cashflow,Cashflow.CashflowBuilder,PayoutBase,PayoutBase.PayoutBaseBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Cashflow
public static class Cashflow.CashflowBuilderImpl
extends PayoutBase.PayoutBaseBuilderImpl
implements Cashflow.CashflowBuilder
Builder Implementation of Cashflow
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.Cashflow
Cashflow.CashflowBuilder, Cashflow.CashflowBuilderImpl, Cashflow.CashflowImplNested 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.PayoutBase
PayoutBase.PayoutBaseBuilder, PayoutBase.PayoutBaseBuilderImpl, PayoutBase.PayoutBaseImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CashflowType.CashflowTypeBuilderprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderFields inherited from class cdm.product.common.settlement.PayoutBase.PayoutBaseBuilderImpl
payerReceiver, priceQuantity, principalPayment, settlementTermsFields inherited from interface cdm.product.common.settlement.PayoutBase
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe qualification of the type of cashflow, e.g. brokerage fee, premium, upfront fee etc.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderFpML specifies the FpML PaymentDiscounting.model group for representing the discounting elements that can be associated with a payment.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCashflowType(CashflowType _cashflowType) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPayerReceiver(PayerReceiver _payerReceiver) setPaymentDiscounting(PaymentDiscounting _paymentDiscounting) setPriceQuantity(ResolvablePriceQuantity _priceQuantity) setPrincipalPayment(PrincipalPayments _principalPayment) setSettlementTerms(SettlementTerms _settlementTerms) toString()Methods inherited from class cdm.product.common.settlement.PayoutBase.PayoutBaseBuilderImpl
getOrCreatePayerReceiver, getOrCreatePriceQuantity, getOrCreatePrincipalPayment, getOrCreateSettlementTerms, getPayerReceiver, getPriceQuantity, getPrincipalPayment, getSettlementTermsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.Cashflow.CashflowBuilder
processMethods inherited from interface cdm.product.common.settlement.PayoutBase.PayoutBaseBuilder
getOrCreatePayerReceiver, getOrCreatePriceQuantity, getOrCreatePrincipalPayment, getOrCreateSettlementTerms, getPayerReceiver, getPriceQuantity, getPrincipalPayment, getSettlementTermsMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
cashflowType
-
paymentDiscounting
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
CashflowBuilderImpl
public CashflowBuilderImpl()
-
-
Method Details
-
getCashflowType
@RosettaAttribute(value="cashflowType", isRequired=true) @RuneAttribute(value="cashflowType", isRequired=true) public CashflowType.CashflowTypeBuilder getCashflowType()Description copied from interface:CashflowThe qualification of the type of cashflow, e.g. brokerage fee, premium, upfront fee etc. Particularly relevant when it cannot be inferred directly through lineage.- Specified by:
getCashflowTypein interfaceCashflow- Specified by:
getCashflowTypein interfaceCashflow.CashflowBuilder
-
getOrCreateCashflowType
- Specified by:
getOrCreateCashflowTypein interfaceCashflow.CashflowBuilder
-
getPaymentDiscounting
@RosettaAttribute("paymentDiscounting") @RuneAttribute("paymentDiscounting") public PaymentDiscounting.PaymentDiscountingBuilder getPaymentDiscounting()Description copied from interface:CashflowFpML specifies the FpML PaymentDiscounting.model group for representing the discounting elements that can be associated with a payment.- Specified by:
getPaymentDiscountingin interfaceCashflow- Specified by:
getPaymentDiscountingin interfaceCashflow.CashflowBuilder
-
getOrCreatePaymentDiscounting
- Specified by:
getOrCreatePaymentDiscountingin interfaceCashflow.CashflowBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfaceCashflow- Specified by:
getMetain interfaceCashflow.CashflowBuilder- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfaceCashflow.CashflowBuilder- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
setPayerReceiver
@RosettaAttribute(value="payerReceiver", isRequired=true) @RuneAttribute(value="payerReceiver", isRequired=true) public Cashflow.CashflowBuilder setPayerReceiver(PayerReceiver _payerReceiver) - Specified by:
setPayerReceiverin interfaceCashflow.CashflowBuilder- Specified by:
setPayerReceiverin interfacePayoutBase.PayoutBaseBuilder- Overrides:
setPayerReceiverin classPayoutBase.PayoutBaseBuilderImpl
-
setPriceQuantity
@RosettaAttribute("priceQuantity") @RuneAttribute("priceQuantity") public Cashflow.CashflowBuilder setPriceQuantity(ResolvablePriceQuantity _priceQuantity) - Specified by:
setPriceQuantityin interfaceCashflow.CashflowBuilder- Specified by:
setPriceQuantityin interfacePayoutBase.PayoutBaseBuilder- Overrides:
setPriceQuantityin classPayoutBase.PayoutBaseBuilderImpl
-
setPrincipalPayment
@RosettaAttribute("principalPayment") @RuneAttribute("principalPayment") public Cashflow.CashflowBuilder setPrincipalPayment(PrincipalPayments _principalPayment) - Specified by:
setPrincipalPaymentin interfaceCashflow.CashflowBuilder- Specified by:
setPrincipalPaymentin interfacePayoutBase.PayoutBaseBuilder- Overrides:
setPrincipalPaymentin classPayoutBase.PayoutBaseBuilderImpl
-
setSettlementTerms
@RosettaAttribute("settlementTerms") @RuneAttribute("settlementTerms") public Cashflow.CashflowBuilder setSettlementTerms(SettlementTerms _settlementTerms) - Specified by:
setSettlementTermsin interfaceCashflow.CashflowBuilder- Specified by:
setSettlementTermsin interfacePayoutBase.PayoutBaseBuilder- Overrides:
setSettlementTermsin classPayoutBase.PayoutBaseBuilderImpl
-
setCashflowType
@RosettaAttribute(value="cashflowType", isRequired=true) @RuneAttribute(value="cashflowType", isRequired=true) public Cashflow.CashflowBuilder setCashflowType(CashflowType _cashflowType) - Specified by:
setCashflowTypein interfaceCashflow.CashflowBuilder
-
setPaymentDiscounting
@RosettaAttribute("paymentDiscounting") @RuneAttribute("paymentDiscounting") public Cashflow.CashflowBuilder setPaymentDiscounting(PaymentDiscounting _paymentDiscounting) - Specified by:
setPaymentDiscountingin interfaceCashflow.CashflowBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public Cashflow.CashflowBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceCashflow.CashflowBuilder
-
build
Description copied from interface:PayoutBaseBuild Methods- Specified by:
buildin interfaceCashflow- Specified by:
buildin interfacePayoutBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classPayoutBase.PayoutBaseBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceCashflow- Specified by:
toBuilderin interfacePayoutBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classPayoutBase.PayoutBaseBuilderImpl
-
prune
- Specified by:
prunein interfaceCashflow.CashflowBuilder- Specified by:
prunein interfacePayoutBase.PayoutBaseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classPayoutBase.PayoutBaseBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classPayoutBase.PayoutBaseBuilderImpl
-
merge
public Cashflow.CashflowBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classPayoutBase.PayoutBaseBuilderImpl
-
equals
- Overrides:
equalsin classPayoutBase.PayoutBaseBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classPayoutBase.PayoutBaseBuilderImpl
-
toString
- Overrides:
toStringin classPayoutBase.PayoutBaseBuilderImpl
-