Package org.isda.cdm
Class Cashflow.CashflowBuilder
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObjectBuilder
-
- org.isda.cdm.Cashflow.CashflowBuilder
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
,com.rosetta.model.lib.GlobalKeyBuilder<Cashflow.CashflowBuilder>
- Enclosing class:
- Cashflow
public static class Cashflow.CashflowBuilder extends com.rosetta.model.lib.RosettaModelObjectBuilder implements com.rosetta.model.lib.GlobalKeyBuilder<Cashflow.CashflowBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected Money.MoneyBuilder
cashflowAmount
protected java.lang.String
cashflowCalculation
protected AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder
cashflowDate
protected CashflowTypeEnum
cashflowType
protected java.math.BigDecimal
discountFactor
protected MetaFields.MetaFieldsBuilder
meta
protected PayerReceiver.PayerReceiverBuilder
payerReceiver
protected java.lang.Boolean
paymentDelay
protected PaymentDiscounting.PaymentDiscountingBuilder
paymentDiscounting
protected PremiumExpression.PremiumExpressionBuilder
premiumExpression
protected Money.MoneyBuilder
presentValueAmount
-
Constructor Summary
Constructors Constructor Description CashflowBuilder()
-
Method Summary
-
-
-
Field Detail
-
cashflowAmount
protected Money.MoneyBuilder cashflowAmount
-
cashflowCalculation
protected java.lang.String cashflowCalculation
-
cashflowDate
protected AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder cashflowDate
-
cashflowType
protected CashflowTypeEnum cashflowType
-
discountFactor
protected java.math.BigDecimal discountFactor
-
meta
protected MetaFields.MetaFieldsBuilder meta
-
payerReceiver
protected PayerReceiver.PayerReceiverBuilder payerReceiver
-
paymentDelay
protected java.lang.Boolean paymentDelay
-
paymentDiscounting
protected PaymentDiscounting.PaymentDiscountingBuilder paymentDiscounting
-
premiumExpression
protected PremiumExpression.PremiumExpressionBuilder premiumExpression
-
presentValueAmount
protected Money.MoneyBuilder presentValueAmount
-
-
Method Detail
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends Cashflow> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
getCashflowAmount
public Money.MoneyBuilder getCashflowAmount()
-
getOrCreateCashflowAmount
public Money.MoneyBuilder getOrCreateCashflowAmount()
-
getCashflowCalculation
public java.lang.String getCashflowCalculation()
-
getCashflowDate
public AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getCashflowDate()
-
getOrCreateCashflowDate
public AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getOrCreateCashflowDate()
-
getCashflowType
public CashflowTypeEnum getCashflowType()
-
getDiscountFactor
public java.math.BigDecimal getDiscountFactor()
-
getMeta
public MetaFields.MetaFieldsBuilder getMeta()
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKey
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<Cashflow.CashflowBuilder>
-
getOrCreateMeta
public MetaFields.MetaFieldsBuilder getOrCreateMeta()
- Specified by:
getOrCreateMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<Cashflow.CashflowBuilder>
-
getPayerReceiver
public PayerReceiver.PayerReceiverBuilder getPayerReceiver()
-
getOrCreatePayerReceiver
public PayerReceiver.PayerReceiverBuilder getOrCreatePayerReceiver()
-
getPaymentDelay
public java.lang.Boolean getPaymentDelay()
-
getPaymentDiscounting
public PaymentDiscounting.PaymentDiscountingBuilder getPaymentDiscounting()
-
getOrCreatePaymentDiscounting
public PaymentDiscounting.PaymentDiscountingBuilder getOrCreatePaymentDiscounting()
-
getPremiumExpression
public PremiumExpression.PremiumExpressionBuilder getPremiumExpression()
-
getOrCreatePremiumExpression
public PremiumExpression.PremiumExpressionBuilder getOrCreatePremiumExpression()
-
getPresentValueAmount
public Money.MoneyBuilder getPresentValueAmount()
-
getOrCreatePresentValueAmount
public Money.MoneyBuilder getOrCreatePresentValueAmount()
-
setCashflowAmount
public Cashflow.CashflowBuilder setCashflowAmount(Money cashflowAmount)
-
setCashflowAmountBuilder
public Cashflow.CashflowBuilder setCashflowAmountBuilder(Money.MoneyBuilder cashflowAmount)
-
setCashflowCalculation
public Cashflow.CashflowBuilder setCashflowCalculation(java.lang.String cashflowCalculation)
-
setCashflowDate
public Cashflow.CashflowBuilder setCashflowDate(AdjustableOrAdjustedOrRelativeDate cashflowDate)
-
setCashflowDateBuilder
public Cashflow.CashflowBuilder setCashflowDateBuilder(AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder cashflowDate)
-
setCashflowType
public Cashflow.CashflowBuilder setCashflowType(CashflowTypeEnum cashflowType)
-
setDiscountFactor
public Cashflow.CashflowBuilder setDiscountFactor(java.math.BigDecimal discountFactor)
-
setMeta
public Cashflow.CashflowBuilder setMeta(MetaFields meta)
-
setMetaBuilder
public Cashflow.CashflowBuilder setMetaBuilder(MetaFields.MetaFieldsBuilder meta)
-
setPayerReceiver
public Cashflow.CashflowBuilder setPayerReceiver(PayerReceiver payerReceiver)
-
setPayerReceiverBuilder
public Cashflow.CashflowBuilder setPayerReceiverBuilder(PayerReceiver.PayerReceiverBuilder payerReceiver)
-
setPaymentDelay
public Cashflow.CashflowBuilder setPaymentDelay(java.lang.Boolean paymentDelay)
-
setPaymentDiscounting
public Cashflow.CashflowBuilder setPaymentDiscounting(PaymentDiscounting paymentDiscounting)
-
setPaymentDiscountingBuilder
public Cashflow.CashflowBuilder setPaymentDiscountingBuilder(PaymentDiscounting.PaymentDiscountingBuilder paymentDiscounting)
-
setPremiumExpression
public Cashflow.CashflowBuilder setPremiumExpression(PremiumExpression premiumExpression)
-
setPremiumExpressionBuilder
public Cashflow.CashflowBuilder setPremiumExpressionBuilder(PremiumExpression.PremiumExpressionBuilder premiumExpression)
-
setPresentValueAmount
public Cashflow.CashflowBuilder setPresentValueAmount(Money presentValueAmount)
-
setPresentValueAmountBuilder
public Cashflow.CashflowBuilder setPresentValueAmountBuilder(Money.MoneyBuilder presentValueAmount)
-
build
public Cashflow build()
- Specified by:
build
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
public Cashflow.CashflowBuilder prune()
- Specified by:
prune
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()
- Specified by:
hasData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-