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