Package cdm.product.common.settlement
Class Cashflow.CashflowBuilderImpl
java.lang.Object
cdm.product.common.settlement.AssetFlowBase.AssetFlowBaseBuilderImpl
cdm.product.common.settlement.Cashflow.CashflowBuilderImpl
- All Implemented Interfaces:
AssetFlowBase,AssetFlowBase.AssetFlowBaseBuilder,Cashflow,Cashflow.CashflowBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Cashflow
public static class Cashflow.CashflowBuilderImpl
extends AssetFlowBase.AssetFlowBaseBuilderImpl
implements Cashflow.CashflowBuilder
Builder Implementation of Cashflow
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.AssetFlowBase
AssetFlowBase.AssetFlowBaseBuilder, AssetFlowBase.AssetFlowBaseBuilderImpl, AssetFlowBase.AssetFlowBaseImplNested classes/interfaces inherited from interface cdm.product.common.settlement.Cashflow
Cashflow.CashflowBuilder, Cashflow.CashflowBuilderImpl, Cashflow.CashflowImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CashflowType.CashflowTypeBuilderprotected PayerReceiver.PayerReceiverBuilderFields inherited from class cdm.product.common.settlement.AssetFlowBase.AssetFlowBaseBuilderImpl
asset, quantity, settlementDateFields inherited from interface cdm.product.common.settlement.AssetFlowBase
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.Specifies who pays / receives the cashflow, though a normalised Party1 / Party2 enumerator.FpML 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) setPayerReceiver(PayerReceiver _payerReceiver) setPaymentDiscounting(PaymentDiscounting _paymentDiscounting) setQuantity(NonNegativeQuantity _quantity) setSettlementDate(AdjustableOrAdjustedOrRelativeDate _settlementDate) toString()Methods inherited from class cdm.product.common.settlement.AssetFlowBase.AssetFlowBaseBuilderImpl
getAsset, getOrCreateAsset, getOrCreateQuantity, getOrCreateSettlementDate, getQuantity, getSettlementDateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.AssetFlowBase.AssetFlowBaseBuilder
getAsset, getOrCreateAsset, getOrCreateQuantity, getOrCreateSettlementDate, getQuantity, getSettlementDateMethods inherited from interface cdm.product.common.settlement.Cashflow.CashflowBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
payerReceiver
-
cashflowType
-
paymentDiscounting
-
-
Constructor Details
-
CashflowBuilderImpl
public CashflowBuilderImpl()
-
-
Method Details
-
getPayerReceiver
@RosettaAttribute("payerReceiver") @Accessor(GETTER) @Required @RuneAttribute("payerReceiver") public PayerReceiver.PayerReceiverBuilder getPayerReceiver()Description copied from interface:CashflowSpecifies who pays / receives the cashflow, though a normalised Party1 / Party2 enumerator.- Specified by:
getPayerReceiverin interfaceCashflow- Specified by:
getPayerReceiverin interfaceCashflow.CashflowBuilder
-
getOrCreatePayerReceiver
- Specified by:
getOrCreatePayerReceiverin interfaceCashflow.CashflowBuilder
-
getCashflowType
@RosettaAttribute("cashflowType") @Accessor(GETTER) @Required @RuneAttribute("cashflowType") 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") @Accessor(GETTER) @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
-
setQuantity
@RosettaAttribute("quantity") @Accessor(SETTER) @Required @RuneAttribute("quantity") public Cashflow.CashflowBuilder setQuantity(NonNegativeQuantity _quantity) - Specified by:
setQuantityin interfaceAssetFlowBase.AssetFlowBaseBuilder- Specified by:
setQuantityin interfaceCashflow.CashflowBuilder- Overrides:
setQuantityin classAssetFlowBase.AssetFlowBaseBuilderImpl
-
setAsset
@RosettaAttribute("asset") @Accessor(SETTER) @Required @RuneAttribute("asset") public Cashflow.CashflowBuilder setAsset(Asset _asset) - Specified by:
setAssetin interfaceAssetFlowBase.AssetFlowBaseBuilder- Specified by:
setAssetin interfaceCashflow.CashflowBuilder- Overrides:
setAssetin classAssetFlowBase.AssetFlowBaseBuilderImpl
-
setSettlementDate
@RosettaAttribute("settlementDate") @Accessor(SETTER) @Required @RuneAttribute("settlementDate") public Cashflow.CashflowBuilder setSettlementDate(AdjustableOrAdjustedOrRelativeDate _settlementDate) - Specified by:
setSettlementDatein interfaceAssetFlowBase.AssetFlowBaseBuilder- Specified by:
setSettlementDatein interfaceCashflow.CashflowBuilder- Overrides:
setSettlementDatein classAssetFlowBase.AssetFlowBaseBuilderImpl
-
setPayerReceiver
@RosettaAttribute("payerReceiver") @Accessor(SETTER) @Required @RuneAttribute("payerReceiver") public Cashflow.CashflowBuilder setPayerReceiver(PayerReceiver _payerReceiver) - Specified by:
setPayerReceiverin interfaceCashflow.CashflowBuilder
-
setCashflowType
@RosettaAttribute("cashflowType") @Accessor(SETTER) @Required @RuneAttribute("cashflowType") public Cashflow.CashflowBuilder setCashflowType(CashflowType _cashflowType) - Specified by:
setCashflowTypein interfaceCashflow.CashflowBuilder
-
setPaymentDiscounting
@RosettaAttribute("paymentDiscounting") @Accessor(SETTER) @RuneAttribute("paymentDiscounting") public Cashflow.CashflowBuilder setPaymentDiscounting(PaymentDiscounting _paymentDiscounting) - Specified by:
setPaymentDiscountingin interfaceCashflow.CashflowBuilder
-
build
Description copied from interface:AssetFlowBaseBuild Methods- Specified by:
buildin interfaceAssetFlowBase- Specified by:
buildin interfaceCashflow- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classAssetFlowBase.AssetFlowBaseBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceAssetFlowBase- Specified by:
toBuilderin interfaceCashflow- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classAssetFlowBase.AssetFlowBaseBuilderImpl
-
prune
- Specified by:
prunein interfaceAssetFlowBase.AssetFlowBaseBuilder- Specified by:
prunein interfaceCashflow.CashflowBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classAssetFlowBase.AssetFlowBaseBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classAssetFlowBase.AssetFlowBaseBuilderImpl
-
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 classAssetFlowBase.AssetFlowBaseBuilderImpl
-
equals
- Overrides:
equalsin classAssetFlowBase.AssetFlowBaseBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classAssetFlowBase.AssetFlowBaseBuilderImpl
-
toString
- Overrides:
toStringin classAssetFlowBase.AssetFlowBaseBuilderImpl
-