Package cdm.product.asset
Class FloatingRateSpecification.FloatingRateSpecificationImpl
java.lang.Object
cdm.product.asset.FloatingRateBase.FloatingRateBaseImpl
cdm.product.asset.FloatingRate.FloatingRateImpl
cdm.product.asset.FloatingRateSpecification.FloatingRateSpecificationImpl
- All Implemented Interfaces:
FloatingRate,FloatingRateBase,FloatingRateSpecification,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
InflationRateSpecification.InflationRateSpecificationImpl
- Enclosing interface:
FloatingRateSpecification
public static class FloatingRateSpecification.FloatingRateSpecificationImpl
extends FloatingRate.FloatingRateImpl
implements FloatingRateSpecification
Immutable Implementation of FloatingRateSpecification
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.FloatingRate
FloatingRate.FloatingRateBuilder, FloatingRate.FloatingRateBuilderImpl, FloatingRate.FloatingRateImplNested classes/interfaces inherited from interface cdm.product.asset.FloatingRateBase
FloatingRateBase.FloatingRateBaseBuilder, FloatingRateBase.FloatingRateBaseBuilderImpl, FloatingRateBase.FloatingRateBaseImplNested classes/interfaces inherited from interface cdm.product.asset.FloatingRateSpecification
FloatingRateSpecification.FloatingRateSpecificationBuilder, FloatingRateSpecification.FloatingRateSpecificationBuilderImpl, FloatingRateSpecification.FloatingRateSpecificationImplNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder -
Field Summary
Fields inherited from interface cdm.product.asset.FloatingRate
metaDataFields inherited from interface cdm.product.asset.FloatingRateBase
metaDataFields inherited from interface cdm.product.asset.FloatingRateSpecification
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanIf averaging is applicable, this component specifies whether a weighted or unweighted average method of calculation is to be used.The rounding convention to apply to the final rate used in determination of a calculation period amount.The initial floating rate reset agreed between the principal parties involved in the trade.The specification of any provisions for calculating payment obligations when a floating rate is negative (either due to a quoted negative floating rate or by operation of a spread that is subtracted from the floating rate).inthashCode()protected voidtoString()Methods inherited from class cdm.product.asset.FloatingRate.FloatingRateImpl
getCalculationParameters, getFallbackRate, getFloatingRateMultiplierSchedule, getRateTreatment, setBuilderFieldsMethods inherited from class cdm.product.asset.FloatingRateBase.FloatingRateBaseImpl
getCapRateSchedule, getFloorRateSchedule, getMeta, getRateOption, getSpreadSchedule, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.FloatingRate
getCalculationParameters, getFallbackRate, getFloatingRateMultiplierSchedule, getRateTreatmentMethods inherited from interface cdm.product.asset.FloatingRateBase
getCapRateSchedule, getFloorRateSchedule, getMeta, getRateOption, getSpreadScheduleMethods inherited from interface cdm.product.asset.FloatingRateSpecification
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
FloatingRateSpecificationImpl
protected FloatingRateSpecificationImpl(FloatingRateSpecification.FloatingRateSpecificationBuilder builder)
-
-
Method Details
-
getInitialRate
Description copied from interface:FloatingRateSpecificationThe initial floating rate reset agreed between the principal parties involved in the trade. This is assumed to be the first required reset rate for the first regular calculation period. It should only be included when the rate is not equal to the rate published on the source implied by the floating rate index. An initial rate of 5% would be represented as 0.05.- Specified by:
getInitialRatein interfaceFloatingRateSpecification
-
getFinalRateRounding
@RosettaAttribute("finalRateRounding") @RuneAttribute("finalRateRounding") public Rounding getFinalRateRounding()Description copied from interface:FloatingRateSpecificationThe rounding convention to apply to the final rate used in determination of a calculation period amount.- Specified by:
getFinalRateRoundingin interfaceFloatingRateSpecification
-
getAveragingMethod
@RosettaAttribute("averagingMethod") @RuneAttribute("averagingMethod") public AveragingWeightingMethodEnum getAveragingMethod()Description copied from interface:FloatingRateSpecificationIf averaging is applicable, this component specifies whether a weighted or unweighted average method of calculation is to be used. The component must only be included when averaging applies.- Specified by:
getAveragingMethodin interfaceFloatingRateSpecification
-
getNegativeInterestRateTreatment
@RosettaAttribute("negativeInterestRateTreatment") @RuneAttribute("negativeInterestRateTreatment") public NegativeInterestRateTreatmentEnum getNegativeInterestRateTreatment()Description copied from interface:FloatingRateSpecificationThe specification of any provisions for calculating payment obligations when a floating rate is negative (either due to a quoted negative floating rate or by operation of a spread that is subtracted from the floating rate).- Specified by:
getNegativeInterestRateTreatmentin interfaceFloatingRateSpecification
-
build
Description copied from interface:FloatingRateBaseBuild Methods- Specified by:
buildin interfaceFloatingRate- Specified by:
buildin interfaceFloatingRateBase- Specified by:
buildin interfaceFloatingRateSpecification- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classFloatingRate.FloatingRateImpl
-
toBuilder
- Specified by:
toBuilderin interfaceFloatingRate- Specified by:
toBuilderin interfaceFloatingRateBase- Specified by:
toBuilderin interfaceFloatingRateSpecification- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classFloatingRate.FloatingRateImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classFloatingRate.FloatingRateImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classFloatingRate.FloatingRateImpl
-
toString
- Overrides:
toStringin classFloatingRate.FloatingRateImpl
-