Package cdm.observable.asset
Class PremiumExpression.PremiumExpressionImpl
java.lang.Object
cdm.observable.asset.PremiumExpression.PremiumExpressionImpl
- All Implemented Interfaces:
PremiumExpression,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PremiumExpression
public static class PremiumExpression.PremiumExpressionImpl
extends Object
implements PremiumExpression
Immutable Implementation of PremiumExpression
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.PremiumExpression
PremiumExpression.PremiumExpressionBuilder, PremiumExpression.PremiumExpressionBuilderImpl, PremiumExpression.PremiumExpressionImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.PremiumExpression
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe amount of premium to be paid expressed as a percentage of the notional value of the transaction.Forward start premium typeThe amount of premium to be paid expressed as a function of the number of options.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.PremiumExpression
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PremiumExpressionImpl
-
-
Method Details
-
getPremiumType
@RosettaAttribute("premiumType") @RuneAttribute("premiumType") public PremiumTypeEnum getPremiumType()Description copied from interface:PremiumExpressionForward start premium type- Specified by:
getPremiumTypein interfacePremiumExpression
-
getPricePerOption
@RosettaAttribute("pricePerOption") @RuneAttribute("pricePerOption") public Money getPricePerOption()Description copied from interface:PremiumExpressionThe amount of premium to be paid expressed as a function of the number of options.- Specified by:
getPricePerOptionin interfacePremiumExpression
-
getPercentageOfNotional
@RosettaAttribute("percentageOfNotional") @RuneAttribute("percentageOfNotional") public BigDecimal getPercentageOfNotional()Description copied from interface:PremiumExpressionThe amount of premium to be paid expressed as a percentage of the notional value of the transaction. A percentage of 5% would be expressed as 0.05.- Specified by:
getPercentageOfNotionalin interfacePremiumExpression
-
build
Description copied from interface:PremiumExpressionBuild Methods- Specified by:
buildin interfacePremiumExpression- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePremiumExpression- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-