Package cdm.product.asset
Class StubValue.StubValueImpl
java.lang.Object
cdm.product.asset.StubValue.StubValueImpl
- All Implemented Interfaces:
StubValue,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
StubValue
Immutable Implementation of StubValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.StubValue
StubValue.StubValueBuilder, StubValue.StubValueBuilderImpl, StubValue.StubValueImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanList<? extends StubFloatingRate> The rates to be applied to the initial or final stub may be the linear interpolation of two different rates.An actual amount to apply for the initial or final stub period may have been agreed between the two parties.An actual rate to apply for the initial or final stub period may have been agreed between the principal parties (in a similar way to how an initial rate may have been agreed for the first regular period).inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
StubValueImpl
-
-
Method Details
-
getFloatingRate
@RosettaAttribute("floatingRate") @RuneAttribute("floatingRate") public List<? extends StubFloatingRate> getFloatingRate()Description copied from interface:StubValueThe rates to be applied to the initial or final stub may be the linear interpolation of two different rates. While the majority of the time, the rate indices will be the same as that specified in the stream and only the tenor itself will be different, it is possible to specift two different rates. For example, a 2 month stub period may use the linear interpolation of a 1 month and 3 month rate. The different rates would be specified in this component. Note that a maximum of two rates can be specified. If a stub period uses the same floating rate index, including tenor, as the regular calculation periods then this should not be specified again within this component, i.e. the stub calculation period amount component may not need to be specified even if there is an initial or final stub period. If a stub period uses a different floating rate index compared to the regular calculation periods then this should be specified within this component. If specified here, they are likely to have id attributes, allowing them to be referenced from within the cashflows component.- Specified by:
getFloatingRatein interfaceStubValue
-
getStubRate
Description copied from interface:StubValueAn actual rate to apply for the initial or final stub period may have been agreed between the principal parties (in a similar way to how an initial rate may have been agreed for the first regular period). If an actual stub rate has been agreed then it would be included in this component. It will be a per annum rate, expressed as a decimal. A stub rate of 5% would be represented as 0.05.- Specified by:
getStubRatein interfaceStubValue
-
getStubAmount
Description copied from interface:StubValueAn actual amount to apply for the initial or final stub period may have been agreed between the two parties. If an actual stub amount has been agreed then it would be included in this component.- Specified by:
getStubAmountin interfaceStubValue
-
build
Description copied from interface:StubValueBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-