Class DynamicMoneynessSetsTranslator
- java.lang.Object
-
- com.quartetfs.fwk.types.impl.PluginValue
-
- com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
-
- com.activeviam.risk.core.context.impl.DynamicMoneynessSetsTranslator
-
- All Implemented Interfaces:
com.quartetfs.biz.pivot.context.IContextValueTranslator<IDynamicMoneynessSets>
,com.quartetfs.fwk.types.IPluginValue
,Serializable
@QuartetPluginValue(intf=com.quartetfs.biz.pivot.context.IContextValueTranslator.class) public class DynamicMoneynessSetsTranslator extends com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
Context value translator for dynamic maturity sets. As a plugin value it is automatically registered with the other available context value translators.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY
Translator keyprotected Set<String>
moneynessSets
-
Constructor Summary
Constructors Constructor Description DynamicMoneynessSetsTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IDynamicMoneynessSets
createInstance(String content)
protected String
format(String content)
Map<String,String>
getAvailableProperties()
protected String
getContent(IDynamicMoneynessSets instance)
Class<IDynamicMoneynessSets>
getContextInterface()
String
key()
protected String
parse(String property)
void
setMoneynessSets(String propertyMaturitySets)
-
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
Translator key- See Also:
- Constant Field Values
-
-
Method Detail
-
setMoneynessSets
public void setMoneynessSets(String propertyMaturitySets)
-
getContextInterface
public Class<IDynamicMoneynessSets> getContextInterface()
-
key
public String key()
-
createInstance
protected IDynamicMoneynessSets createInstance(String content)
- Specified by:
createInstance
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
-
getContent
protected String getContent(IDynamicMoneynessSets instance)
- Specified by:
getContent
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
-
format
protected String format(String content)
- Specified by:
format
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
-
parse
protected String parse(String property) throws com.quartetfs.biz.pivot.context.ContextValueTranslationException
- Specified by:
parse
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,IDynamicMoneynessSets>
- Throws:
com.quartetfs.biz.pivot.context.ContextValueTranslationException
-
-