Class ReferenceCurrencyTranslator

  • All Implemented Interfaces:
    com.quartetfs.biz.pivot.context.IContextValueTranslator<IReferenceCurrency>, com.quartetfs.fwk.types.IPluginValue, Serializable

    @QuartetPluginValue(intf=com.quartetfs.biz.pivot.context.IContextValueTranslator.class)
    public class ReferenceCurrencyTranslator
    extends com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,​IReferenceCurrency>
    Context value translator for reference currencies. As a plugin value it is automatically registered with the other available context value translators.
    Author:
    ActiveViam
    See Also:
    Serialized Form
    • Constructor Detail

      • ReferenceCurrencyTranslator

        public ReferenceCurrencyTranslator()
    • Method Detail

      • getAvailableProperties

        public Map<String,​String> getAvailableProperties()
      • format

        protected String format​(String content)
        Specified by:
        format in class com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,​IReferenceCurrency>
      • parse

        protected String parse​(String property)
                        throws com.quartetfs.biz.pivot.context.ContextValueTranslationException
        Specified by:
        parse in class com.quartetfs.biz.pivot.context.impl.SimpleContextValueTranslator<String,​IReferenceCurrency>
        Throws:
        com.quartetfs.biz.pivot.context.ContextValueTranslationException