Package cdm.product.asset
Class FutureValueAmount.FutureValueAmountBuilderImpl
java.lang.Object
cdm.product.asset.FutureValueAmount.FutureValueAmountBuilderImpl
- All Implemented Interfaces:
FutureValueAmount,FutureValueAmount.FutureValueAmountBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
FutureValueAmount
public static class FutureValueAmount.FutureValueAmountBuilderImpl
extends Object
implements FutureValueAmount.FutureValueAmountBuilder
Builder Implementation of FutureValueAmount
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.FutureValueAmount
FutureValueAmount.FutureValueAmountBuilder, FutureValueAmount.FutureValueAmountBuilderImpl, FutureValueAmount.FutureValueAmountImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integerprotected ReferenceWithMetaNonNegativeQuantitySchedule.ReferenceWithMetaNonNegativeQuantityScheduleBuilderprotected com.rosetta.model.lib.records.DateFields inherited from interface cdm.product.asset.FutureValueAmount
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe number of days from the adjusted calculation period start date to the adjusted value date, calculated in accordance with the applicable day count fraction.The currency in which the an amount is denominated.Getter Methodscom.rosetta.model.lib.records.DateAdjusted value date of the future value amount.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCalculationPeriodNumberOfDays(Integer _calculationPeriodNumberOfDays) setCurrency(FieldWithMetaString _currency) setCurrencyValue(String _currency) setQuantityValue(NonNegativeQuantitySchedule _quantity) setValueDate(com.rosetta.model.lib.records.Date _valueDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.FutureValueAmount
getType, metaData, processMethods inherited from interface cdm.product.asset.FutureValueAmount.FutureValueAmountBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
quantity
-
currency
-
calculationPeriodNumberOfDays
-
valueDate
protected com.rosetta.model.lib.records.Date valueDate
-
-
Constructor Details
-
FutureValueAmountBuilderImpl
public FutureValueAmountBuilderImpl()
-
-
Method Details
-
getQuantity
@RosettaAttribute("quantity") @RuneAttribute("quantity") @RuneScopedAttributeReference public ReferenceWithMetaNonNegativeQuantitySchedule.ReferenceWithMetaNonNegativeQuantityScheduleBuilder getQuantity()Description copied from interface:FutureValueAmountGetter Methods- Specified by:
getQuantityin interfaceFutureValueAmount- Specified by:
getQuantityin interfaceFutureValueAmount.FutureValueAmountBuilder
-
getOrCreateQuantity
public ReferenceWithMetaNonNegativeQuantitySchedule.ReferenceWithMetaNonNegativeQuantityScheduleBuilder getOrCreateQuantity()- Specified by:
getOrCreateQuantityin interfaceFutureValueAmount.FutureValueAmountBuilder
-
getCurrency
@RosettaAttribute(value="currency", isRequired=true) @RuneAttribute(value="currency", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getCurrency()Description copied from interface:FutureValueAmountThe currency in which the an amount is denominated. The list of valid currencies is not presently positioned as an enumeration as part of the CDM because that scope is limited to the values specified by ISDA and FpML. As a result, implementers have to make reference to the relevant standard, such as the ISO 4217 standard for currency codes.- Specified by:
getCurrencyin interfaceFutureValueAmount- Specified by:
getCurrencyin interfaceFutureValueAmount.FutureValueAmountBuilder
-
getOrCreateCurrency
- Specified by:
getOrCreateCurrencyin interfaceFutureValueAmount.FutureValueAmountBuilder
-
getCalculationPeriodNumberOfDays
@RosettaAttribute(value="calculationPeriodNumberOfDays", isRequired=true) @RuneAttribute(value="calculationPeriodNumberOfDays", isRequired=true) public Integer getCalculationPeriodNumberOfDays()Description copied from interface:FutureValueAmountThe number of days from the adjusted calculation period start date to the adjusted value date, calculated in accordance with the applicable day count fraction.- Specified by:
getCalculationPeriodNumberOfDaysin interfaceFutureValueAmount
-
getValueDate
@RosettaAttribute(value="valueDate", isRequired=true) @RuneAttribute(value="valueDate", isRequired=true) public com.rosetta.model.lib.records.Date getValueDate()Description copied from interface:FutureValueAmountAdjusted value date of the future value amount.- Specified by:
getValueDatein interfaceFutureValueAmount
-
setQuantity
@RosettaAttribute("quantity") @RuneAttribute("quantity") @RuneScopedAttributeReference public FutureValueAmount.FutureValueAmountBuilder setQuantity(ReferenceWithMetaNonNegativeQuantitySchedule _quantity) - Specified by:
setQuantityin interfaceFutureValueAmount.FutureValueAmountBuilder
-
setQuantityValue
public FutureValueAmount.FutureValueAmountBuilder setQuantityValue(NonNegativeQuantitySchedule _quantity) - Specified by:
setQuantityValuein interfaceFutureValueAmount.FutureValueAmountBuilder
-
setCurrency
@RosettaAttribute(value="currency", isRequired=true) @RuneAttribute(value="currency", isRequired=true) public FutureValueAmount.FutureValueAmountBuilder setCurrency(FieldWithMetaString _currency) - Specified by:
setCurrencyin interfaceFutureValueAmount.FutureValueAmountBuilder
-
setCurrencyValue
- Specified by:
setCurrencyValuein interfaceFutureValueAmount.FutureValueAmountBuilder
-
setCalculationPeriodNumberOfDays
@RosettaAttribute(value="calculationPeriodNumberOfDays", isRequired=true) @RuneAttribute(value="calculationPeriodNumberOfDays", isRequired=true) public FutureValueAmount.FutureValueAmountBuilder setCalculationPeriodNumberOfDays(Integer _calculationPeriodNumberOfDays) - Specified by:
setCalculationPeriodNumberOfDaysin interfaceFutureValueAmount.FutureValueAmountBuilder
-
setValueDate
@RosettaAttribute(value="valueDate", isRequired=true) @RuneAttribute(value="valueDate", isRequired=true) public FutureValueAmount.FutureValueAmountBuilder setValueDate(com.rosetta.model.lib.records.Date _valueDate) - Specified by:
setValueDatein interfaceFutureValueAmount.FutureValueAmountBuilder
-
build
Description copied from interface:FutureValueAmountBuild Methods- Specified by:
buildin interfaceFutureValueAmount- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceFutureValueAmount- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceFutureValueAmount.FutureValueAmountBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public FutureValueAmount.FutureValueAmountBuilder 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
-