Package cdm.observable.asset
Class BondValuationModel.BondValuationModelBuilderImpl
java.lang.Object
cdm.observable.asset.BondValuationModel.BondValuationModelBuilderImpl
- All Implemented Interfaces:
BondValuationModel,BondValuationModel.BondValuationModelBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
BondValuationModel
public static class BondValuationModel.BondValuationModelBuilderImpl
extends Object
implements BondValuationModel.BondValuationModelBuilder
Builder Implementation of BondValuationModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.BondValuationModel
BondValuationModel.BondValuationModelBuilder, BondValuationModel.BondValuationModelBuilderImpl, BondValuationModel.BondValuationModelImpl -
Field Summary
FieldsFields inherited from interface cdm.observable.asset.BondValuationModel
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAccruals amount for the bond in the security legPrice and yield model for valuing a bond security leg.The quantity of the underlier expressed as a nominal amount.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAccrualsAmount(Money _accrualsAmount) setBondPriceAndYieldModel(BondPriceAndYieldModel _bondPriceAndYieldModel) setNominalAmount(Money _nominalAmount) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.BondValuationModel
getType, metaData, processMethods inherited from interface cdm.observable.asset.BondValuationModel.BondValuationModelBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
nominalAmount
-
bondPriceAndYieldModel
-
accrualsAmount
-
-
Constructor Details
-
BondValuationModelBuilderImpl
public BondValuationModelBuilderImpl()
-
-
Method Details
-
getNominalAmount
@RosettaAttribute(value="nominalAmount", isRequired=true) @RuneAttribute(value="nominalAmount", isRequired=true) public Money.MoneyBuilder getNominalAmount()Description copied from interface:BondValuationModelThe quantity of the underlier expressed as a nominal amount.- Specified by:
getNominalAmountin interfaceBondValuationModel- Specified by:
getNominalAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
getOrCreateNominalAmount
- Specified by:
getOrCreateNominalAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
getBondPriceAndYieldModel
@RosettaAttribute(value="bondPriceAndYieldModel", isRequired=true) @RuneAttribute(value="bondPriceAndYieldModel", isRequired=true) public BondPriceAndYieldModel.BondPriceAndYieldModelBuilder getBondPriceAndYieldModel()Description copied from interface:BondValuationModelPrice and yield model for valuing a bond security leg.- Specified by:
getBondPriceAndYieldModelin interfaceBondValuationModel- Specified by:
getBondPriceAndYieldModelin interfaceBondValuationModel.BondValuationModelBuilder
-
getOrCreateBondPriceAndYieldModel
- Specified by:
getOrCreateBondPriceAndYieldModelin interfaceBondValuationModel.BondValuationModelBuilder
-
getAccrualsAmount
@RosettaAttribute("accrualsAmount") @RuneAttribute("accrualsAmount") public Money.MoneyBuilder getAccrualsAmount()Description copied from interface:BondValuationModelAccruals amount for the bond in the security leg- Specified by:
getAccrualsAmountin interfaceBondValuationModel- Specified by:
getAccrualsAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
getOrCreateAccrualsAmount
- Specified by:
getOrCreateAccrualsAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
setNominalAmount
@RosettaAttribute(value="nominalAmount", isRequired=true) @RuneAttribute(value="nominalAmount", isRequired=true) public BondValuationModel.BondValuationModelBuilder setNominalAmount(Money _nominalAmount) - Specified by:
setNominalAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
setBondPriceAndYieldModel
@RosettaAttribute(value="bondPriceAndYieldModel", isRequired=true) @RuneAttribute(value="bondPriceAndYieldModel", isRequired=true) public BondValuationModel.BondValuationModelBuilder setBondPriceAndYieldModel(BondPriceAndYieldModel _bondPriceAndYieldModel) - Specified by:
setBondPriceAndYieldModelin interfaceBondValuationModel.BondValuationModelBuilder
-
setAccrualsAmount
@RosettaAttribute("accrualsAmount") @RuneAttribute("accrualsAmount") public BondValuationModel.BondValuationModelBuilder setAccrualsAmount(Money _accrualsAmount) - Specified by:
setAccrualsAmountin interfaceBondValuationModel.BondValuationModelBuilder
-
build
Description copied from interface:BondValuationModelBuild Methods- Specified by:
buildin interfaceBondValuationModel- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBondValuationModel- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceBondValuationModel.BondValuationModelBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public BondValuationModel.BondValuationModelBuilder 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
-