This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108257 - rules for multiplicity are different in operation parameters and return type/attribute miltiplicity dialogs
Summary: rules for multiplicity are different in operation parameters and return type/...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
Depends on:
Reported: 2007-06-27 10:28 UTC by Andrew Korostelev
Modified: 2009-05-25 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2007-06-27 10:28:09 UTC
there are different allowed multiplicity ranges in multiplicity dialogs for return type,attribute and for operation

operation parameter multiplicity dialogs more or less follows spec (except issue 108024, issue 108025).
operation return type and attribute multiplicity dialogs allow to set lower bound > upper bound.

according to  UML Superstructure:
 7.3.32 MultiplicityElement (from Kernel)
     [1] A multiplicity must define at least one valid cardinality that is greater than zero.
          upperBound()->notEmpty() implies upperBound() > 0
     [3] The upper bound must be greater than or equal to the lower bound.
     (upperBound()->notEmpty() and lowerBound()->notEmpty()) implies upperBound() >= lowerBound()
Comment 1 George Vasick 2008-06-10 17:10:41 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.