Class JumpToDefault

    • Method Detail

      • of

        public static JumpToDefault of​(Currency currency,
                                       Map<StandardId,​Double> splitValues)
        Obtains an instance from currency and map.
        Parameters:
        currency - the currency of the values
        splitValues - the split values
        Returns:
        the instance
      • convertedTo

        public JumpToDefault convertedTo​(Currency resultCurrency,
                                         FxRateProvider rateProvider)
        Description copied from interface: FxConvertible
        Converts this instance to an equivalent amount in the specified currency.

        The result, which may be of a different type, will be expressed in terms of the given currency. Any FX conversion that is required will use rates from the provider.

        Specified by:
        convertedTo in interface FxConvertible<JumpToDefault>
        Parameters:
        resultCurrency - the currency of the result
        rateProvider - the provider of FX rates
        Returns:
        the converted instance, which should be expressed in the specified currency
      • meta

        public static JumpToDefault.Meta meta()
        The meta-bean for JumpToDefault.
        Returns:
        the meta-bean, not null
      • metaBean

        public JumpToDefault.Meta metaBean()
        Specified by:
        metaBean in interface org.joda.beans.Bean
      • getCurrency

        public Currency getCurrency()
        Gets the currency of the amounts.
        Returns:
        the value of the property, not null
      • getAmounts

        public ImmutableMap<StandardId,​Double> getAmounts()
        Gets the amounts, identified by legal entity ID.
        Returns:
        the value of the property, not null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object