Class ReferenceCurrency

  • All Implemented Interfaces:
    IReferenceCurrency, com.quartetfs.biz.pivot.context.IContextValue, com.quartetfs.fwk.IClone<com.quartetfs.biz.pivot.context.IContextValue>, Serializable, Cloneable

    public class ReferenceCurrency
    extends com.quartetfs.biz.pivot.context.impl.AContextValue
    implements IReferenceCurrency
    Reference currency context value.
    Author:
    ActiveViam
    See Also:
    Serialized Form
    • Field Detail

      • currency

        protected String currency
        reference currency
    • Constructor Detail

      • ReferenceCurrency

        protected ReferenceCurrency()
        constructor
      • ReferenceCurrency

        public ReferenceCurrency​(String ccy)
        Constructor
        Parameters:
        ccy - the currency to use as reference
    • Method Detail

      • setCurrency

        public void setCurrency​(String currency)
      • getContextInterface

        public Class<? extends com.quartetfs.biz.pivot.context.IContextValue> getContextInterface()
        Specified by:
        getContextInterface in interface com.quartetfs.biz.pivot.context.IContextValue
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class com.quartetfs.biz.pivot.context.impl.AContextValue
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in class com.quartetfs.biz.pivot.context.impl.AContextValue