Package cdm.observable.asset
Class BondPriceAndYieldModel.BondPriceAndYieldModelImpl
java.lang.Object
cdm.observable.asset.BondPriceAndYieldModel.BondPriceAndYieldModelImpl
- All Implemented Interfaces:
BondPriceAndYieldModel,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
BondPriceAndYieldModel
public static class BondPriceAndYieldModel.BondPriceAndYieldModelImpl
extends Object
implements BondPriceAndYieldModel
Immutable Implementation of BondPriceAndYieldModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.BondPriceAndYieldModel
BondPriceAndYieldModel.BondPriceAndYieldModelBuilder, BondPriceAndYieldModel.BondPriceAndYieldModelBuilderImpl, BondPriceAndYieldModel.BondPriceAndYieldModelImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.BondPriceAndYieldModel
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanBond all-in-price which is a price that includes all relevant price adjustments (i.e. accrued interest, haircut or margin ratio, inflation factor,etc.).Either the clean or dirty price of the bond.The inflation factor is specified for inflation-linked products which require some additional elements to calculate prices correctly.Bond price relative to a Benchmark.Price specified as a yield to maturity.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.BondPriceAndYieldModel
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
BondPriceAndYieldModelImpl
-
-
Method Details
-
getCleanOrDirtyPrice
@RosettaAttribute("cleanOrDirtyPrice") @RuneAttribute("cleanOrDirtyPrice") public CleanOrDirtyPrice getCleanOrDirtyPrice()Description copied from interface:BondPriceAndYieldModelEither the clean or dirty price of the bond.- Specified by:
getCleanOrDirtyPricein interfaceBondPriceAndYieldModel
-
getRelativePrice
@RosettaAttribute("relativePrice") @RuneAttribute("relativePrice") public RelativePrice getRelativePrice()Description copied from interface:BondPriceAndYieldModelBond price relative to a Benchmark.- Specified by:
getRelativePricein interfaceBondPriceAndYieldModel
-
getYieldToMaturity
@RosettaAttribute("yieldToMaturity") @RuneAttribute("yieldToMaturity") public BigDecimal getYieldToMaturity()Description copied from interface:BondPriceAndYieldModelPrice specified as a yield to maturity.- Specified by:
getYieldToMaturityin interfaceBondPriceAndYieldModel
-
getInflationFactor
@RosettaAttribute("inflationFactor") @RuneAttribute("inflationFactor") public BigDecimal getInflationFactor()Description copied from interface:BondPriceAndYieldModelThe inflation factor is specified for inflation-linked products which require some additional elements to calculate prices correctly.- Specified by:
getInflationFactorin interfaceBondPriceAndYieldModel
-
getAllInPrice
Description copied from interface:BondPriceAndYieldModelBond all-in-price which is a price that includes all relevant price adjustments (i.e. accrued interest, haircut or margin ratio, inflation factor,etc.). It expresses a price in terms of percentage of nominal amount.- Specified by:
getAllInPricein interfaceBondPriceAndYieldModel
-
build
Description copied from interface:BondPriceAndYieldModelBuild Methods- Specified by:
buildin interfaceBondPriceAndYieldModel- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBondPriceAndYieldModel- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-