Class WeightedVaRLambdaTranslator
- java.lang.Object
-
- com.quartetfs.fwk.types.impl.PluginValue
-
- com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Double,C>
-
- com.quartetfs.biz.pivot.context.impl.DoubleContextValueTranslator<IWeightedVaRLambda>
-
- com.activeviam.risk.core.context.impl.WeightedVaRLambdaTranslator
-
- All Implemented Interfaces:
com.quartetfs.biz.pivot.context.IContextValueTranslator<IWeightedVaRLambda>
,com.quartetfs.fwk.types.IPluginValue
,Serializable
@QuartetPluginValue(intf=com.quartetfs.biz.pivot.context.IContextValueTranslator.class) public class WeightedVaRLambdaTranslator extends com.quartetfs.biz.pivot.context.impl.DoubleContextValueTranslator<IWeightedVaRLambda>
Context value translator for weighted VaR lambda value. As a plugin value it is automatically registered with the other available context value translators.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeightedVaRLambdaTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IWeightedVaRLambda
createInstance(Double content)
Map<String,String>
getAvailableProperties()
protected Double
getContent(IWeightedVaRLambda instance)
Class<IWeightedVaRLambda>
getContextInterface()
String
key()
-
Methods inherited from class com.quartetfs.biz.pivot.context.impl.DoubleContextValueTranslator
format, parse
-
Methods inherited from class com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator
clear, decode, description, encode
-
Methods inherited from class com.quartetfs.fwk.types.impl.PluginValue
equals, getName, getPlugin, hashCode, setName, setPlugin, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContextInterface
public Class<IWeightedVaRLambda> getContextInterface()
-
key
public String key()
-
createInstance
protected IWeightedVaRLambda createInstance(Double content)
- Specified by:
createInstance
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Double,IWeightedVaRLambda>
-
getContent
protected Double getContent(IWeightedVaRLambda instance)
- Specified by:
getContent
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Double,IWeightedVaRLambda>
-
getAvailableProperties
public Map<String,String> getAvailableProperties()
- Specified by:
getAvailableProperties
in interfacecom.quartetfs.biz.pivot.context.IContextValueTranslator<IWeightedVaRLambda>
- Overrides:
getAvailableProperties
in classcom.quartetfs.biz.pivot.context.impl.DoubleContextValueTranslator<IWeightedVaRLambda>
-
-