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