| element.getXYZs(String name, boolean ignoreCase, EClass eclass) [message #892119] |
Wed, 27 June 2012 03:16  |
|
Hi UMLer,
I was wondering whether it would make sense to generate convenience methods
for containment associations to retrieve a list of elements instead of
merely single elements.
For example.
Namespace.getMember(String name, boolean ignoreCase, EClass eclass)
retrieves one element, why not having the same very convenient thing for
multiple elements?
Namespace.getMembers(String name, boolean ignoreCase, EClass eclass), and in
work e.g. classifier.getMembers(null, true, UMLPackage.Literals.CONSTRAINT)
to retrieve all constraints for the classifier?
Before filing this as an issue in Bugzilla, I wanted to figure out what the
developers think about this (and it might be the case that it is already
present in UML2 4.0.0, since I'm still working on UML2 3.2.0). If the dev
teams agrees I'm happy to put this into Bugzilla as enhancement request.
Regards,
Marc-Florian
|
|
|