[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: NEW ISSUE: What is the default value for many and mustSupply on Properties?
RAISER: Mark Combellack TARGET: SCA Assembly Specification DESCRIPTION: The specification states that the many and mustSupply
booleans are optional for Properties. However, the specification does not
define their default values if they are not specified. (References taken from SCA Assembly Specification Committee
Draft 01 with RFC 2119 updates (dated 2008-04-22)) Page 19: lines 376 - 378: 376 many
: boolean (0..1) - (optional) whether the property is single-valued (false) or
multi 377 valued
(true). In the case of a multi-valued property, it is presented to the
implementation 378 as
a collection of property values.” Page 30: lines 861 – 865 861 many
: boolean (0..1) – (optional) whether the property is single-valued
(false) or 862 multi-valued
(true). Overrides the many specified for this property on the implementation. 863 The
value can only be equal or further restrict, i.e. if the implementation
specifies many 864 true,
then the component can say false. In the case of a multi-valued property, it is 865 presented
to the implementation as a Collection of property values. Page 30: lines 866 – 868 866 mustSupply
: boolean (0..1) - whether the property value must be supplied by the 867 component
– when mustSupply="true" the component must supply a value
since the 868 implementation
has no default value for the property. Page 42: lines 1346 – 1348 1346 many
: boolean (0..1) - whether the property is single-valued (false) or
multi-valued 1347 (true).
The default is false. In the case of a multi-valued property, it is presented
to the 1348 implementation
as a collection of property values. Page 42: lines 1349 - 1354 1349 mustSupply
: boolean (0..1) – whether the property value must be supplied by the 1350 component
that uses the implementation – when mustSupply="true" the
component must 1351 supply
a value since the implementation has no default value for the property. A
default 1352 property-value
should only be supplied when mustSupply="false" (the default setting
for 1353 the
mustSupply attribute), since the implication of a default value is that it is
used only 1354 when
a value is not supplied by the using component. PROPOSAL: I am presuming that the default value for many is
false. Therefore, add the following sentence to the end of the many paragraphs detailed
above. “If many is not
specified, then the default value is false.” (I’m not so sure on this one but…) I am
presuming that the default value for mustSupply is true. Therefore, add the
following sentence to the end of the mustSupply paragraphs detailed above. “If mustSupply is
not specified, then the default value is true” Mark Combellack| Software Developer| Avaya | |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]