Class JumpToDefault

    • Method Detail

      • of

        public static JumpToDefault of​(Currency currency,
                                       java.util.Map<StandardId,​java.lang.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
      • getCurrency

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

        public com.google.common.collect.ImmutableMap<StandardId,​java.lang.Double> getAmounts()
        Gets the amounts, identified by legal entity ID.
        Returns:
        the value of the property, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object