Arthlol / bpswg

Automatically exported from code.google.com/p/bpswg
0 stars 0 forks source link

and local timeunit element to TimeParameters and local currencyUnit to CostParameters #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the only place to specify time and cost units is via baseTimeUnit and 
baseCurrencyUnit in ScenarioParameters. It would be useful to be able to 
overwrite these base settings within individual TimeParameters and 
CostParameters. 

To do this you can add elements:

1) TimeUnit to TimeParameters:
<complexType name="TimeParameters">
        <sequence minOccurs="0">
            .....
            <element name="TimeUnit" type="TimeUnit"/>
        </sequence>
    </complexType>

2) CurrencyUnit to CostParameters:

<complexType name="CostParameters">
        <sequence minOccurs="0">
            ......
            <element name="CurrencyUnit" type="string" minOccurs="0"/>
        </sequence>
    </complexType>

Original issue reported on code.google.com by tsurdilo...@gmail.com on 5 Sep 2012 at 3:27

GoogleCodeExporter commented 9 years ago
The way to do that would be to add a timeUnit and a currencyUnit attribute (as 
optional) on the ParameterValue class to override the scenario level ones.

Original comment by sringue...@trisotech.com on 19 Oct 2012 at 12:29

GoogleCodeExporter commented 9 years ago
If you are OK with users being able to specify then currency unit in time 
parameters and timeunit in currency parameters I am ok with that as well :)

Original comment by tsurdilo...@gmail.com on 25 Oct 2012 at 12:35

GoogleCodeExporter commented 9 years ago
Decided to apply this change to the spec at 25 Oct 2012 web meeting.

It will now be possible to overload the scenario level baseTimeUnit and 
baseCurrencyUnit by specifying a different TimeUnit or CurrencyUnit at the 
element level. 

Original comment by dga...@trisotech.com on 25 Oct 2012 at 4:13

GoogleCodeExporter commented 9 years ago
It was decided on the October 25th meeting to accept this proposal

Original comment by sringue...@trisotech.com on 25 Oct 2012 at 4:21

GoogleCodeExporter commented 9 years ago
Changes were made to the schema and the metamodel in version 1.0.RC

Original comment by sringue...@trisotech.com on 25 Oct 2012 at 4:21