Package cdm.product.common.schedule
Class PaymentCalculationPeriod.PaymentCalculationPeriodBuilderImpl
java.lang.Object
cdm.product.common.schedule.PaymentCalculationPeriod.PaymentCalculationPeriodBuilderImpl
- All Implemented Interfaces:
PaymentCalculationPeriod,PaymentCalculationPeriod.PaymentCalculationPeriodBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
PaymentCalculationPeriod
public static class PaymentCalculationPeriod.PaymentCalculationPeriodBuilderImpl
extends Object
implements PaymentCalculationPeriod.PaymentCalculationPeriodBuilder
Builder Implementation of PaymentCalculationPeriod
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod
PaymentCalculationPeriod.PaymentCalculationPeriodBuilder, PaymentCalculationPeriod.PaymentCalculationPeriodBuilderImpl, PaymentCalculationPeriod.PaymentCalculationPeriodImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.records.Dateprotected List<CalculationPeriod.CalculationPeriodBuilder> protected BigDecimalprotected Money.MoneyBuilderprotected Money.MoneyBuilderprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected Money.MoneyBuilderprotected com.rosetta.model.lib.records.DateFields inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCalculationPeriod(CalculationPeriod _calculationPeriod) addCalculationPeriod(CalculationPeriod _calculationPeriod, int idx) addCalculationPeriod(List<? extends CalculationPeriod> calculationPeriods) build()Build Methodsbooleancom.rosetta.model.lib.records.DateThe adjusted payment date.List<? extends CalculationPeriod.CalculationPeriodBuilder> The parameters used in the calculation of a fixed or floating rate calculation period amount.A decimal value representing the discount factor used to calculate the present value of cash flow.A known fixed payment amount.A monetary amount representing the forecast of the future value of the payment.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()getOrCreateCalculationPeriod(int index) com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderA monetary amount representing the present value of the forecast payment.com.rosetta.model.lib.records.DateThe unadjusted payment date.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAdjustedPaymentDate(com.rosetta.model.lib.records.Date _adjustedPaymentDate) setCalculationPeriod(List<? extends CalculationPeriod> calculationPeriods) setDiscountFactor(BigDecimal _discountFactor) setFixedPaymentAmount(Money _fixedPaymentAmount) setForecastPaymentAmount(Money _forecastPaymentAmount) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPresentValueAmount(Money _presentValueAmount) setUnadjustedPaymentDate(com.rosetta.model.lib.records.Date _unadjustedPaymentDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod
getType, metaData, processMethods inherited from interface cdm.product.common.schedule.PaymentCalculationPeriod.PaymentCalculationPeriodBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
unadjustedPaymentDate
protected com.rosetta.model.lib.records.Date unadjustedPaymentDate -
adjustedPaymentDate
protected com.rosetta.model.lib.records.Date adjustedPaymentDate -
calculationPeriod
-
fixedPaymentAmount
-
discountFactor
-
forecastPaymentAmount
-
presentValueAmount
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
PaymentCalculationPeriodBuilderImpl
public PaymentCalculationPeriodBuilderImpl()
-
-
Method Details
-
getUnadjustedPaymentDate
@RosettaAttribute("unadjustedPaymentDate") @RuneAttribute("unadjustedPaymentDate") public com.rosetta.model.lib.records.Date getUnadjustedPaymentDate()Description copied from interface:PaymentCalculationPeriodThe unadjusted payment date.- Specified by:
getUnadjustedPaymentDatein interfacePaymentCalculationPeriod
-
getAdjustedPaymentDate
@RosettaAttribute("adjustedPaymentDate") @RuneAttribute("adjustedPaymentDate") public com.rosetta.model.lib.records.Date getAdjustedPaymentDate()Description copied from interface:PaymentCalculationPeriodThe adjusted payment date. This date should already be adjusted for any applicable business day convention. This component is not intended for use in trade confirmation but may be specified to allow the fee structure to also serve as a cashflow type component.- Specified by:
getAdjustedPaymentDatein interfacePaymentCalculationPeriod
-
getCalculationPeriod
@RosettaAttribute(value="calculationPeriod", isRequired=true) @RuneAttribute(value="calculationPeriod", isRequired=true) public List<? extends CalculationPeriod.CalculationPeriodBuilder> getCalculationPeriod()Description copied from interface:PaymentCalculationPeriodThe parameters used in the calculation of a fixed or floating rate calculation period amount. A list of calculation period elements may be ordered in the document by ascending start date. An FpML document which contains an unordered list of calculation periods is still regarded as a conformant document.- Specified by:
getCalculationPeriodin interfacePaymentCalculationPeriod- Specified by:
getCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getOrCreateCalculationPeriod
- Specified by:
getOrCreateCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getFixedPaymentAmount
@RosettaAttribute("fixedPaymentAmount") @RuneAttribute("fixedPaymentAmount") public Money.MoneyBuilder getFixedPaymentAmount()Description copied from interface:PaymentCalculationPeriodA known fixed payment amount.- Specified by:
getFixedPaymentAmountin interfacePaymentCalculationPeriod- Specified by:
getFixedPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getOrCreateFixedPaymentAmount
- Specified by:
getOrCreateFixedPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public BigDecimal getDiscountFactor()Description copied from interface:PaymentCalculationPeriodA decimal value representing the discount factor used to calculate the present value of cash flow.- Specified by:
getDiscountFactorin interfacePaymentCalculationPeriod
-
getForecastPaymentAmount
@RosettaAttribute("forecastPaymentAmount") @RuneAttribute("forecastPaymentAmount") public Money.MoneyBuilder getForecastPaymentAmount()Description copied from interface:PaymentCalculationPeriodA monetary amount representing the forecast of the future value of the payment.- Specified by:
getForecastPaymentAmountin interfacePaymentCalculationPeriod- Specified by:
getForecastPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getOrCreateForecastPaymentAmount
- Specified by:
getOrCreateForecastPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getPresentValueAmount
@RosettaAttribute("presentValueAmount") @RuneAttribute("presentValueAmount") public Money.MoneyBuilder getPresentValueAmount()Description copied from interface:PaymentCalculationPeriodA monetary amount representing the present value of the forecast payment.- Specified by:
getPresentValueAmountin interfacePaymentCalculationPeriod- Specified by:
getPresentValueAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getOrCreatePresentValueAmount
- Specified by:
getOrCreatePresentValueAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfacePaymentCalculationPeriod- Specified by:
getMetain interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setUnadjustedPaymentDate
@RosettaAttribute("unadjustedPaymentDate") @RuneAttribute("unadjustedPaymentDate") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setUnadjustedPaymentDate(com.rosetta.model.lib.records.Date _unadjustedPaymentDate) - Specified by:
setUnadjustedPaymentDatein interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setAdjustedPaymentDate
@RosettaAttribute("adjustedPaymentDate") @RuneAttribute("adjustedPaymentDate") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setAdjustedPaymentDate(com.rosetta.model.lib.records.Date _adjustedPaymentDate) - Specified by:
setAdjustedPaymentDatein interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
addCalculationPeriod
@RosettaAttribute(value="calculationPeriod", isRequired=true) @RuneAttribute(value="calculationPeriod", isRequired=true) public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder addCalculationPeriod(CalculationPeriod _calculationPeriod) - Specified by:
addCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
addCalculationPeriod
public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder addCalculationPeriod(CalculationPeriod _calculationPeriod, int idx) - Specified by:
addCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
addCalculationPeriod
public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder addCalculationPeriod(List<? extends CalculationPeriod> calculationPeriods) - Specified by:
addCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setCalculationPeriod
@RuneAttribute("calculationPeriod") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setCalculationPeriod(List<? extends CalculationPeriod> calculationPeriods) - Specified by:
setCalculationPeriodin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setFixedPaymentAmount
@RosettaAttribute("fixedPaymentAmount") @RuneAttribute("fixedPaymentAmount") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setFixedPaymentAmount(Money _fixedPaymentAmount) - Specified by:
setFixedPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setDiscountFactor
@RosettaAttribute("discountFactor") @RuneAttribute("discountFactor") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setDiscountFactor(BigDecimal _discountFactor) - Specified by:
setDiscountFactorin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setForecastPaymentAmount
@RosettaAttribute("forecastPaymentAmount") @RuneAttribute("forecastPaymentAmount") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setForecastPaymentAmount(Money _forecastPaymentAmount) - Specified by:
setForecastPaymentAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setPresentValueAmount
@RosettaAttribute("presentValueAmount") @RuneAttribute("presentValueAmount") public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setPresentValueAmount(Money _presentValueAmount) - Specified by:
setPresentValueAmountin interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder
-
build
Description copied from interface:PaymentCalculationPeriodBuild Methods- Specified by:
buildin interfacePaymentCalculationPeriod- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePaymentCalculationPeriod- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfacePaymentCalculationPeriod.PaymentCalculationPeriodBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PaymentCalculationPeriod.PaymentCalculationPeriodBuilder 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
-