Skip to main content

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values

  • From: "atsticks (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values
  • Date: Sat, 16 Feb 2013 16:23:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JAVAMONEY-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

atsticks updated JAVAMONEY-25:
------------------------------

    Component/s:     (was: Spec: Specification)

> Multi MonetaryAmount and CurrencyUnit Values
> --------------------------------------------
>
>                 Key: JAVAMONEY-25
>                 URL: http://java.net/jira/browse/JAVAMONEY-25
>             Project: javamoney
>          Issue Type: New Feature
>          Components: Standalone: Provided Extensions
>            Reporter: atsticks
>            Assignee: atsticks
>             Fix For: 1.0-b01
>
>
> Define a compound multi-valued monetary amount that consists of several 
> amounts:
> * of the same currency, but with different semantics, e.g. for use cases in 
> insurance calculations
> * of different currencies, e.g. for easily switching between currencies 
> supported in web shop
> * a mix of the above.
> A compound value has the following properties:
> * it is immutable.
> * it does not offer arithemtics
> * it provides access to all its containing{{MonetaryAmount}} instances:
> ** {{Map<String,MonetaryAmount> getAll()}}
> ** {{Enumeration<String> getKeys();}}
> ** {{MonetaryAmount getMonetaryAmount(String key)}}
> ** {{boolean isMonetaryAmountDefined(String key)}}
> * It allows access to all different currencies contained:
> ** {{Enumeration<CurrencyUnit> getContainedCurrencies()}}
> * it provides a {{CompoundMonetaryAmountFactory}} for creating compound 
> values.
> * Since a compound amount is defined to be immutable, it can only be 
> extended/adapted as follows:
> ** {{CompoundMonetaryAmount add(String key, MonetaryAmount amount);}}
> ** {{CompoundMonetaryAmount remove(String... key);}}
> ** {{CompoundMonetaryAmountBuilder toBuilder()}} // and using the builder 
> to create a new instance

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Updated: (JAVAMONEY-25) Multi Currency Monetary Value

(continued)

[JIRA] Updated: (JAVAMONEY-25) Multi Currency Monetary Value

keilw (JIRA) 02/02/2013

[JIRA] Commented: (JAVAMONEY-25) Multi Currency Monetary Value

chrispheby (JIRA) 02/05/2013

[JIRA] Commented: (JAVAMONEY-25) Multi Currency Monetary Value

atsticks (JIRA) 02/05/2013

[JIRA] Commented: (JAVAMONEY-25) Multi Currency Monetary Value

keilw (JIRA) 02/05/2013

[JIRA] Commented: (JAVAMONEY-25) Multi Currency Monetary Value

atsticks (JIRA) 02/06/2013

[JIRA] Issue Comment Edited: (JAVAMONEY-25) Multi Currency Monetary Value

atsticks (JIRA) 02/06/2013

[JIRA] Updated: (JAVAMONEY-25) Multi Currency Monetary Value

atsticks (JIRA) 02/06/2013

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount Value

atsticks (JIRA) 02/06/2013

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values

atsticks (JIRA) 02/06/2013

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values

atsticks (JIRA) 02/16/2013

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values

atsticks (JIRA) 02/16/2013

[JIRA] Updated: (JAVAMONEY-25) Multi MonetaryAmount and CurrencyUnit Values

atsticks (JIRA) 02/16/2013
 
 
Close
loading
Please Confirm
Close