Issue 13228: Missing operations on Lists (qvt-rtf) Source: Open Canarias, SL (Mr. E. Victor Sanchez, vsanchez(at)opencanarias.com) Nature: Enhancement Severity: Significant Summary: For 'removeAt' I specify 'one' as the starting index value. Suggestion: - List(T)::remove(T) : T Removes a value from the list. - List(T)::removeAt(int) : T Removes a value from the mutable list at the given position. The index starts at one (in compliance with OCL convention). The return value is the value removed from the mutable list. - List(T)::clear() : Void Removes all values in the mutable list. Resolution: Yes. Revised wording in 132 is explicitly one-based. Disposition: See issue 19146 for disposition Revised Text: Actions taken: January 13, 2009: received issue July 15, 2014: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 13 Jan 2009 09:08:49 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Victor Sanchez Company: Open Canarias S.L. mailFrom: vsanchez@opencanarias.com Notification: Yes Specification: MOF QVT Section: 8.3.8 FormalNumber: formal/2008-04-03 Version: 1.0 RevisionDate: 04/03/2008 Page: 114 Nature: Enhancement Severity: Significant HTTP User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5 Description Missing operations on Lists. For 'removeAt' I specify 'one' as the starting index value. Suggestion: - List(T)::remove(T) : T Removes a value from the list. - List(T)::removeAt(int) : T Removes a value from the mutable list at the given position. The index starts at one (in compliance with OCL convention). The return value is the value removed from the mutable list. - List(T)::clear() : Void Removes all values in the mutable list.