OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ISSUE 134: Promoted component reference changes multiplicity by default



http://www.osoa.org/jira/browse/ASSEMBLY-134

On Apr 28, 2009, at 7:35 AM, Simon Nash wrote:

> TARGET: Assembly Model Specification
>
> DESCRIPTION: Promoted component reference changes multiplicity by  
> default
>
> The default multiplicity for a composite reference is always 1..1,
> even if the underlying promoted component reference(s) have some
> other multiplicity.  This change to the reference multiplicity
> is surprising and unintuitive.
>
> PROPOSAL:
>
> For the simple case of promoting a single reference or multiple
> references with the same multiplicity, define the default
> multiplicity of the composite reference to be the multiplicity
> of the promoted component references.  For the more complex case
> of promoting multiple component references with different
> multiplicities, require the consposite reference to specify a
> multiplicity explicitly.
>
> The following change is proposed for the text in CD03:
>
> On line 1439, replace:
> "The default value for the @multiplicity attribute is 1..1."
>
> by the following:
>
> The default value for the @multiplicity attribute depends on the
> multiplicity of the promoted component reference or references.
>  . If the composite reference promotes a single component reference,
>    the default multiplicity of the composite reference is the same
>    as the multiplicity of the promoted component reference.
>  . If the composite reference promotes multiple component references
>    with the same multiplicity, the default multiplicity of the
>    composite reference is the same as the multiplicity of the
>    promoted component references.
>  . If the composite reference promotes multiple component references
>    with different multiplicities, there is no default value for
>    the @multiplicity attribute of the promoted component reference
>    and a value for @multiplicity MUST be specified. [ASMxxxxx]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  Follow this link to all your TCs in OASIS at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]