Package cdm.product.template
Class FxFeature.FxFeatureBuilderImpl
java.lang.Object
cdm.product.template.FxFeature.FxFeatureBuilderImpl
- All Implemented Interfaces:
FxFeature,FxFeature.FxFeatureBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
FxFeature
public static class FxFeature.FxFeatureBuilderImpl
extends Object
implements FxFeature.FxFeatureBuilder
Builder Implementation of FxFeature
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.FxFeature
FxFeature.FxFeatureBuilder, FxFeature.FxFeatureBuilderImpl, FxFeature.FxFeatureImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Composite.CompositeBuilderprotected Composite.CompositeBuilderprotected Quanto.QuantoBuilder -
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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setComposite(Composite _composite) setCrossCurrency(Composite _crossCurrency) setReferenceCurrency(FieldWithMetaString _referenceCurrency) setReferenceCurrencyValue(String _referenceCurrency) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.template.FxFeature.FxFeatureBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
referenceCurrency
-
composite
-
quanto
-
crossCurrency
-
-
Constructor Details
-
FxFeatureBuilderImpl
public FxFeatureBuilderImpl()
-
-
Method Details
-
getReferenceCurrency
@RosettaAttribute(value="referenceCurrency", isRequired=true) @RuneAttribute(value="referenceCurrency", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getReferenceCurrency()Description copied from interface:FxFeatureSpecifies the reference currency of the trade.- Specified by:
getReferenceCurrencyin interfaceFxFeature- Specified by:
getReferenceCurrencyin interfaceFxFeature.FxFeatureBuilder
-
getOrCreateReferenceCurrency
- Specified by:
getOrCreateReferenceCurrencyin interfaceFxFeature.FxFeatureBuilder
-
getComposite
@RosettaAttribute("composite") @RuneAttribute("composite") public Composite.CompositeBuilder 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- Specified by:
getCompositein interfaceFxFeature.FxFeatureBuilder
-
getOrCreateComposite
- Specified by:
getOrCreateCompositein interfaceFxFeature.FxFeatureBuilder
-
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.- Specified by:
getQuantoin interfaceFxFeature- Specified by:
getQuantoin interfaceFxFeature.FxFeatureBuilder
-
getOrCreateQuanto
- Specified by:
getOrCreateQuantoin interfaceFxFeature.FxFeatureBuilder
-
getCrossCurrency
@RosettaAttribute("crossCurrency") @RuneAttribute("crossCurrency") public Composite.CompositeBuilder 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- Specified by:
getCrossCurrencyin interfaceFxFeature.FxFeatureBuilder
-
getOrCreateCrossCurrency
- Specified by:
getOrCreateCrossCurrencyin interfaceFxFeature.FxFeatureBuilder
-
setReferenceCurrency
@RosettaAttribute(value="referenceCurrency", isRequired=true) @RuneAttribute(value="referenceCurrency", isRequired=true) public FxFeature.FxFeatureBuilder setReferenceCurrency(FieldWithMetaString _referenceCurrency) - Specified by:
setReferenceCurrencyin interfaceFxFeature.FxFeatureBuilder
-
setReferenceCurrencyValue
- Specified by:
setReferenceCurrencyValuein interfaceFxFeature.FxFeatureBuilder
-
setComposite
@RosettaAttribute("composite") @RuneAttribute("composite") public FxFeature.FxFeatureBuilder setComposite(Composite _composite) - Specified by:
setCompositein interfaceFxFeature.FxFeatureBuilder
-
setQuanto
@RosettaAttribute("quanto") @RuneAttribute("quanto") public FxFeature.FxFeatureBuilder setQuanto(Quanto _quanto) - Specified by:
setQuantoin interfaceFxFeature.FxFeatureBuilder
-
setCrossCurrency
@RosettaAttribute("crossCurrency") @RuneAttribute("crossCurrency") public FxFeature.FxFeatureBuilder setCrossCurrency(Composite _crossCurrency) - Specified by:
setCrossCurrencyin interfaceFxFeature.FxFeatureBuilder
-
build
Description copied from interface:FxFeatureBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceFxFeature.FxFeatureBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public FxFeature.FxFeatureBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-