Class PnLStartIndexTranslator
- java.lang.Object
-
- com.quartetfs.fwk.types.impl.PluginValue
-
- com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,C>
-
- com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLStartIndex>
-
- com.activeviam.risk.core.context.impl.PnLStartIndexTranslator
-
- All Implemented Interfaces:
com.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLStartIndex>
,com.quartetfs.fwk.types.IPluginValue
,Serializable
@QuartetPluginValue(intf=com.quartetfs.biz.pivot.context.IContextValueTranslator.class) public class PnLStartIndexTranslator extends com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLStartIndex>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PnLStartIndexTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IPnLStartIndex
createInstance(Integer content)
Map<String,String>
getAvailableProperties()
protected Integer
getContent(IPnLStartIndex instance)
Class<IPnLStartIndex>
getContextInterface()
String
key()
protected Integer
parse(String property)
void
setEnv(org.springframework.core.env.Environment env)
-
Methods inherited from class com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator
format
-
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
-
setEnv
public void setEnv(org.springframework.core.env.Environment env)
-
getContextInterface
public Class<IPnLStartIndex> getContextInterface()
-
key
public String key()
-
createInstance
protected IPnLStartIndex createInstance(Integer content)
- Specified by:
createInstance
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,IPnLStartIndex>
-
getContent
protected Integer getContent(IPnLStartIndex instance)
- Specified by:
getContent
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,IPnLStartIndex>
-
getAvailableProperties
public Map<String,String> getAvailableProperties()
- Specified by:
getAvailableProperties
in interfacecom.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLStartIndex>
- Overrides:
getAvailableProperties
in classcom.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLStartIndex>
-
parse
protected Integer parse(String property) throws com.quartetfs.biz.pivot.context.ContextValueTranslationException
- Overrides:
parse
in classcom.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLStartIndex>
- Throws:
com.quartetfs.biz.pivot.context.ContextValueTranslationException
-
-