Package cdm.product.asset
Class CashflowRepresentation.CashflowRepresentationBuilderImpl
java.lang.Object
cdm.product.asset.CashflowRepresentation.CashflowRepresentationBuilderImpl
- All Implemented Interfaces:
CashflowRepresentation,CashflowRepresentation.CashflowRepresentationBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
CashflowRepresentation
public static class CashflowRepresentation.CashflowRepresentationBuilderImpl
extends Object
implements CashflowRepresentation.CashflowRepresentationBuilder
Builder Implementation of CashflowRepresentation
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.CashflowRepresentation
CashflowRepresentation.CashflowRepresentationBuilder, CashflowRepresentation.CashflowRepresentationBuilderImpl, CashflowRepresentation.CashflowRepresentationImpl -
Field Summary
FieldsFields inherited from interface cdm.product.asset.CashflowRepresentation
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPaymentCalculationPeriod(PaymentCalculationPeriod _paymentCalculationPeriod) addPaymentCalculationPeriod(PaymentCalculationPeriod _paymentCalculationPeriod, int idx) addPaymentCalculationPeriod(List<? extends PaymentCalculationPeriod> paymentCalculationPeriods) build()Build MethodsbooleanA true/false flag to indicate whether the cashflows match the parametric definition of the stream, i.e. whether the cashflows could be regenerated from the parameters without loss of information.getOrCreatePaymentCalculationPeriod(int index) The adjusted payment date and associated calculation period parameters required to calculate the actual or projected payment amount.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCashflowsMatchParameters(Boolean _cashflowsMatchParameters) setPaymentCalculationPeriod(List<? extends PaymentCalculationPeriod> paymentCalculationPeriods) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.CashflowRepresentation
getType, metaData, processMethods inherited from interface cdm.product.asset.CashflowRepresentation.CashflowRepresentationBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
cashflowsMatchParameters
-
paymentCalculationPeriod
-
-
Constructor Details
-
CashflowRepresentationBuilderImpl
public CashflowRepresentationBuilderImpl()
-
-
Method Details
-
getCashflowsMatchParameters
@RosettaAttribute(value="cashflowsMatchParameters", isRequired=true) @RuneAttribute(value="cashflowsMatchParameters", isRequired=true) public Boolean getCashflowsMatchParameters()Description copied from interface:CashflowRepresentationA true/false flag to indicate whether the cashflows match the parametric definition of the stream, i.e. whether the cashflows could be regenerated from the parameters without loss of information.- Specified by:
getCashflowsMatchParametersin interfaceCashflowRepresentation
-
getPaymentCalculationPeriod
@RosettaAttribute("paymentCalculationPeriod") @RuneAttribute("paymentCalculationPeriod") public List<? extends PaymentCalculationPeriod.PaymentCalculationPeriodBuilder> getPaymentCalculationPeriod()Description copied from interface:CashflowRepresentationThe adjusted payment date and associated calculation period parameters required to calculate the actual or projected payment amount. A list of payment calculation period elements may be ordered in the document by ascending adjusted payment date. An FpML document containing an unordered list of payment calculation periods is still regarded as a conformant document.- Specified by:
getPaymentCalculationPeriodin interfaceCashflowRepresentation- Specified by:
getPaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
getOrCreatePaymentCalculationPeriod
public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder getOrCreatePaymentCalculationPeriod(int index) - Specified by:
getOrCreatePaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
setCashflowsMatchParameters
@RosettaAttribute(value="cashflowsMatchParameters", isRequired=true) @RuneAttribute(value="cashflowsMatchParameters", isRequired=true) public CashflowRepresentation.CashflowRepresentationBuilder setCashflowsMatchParameters(Boolean _cashflowsMatchParameters) - Specified by:
setCashflowsMatchParametersin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
addPaymentCalculationPeriod
@RosettaAttribute("paymentCalculationPeriod") @RuneAttribute("paymentCalculationPeriod") public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(PaymentCalculationPeriod _paymentCalculationPeriod) - Specified by:
addPaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
addPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(PaymentCalculationPeriod _paymentCalculationPeriod, int idx) - Specified by:
addPaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
addPaymentCalculationPeriod
public CashflowRepresentation.CashflowRepresentationBuilder addPaymentCalculationPeriod(List<? extends PaymentCalculationPeriod> paymentCalculationPeriods) - Specified by:
addPaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
setPaymentCalculationPeriod
@RuneAttribute("paymentCalculationPeriod") public CashflowRepresentation.CashflowRepresentationBuilder setPaymentCalculationPeriod(List<? extends PaymentCalculationPeriod> paymentCalculationPeriods) - Specified by:
setPaymentCalculationPeriodin interfaceCashflowRepresentation.CashflowRepresentationBuilder
-
build
Description copied from interface:CashflowRepresentationBuild Methods- Specified by:
buildin interfaceCashflowRepresentation- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceCashflowRepresentation- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceCashflowRepresentation.CashflowRepresentationBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public CashflowRepresentation.CashflowRepresentationBuilder 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
-