Issue 10834: Section: 8.1.2 (uml-corba-ccm-ftf) Source: Fraunhofer FOKUS (Ms. Julia Reznik, julia.reznik@fokus.fraunhofer.de) Nature: Enhancement Severity: Significant Summary: Initiated from Tom Rutt (Fujitsu: "The sequence mapping needs either fixing or clarification. I am still concerned about the complexity and yet incompleteness of the profile mapping for CORBA sequences and arrays. Suggestion: AnonymousSequence types are named by concatenation containing type "::" "m"<n> , where n is the member number of the anonymous sequence in containing type, e. g bar::m2 for second member of Struct bar (P. 31, Figure 8.15). Also I suggest to represent the sequence element values as a multivalued attribute with lower bound 0 and upper bound = sequence size or "*". This seems to work and is much easier to understand. Also, it requires NO NEW TAGGED VALUES for Sequencies." Resolution: see below Revised Text: Resolution: The suggestions have been adopted as follows: • Both named and anonymous sequences are represented by the UML DataType; • Tags “type” and “index” are removed from the profile; • Sequence members are represented by an attribute of the DataType with the name “members” (profile keyword), members type is represented by the type of the “members”-attribute and the max size is represented by the multiplicity of the “members”-attribute; • Anonymous sequences get a name by concatenation of name of the containing type plus "::" plus "m"<n>, where n is the member number of the anonymous sequence in containing type. Changes: • CCMProfile Metamodel: tags “index” and “type” has been deleted from the stereotype “CORBATemplate”, the extension link between classes “Property” and “CORBAAnonymousSequence” has been deleted, a new relationship between classes “CORBAAnonymousSequence” and “DataType” has been added. • P. 37, Figure 8.7: attributes “index” and “type” have been deleted from the class “CORBATemplate”; • P.43 Text: “ o Named by a typedef declaration sequences are represented by the UML DataType with the stereotype <<CORBASequence>>. The upper bound of the sequence is modeled as a tag “index”of the DataType, and can be either a number (upper bound of the sequence) or an interval (lower and upper bound of the sequence). Named by a typedef CORBASequences have a tag “type”, which represents the element type of the sequence. Named by the member name of a constructed type sequences are represented by the UML Property (attribute) with the stereotype <<CORBAAnonymousSequence>>. In this case, the upper bound of the sequence is represented by the attribute “upper” of the UML metaclass MultiplicityElement (see Figure 8.7), and the element type of the sequence is represented by the type of the UML Property.” has been replaced in o “Named by a typedef declaration sequences are represented by the UML DataType with the stereotype <<CORBASequence>>. Sequence members are represented by an attribute of the DataType, which always has the name “members” (profile keyword), members type is represented by the type of the “members”-attribute and the max size is represented by the multiplicity of the “members”-attribute.” o Named by the member name of a constructed type sequences are represented by the UML DataType with the stereotype <<CORBAAnonymousSequence>>. Anonymous sequences get a name by concatenation name of the container (containing type), "::" and "m"<n>, where n is the member number of the anonymous sequence in the container.” • P 43, Figure 8.14, 8.15, 8.16 have been replaced according to changes done in the specification: (figure on page 12 of the FTF report)) Actions taken: March 21, 2007: received issue November 7, 2007: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 21 Mar 2007 05:07:15 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Julia Reznik Company: Fraunhofer FOKUS mailFrom: reznik@fokus.fraunhofer.de Notification: No Specification: UML Profile for CORBA and CORBA Components Final Adopted Specification Section: 8.1.2 FormalNumber: ptc/2007-03-11 Version: 1 RevisionDate: 03.21.07 Page: 42 Nature: Enhancement Severity: Significant HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10 Description Initiated from Tom Rutt (Fujitsu: "The sequence mapping needs either fixing or clarification. I am still concerned about the complexity and yet incompleteness of the profile mapping for CORBA sequences and arrays. Suggestion: AnonymousSequence types are named by concatenation containing type "::" "m" , where n is the member number of the anonymous sequence in containing type, e. g bar::m2 for second member of Struct bar (P. 31, Figure 8.15). Also I suggest to represent the sequence element values as a multivalued attribute with lower bound 0 and upper bound = sequence size or "*". This seems to work and is much easier to understand. Also, it requires NO NEW TAGGED VALUES for Sequencies."