Package cdm.product.asset
Class FloatingRateDefinition.FloatingRateDefinitionImpl
java.lang.Object
cdm.product.asset.FloatingRateDefinition.FloatingRateDefinitionImpl
- All Implemented Interfaces:
FloatingRateDefinition,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
FloatingRateDefinition
public static class FloatingRateDefinition.FloatingRateDefinitionImpl
extends Object
implements FloatingRateDefinition
Immutable Implementation of FloatingRateDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.FloatingRateDefinition
FloatingRateDefinition.FloatingRateDefinitionBuilder, FloatingRateDefinition.FloatingRateDefinitionBuilderImpl, FloatingRateDefinition.FloatingRateDefinitionImpl -
Field Summary
Fields inherited from interface cdm.product.asset.FloatingRateDefinition
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe final calculated rate for a calculation period after any required averaging of rates A calculated rate of 5% would be represented as 0.05.The cap rate, if any, which applies to the floating rate for the calculation period.A rate multiplier to apply to the floating rate.The floor rate, if any, which applies to the floating rate for the calculation period.List<? extends RateObservation> The details of a particular rate observation, including the fixing date and observed rate.The ISDA Spread, if any, which applies for the calculation period.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.FloatingRateDefinition
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
FloatingRateDefinitionImpl
-
-
Method Details
-
getCalculatedRate
@RosettaAttribute("calculatedRate") @RuneAttribute("calculatedRate") public BigDecimal getCalculatedRate()Description copied from interface:FloatingRateDefinitionThe final calculated rate for a calculation period after any required averaging of rates A calculated rate of 5% would be represented as 0.05.- Specified by:
getCalculatedRatein interfaceFloatingRateDefinition
-
getRateObservation
@RosettaAttribute("rateObservation") @RuneAttribute("rateObservation") public List<? extends RateObservation> getRateObservation()Description copied from interface:FloatingRateDefinitionThe details of a particular rate observation, including the fixing date and observed rate. A list of rate observation elements may be ordered in the document by ascending adjusted fixing date. An FpML document containing an unordered list of rate observations is still regarded as a conformant document.- Specified by:
getRateObservationin interfaceFloatingRateDefinition
-
getFloatingRateMultiplier
@RosettaAttribute("floatingRateMultiplier") @RuneAttribute("floatingRateMultiplier") public BigDecimal getFloatingRateMultiplier()Description copied from interface:FloatingRateDefinitionA rate multiplier to apply to the floating rate. The multiplier can be a positive or negative decimal. This element should only be included if the multiplier is not equal to 1 (one).- Specified by:
getFloatingRateMultiplierin interfaceFloatingRateDefinition
-
getSpread
Description copied from interface:FloatingRateDefinitionThe ISDA Spread, if any, which applies for the calculation period. The spread is a per annum rate, expressed as a decimal. For purposes of determining a calculation period amount, if positive the spread will be added to the floating rate and if negative the spread will be subtracted from the floating rate. A positive 10 basis point (0.1%) spread would be represented as 0.001.- Specified by:
getSpreadin interfaceFloatingRateDefinition
-
getCapRate
Description copied from interface:FloatingRateDefinitionThe cap rate, if any, which applies to the floating rate for the calculation period. The cap rate (strike) is only required where the floating rate on a swap stream is capped at a certain strike level. The cap rate is assumed to be exclusive of any spread and is a per annum rate, expressed as a decimal. A cap rate of 5% would be represented as 0.05.- Specified by:
getCapRatein interfaceFloatingRateDefinition
-
getFloorRate
@RosettaAttribute("floorRate") @RuneAttribute("floorRate") public List<? extends Strike> getFloorRate()Description copied from interface:FloatingRateDefinitionThe floor rate, if any, which applies to the floating rate for the calculation period. The floor rate (strike) is only required where the floating rate on a swap stream is floored at a certain strike level. The floor rate is assumed to be exclusive of any spread and is a per annum rate, expressed as a decimal. The floor rate of 5% would be represented as 0.05.- Specified by:
getFloorRatein interfaceFloatingRateDefinition
-
build
Description copied from interface:FloatingRateDefinitionBuild Methods- Specified by:
buildin interfaceFloatingRateDefinition- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceFloatingRateDefinition- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-