Class PnLEndIndexTranslator

  • All Implemented Interfaces:
    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>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String KEY  
      • Fields inherited from class com.quartetfs.fwk.types.impl.PluginValue

        name, plugin
      • Fields inherited from interface com.quartetfs.biz.pivot.context.IContextValueTranslator

        ALL_VALUE, BOOL_VALUE, DOUBLE_VALUE, ENUM_VALUE, INT_VALUE, LONG_VALUE, RANGE
    • Constructor Detail

      • PnLEndIndexTranslator

        public PnLEndIndexTranslator()
    • Method Detail

      • setEnv

        public void setEnv​(org.springframework.core.env.Environment env)
      • createInstance

        protected IPnLEndIndex createInstance​(Integer content)
        Specified by:
        createInstance in class com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,​IPnLEndIndex>
      • getContent

        protected Integer getContent​(IPnLEndIndex instance)
        Specified by:
        getContent in class com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<Integer,​IPnLEndIndex>
      • getAvailableProperties

        public Map<String,​String> getAvailableProperties()
        Specified by:
        getAvailableProperties in interface com.quartetfs.biz.pivot.context.IContextValueTranslator<IPnLEndIndex>
        Overrides:
        getAvailableProperties in class com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLEndIndex>
      • parse

        protected Integer parse​(String property)
                         throws com.quartetfs.biz.pivot.context.ContextValueTranslationException
        Overrides:
        parse in class com.quartetfs.biz.pivot.context.impl.IntegerContextValueTranslator<IPnLEndIndex>
        Throws:
        com.quartetfs.biz.pivot.context.ContextValueTranslationException