Package org.isda.cdm
Class CashflowRepresentation.CashflowRepresentationBuilder
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObjectBuilder
-
- org.isda.cdm.CashflowRepresentation.CashflowRepresentationBuilder
-
- Enclosing class:
- CashflowRepresentation
public static class CashflowRepresentation.CashflowRepresentationBuilder extends com.rosetta.model.lib.RosettaModelObjectBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
cashflowsMatchParameters
protected java.util.List<PaymentCalculationPeriod.PaymentCalculationPeriodBuilder>
paymentCalculationPeriod
protected java.util.List<PrincipalExchange.PrincipalExchangeBuilder>
principalExchange
-
Constructor Summary
Constructors Constructor Description CashflowRepresentationBuilder()
-
Method Summary
-
-
-
Field Detail
-
cashflowsMatchParameters
protected java.lang.Boolean cashflowsMatchParameters
-
paymentCalculationPeriod
protected java.util.List<PaymentCalculationPeriod.PaymentCalculationPeriodBuilder> paymentCalculationPeriod
-
principalExchange
protected java.util.List<PrincipalExchange.PrincipalExchangeBuilder> principalExchange
-
-
Method Detail
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends CashflowRepresentation> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
getCashflowsMatchParameters
public java.lang.Boolean getCashflowsMatchParameters()
-
getPaymentCalculationPeriod
public java.util.List<PaymentCalculationPeriod.PaymentCalculationPeriodBuilder> getPaymentCalculationPeriod()
-
getOrCreatePaymentCalculationPeriod
public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder getOrCreatePaymentCalculationPeriod(int index)
-
getPrincipalExchange
public java.util.List<PrincipalExchange.PrincipalExchangeBuilder> getPrincipalExchange()
-
getOrCreatePrincipalExchange
public PrincipalExchange.PrincipalExchangeBuilder getOrCreatePrincipalExchange(int index)
-
setCashflowsMatchParameters
public CashflowRepresentation.CashflowRepresentationBuilder setCashflowsMatchParameters(java.lang.Boolean cashflowsMatchParameters)
-
addPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(PaymentCalculationPeriod paymentCalculationPeriod)
-
addPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(PaymentCalculationPeriod paymentCalculationPeriod, int _idx)
-
addPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(java.util.List<PaymentCalculationPeriod> paymentCalculationPeriods)
-
addPaymentCalculationPeriodBuilder
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriodBuilder(PaymentCalculationPeriod.PaymentCalculationPeriodBuilder paymentCalculationPeriod)
-
clearPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder clearPaymentCalculationPeriod()
-
addPrincipalExchange
public CashflowRepresentation.CashflowRepresentationBuilder addPrincipalExchange(PrincipalExchange principalExchange)
-
addPrincipalExchange
public CashflowRepresentation.CashflowRepresentationBuilder addPrincipalExchange(PrincipalExchange principalExchange, int _idx)
-
addPrincipalExchange
public CashflowRepresentation.CashflowRepresentationBuilder addPrincipalExchange(java.util.List<PrincipalExchange> principalExchanges)
-
addPrincipalExchangeBuilder
public CashflowRepresentation.CashflowRepresentationBuilder addPrincipalExchangeBuilder(PrincipalExchange.PrincipalExchangeBuilder principalExchange)
-
clearPrincipalExchange
public CashflowRepresentation.CashflowRepresentationBuilder clearPrincipalExchange()
-
build
public CashflowRepresentation build()
- Specified by:
build
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
public CashflowRepresentation.CashflowRepresentationBuilder 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
-
-