Class PnLEndIndexTranslator
- 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<IPnLEndIndex>
-
- com.activeviam.risk.core.context.impl.PnLEndIndexTranslator
-
- All Implemented Interfaces:
ISpringEnvAware
,com.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLEndIndex>
,com.quartetfs.fwk.types.IPluginValue
,Serializable
@QuartetPluginValue(intf=com.quartetfs.biz.pivot.context.IContextValueTranslator.class) public class PnLEndIndexTranslator extends com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLEndIndex> implements ISpringEnvAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY
-
Fields inherited from interface com.quartetfs.biz.pivot.context.IContextValueTranslator
ALL_VALUE, BOOL_VALUE, DOUBLE_VALUE, ENUM_VALUE, INT_VALUE, LONG_VALUE, RANGE
-
Fields inherited from interface com.activeviam.risk.core.services.ISpringEnvAware
PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description PnLEndIndexTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IPnLEndIndex
createInstance(Integer content)
Map<String,String>
getAvailableProperties()
protected Integer
getContent(IPnLEndIndex instance)
Class<IPnLEndIndex>
getContextInterface()
String
key()
protected Integer
parse(String property)
void
setEnv(org.springframework.core.env.Environment env)
Set the implementation ofEnvironment
-
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)
Description copied from interface:ISpringEnvAware
Set the implementation ofEnvironment
- Specified by:
setEnv
in interfaceISpringEnvAware
- Parameters:
env
- the implementation ofEnvironment
-
getContextInterface
public Class<IPnLEndIndex> getContextInterface()
- Specified by:
getContextInterface
in interfacecom.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLEndIndex>
-
key
public String key()
- Specified by:
key
in interfacecom.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLEndIndex>
- Specified by:
key
in interfacecom.quartetfs.fwk.types.IPluginValue
-
createInstance
protected IPnLEndIndex createInstance(Integer content)
- Specified by:
createInstance
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,IPnLEndIndex>
-
getContent
protected Integer getContent(IPnLEndIndex instance)
- Specified by:
getContent
in classcom.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,IPnLEndIndex>
-
getAvailableProperties
public Map<String,String> getAvailableProperties()
- Specified by:
getAvailableProperties
in interfacecom.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLEndIndex>
- Overrides:
getAvailableProperties
in classcom.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLEndIndex>
-
parse
protected Integer parse(String property) throws com.quartetfs.biz.pivot.context.ContextValueTranslationException
- Overrides:
parse
in classcom.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLEndIndex>
- Throws:
com.quartetfs.biz.pivot.context.ContextValueTranslationException
-
-