Package cdm.product.template
Class FxFeature.FxFeatureImpl
java.lang.Object
cdm.product.template.FxFeature.FxFeatureImpl
- All Implemented Interfaces:
FxFeature,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
FxFeature
Immutable Implementation of FxFeature
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.FxFeature
FxFeature.FxFeatureBuilder, FxFeature.FxFeatureBuilderImpl, FxFeature.FxFeatureImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanIf 'Composite' is specified as the Settlement Type in the relevant Transaction Supplement, an amount in the Settlement Currency, determined by the Calculation Agent as being equal to the number of Options exercised or deemed exercised, multiplied by: (Settlement Price – Strike Price) / (Strike Price – Settlement Price) x Multiplier provided that if the above is equal to a negative amount the Option Cash Settlement Amount shall be deemed to be zero.If 'Cross-Currency' is specified as the Settlement Type in the relevant Transaction Supplement, an amount in the Settlement Currency, determined by the Calculation Agent as being equal to the number of Options exercised or deemed exercised, multiplied by: (Settlement Price – Strike Price) / (Strike Price – Settlement Price) x Multiplier x one unit of the Reference Currency converted into an amount in the Settlement Currency using the rate of exchange of the Settlement Currency as quoted on the Reference Price Source on the Valuation Date, provided that if the above is equal to a negative amount the Option Cash Settlement Amount shall be deemed to be zero.If 'Quanto' is specified as the Settlement Type in the relevant Transaction Supplement, an amount, as determined by the Calculation Agent in accordance with the Section 8.2 of the Equity Definitions.Specifies the reference currency of the trade.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
-
FxFeatureImpl
-
-
Method Details
-
getReferenceCurrency
@RosettaAttribute(value="referenceCurrency", isRequired=true) @RuneAttribute(value="referenceCurrency", isRequired=true) public FieldWithMetaString getReferenceCurrency()Description copied from interface:FxFeatureSpecifies the reference currency of the trade.- Specified by:
getReferenceCurrencyin interfaceFxFeature
-
getComposite
Description copied from interface:FxFeatureIf 'Composite' is specified as the Settlement Type in the relevant Transaction Supplement, an amount in the Settlement Currency, determined by the Calculation Agent as being equal to the number of Options exercised or deemed exercised, multiplied by: (Settlement Price – Strike Price) / (Strike Price – Settlement Price) x Multiplier provided that if the above is equal to a negative amount the Option Cash Settlement Amount shall be deemed to be zero.- Specified by:
getCompositein interfaceFxFeature
-
getQuanto
Description copied from interface:FxFeatureIf 'Quanto' is specified as the Settlement Type in the relevant Transaction Supplement, an amount, as determined by the Calculation Agent in accordance with the Section 8.2 of the Equity Definitions. -
getCrossCurrency
@RosettaAttribute("crossCurrency") @RuneAttribute("crossCurrency") public Composite getCrossCurrency()Description copied from interface:FxFeatureIf 'Cross-Currency' is specified as the Settlement Type in the relevant Transaction Supplement, an amount in the Settlement Currency, determined by the Calculation Agent as being equal to the number of Options exercised or deemed exercised, multiplied by: (Settlement Price – Strike Price) / (Strike Price – Settlement Price) x Multiplier x one unit of the Reference Currency converted into an amount in the Settlement Currency using the rate of exchange of the Settlement Currency as quoted on the Reference Price Source on the Valuation Date, provided that if the above is equal to a negative amount the Option Cash Settlement Amount shall be deemed to be zero.- Specified by:
getCrossCurrencyin interfaceFxFeature
-
build
Description copied from interface:FxFeatureBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-