Issue 9823: Section: 7 (uml2-rtf) Source: Commissariat a l Energie Atomique-CEA (Dr. Sebastien Gerard, sebastien.gerard(at)cea.fr) Nature: Enhancement Severity: Significant Summary: In UML2, it is possible to describe user defined datatypes and propertis may typed by this typed. But, nothing has been defined in the UML2 specifcation to be abble to describe values (of slots for example) which has to be conform to a datatype. One could add a new metaclass (for example, DataTypeValueSpecification inheriting from ValueSpecification) in the Expression package to be abble to denote datatype values. And to define the underlying notation. Resolution: Revised Text: Actions taken: June 12, 2006: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 12 Jun 2006 09:22:51 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Sebastien Gerard Company: CEA-List mailFrom: sebastien.gerard@cea.fr Notification: Yes Specification: UML2.1 Section: 7 FormalNumber: ptc/2006-04-02 Version: 2.1 RevisionDate: 02/04/2006 Page: 31 Nature: Enhancement Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description In UML2, it is possible to describe user defined datatypes and propertis may typed by this typed. But, nothing has been defined in the UML2 specifcation to be abble to describe values (of slots for example) which has to be conform to a datatype. One could add a new metaclass (for example, DataTypeValueSpecification inheriting from ValueSpecification) in the Expression package to be abble to denote datatype values. And to define the underlying notation. From: "Ed Seidewitz" To: Subject: RE: issue 9823 -- UML 2 RTF issue Date: Fri, 16 Jun 2006 10:49:19 -0400 Organization: Data Access Technologies X-Mailer: Microsoft Office Outlook, Build 11.0.6353 thread-index: AcaQtVNwImsdnb+ESq6MdxwwxHGiggAnRHtw X-OriginalArrivalTime: 16 Jun 2006 14:49:22.0364 (UTC) FILETIME=[0DEE4FC0:01C69154] Since DataType is a subclass of Classifier, values of a DataType may be specified as an InstanceSpecification. For a structured DataType, this allows the specification of values for all structural features of the DataType instance. Such an InstanceSpecification can then be used to construct a corresponding InstanceValue, which is a ValueSpecification, as desired. The graphical notation is the same as for an InstanceSpecification/InstanceValue for an instance of a Class. (There is no textual notation.) For an Enumeration, each EnumerationLiteral is already an InstanceSpecification, which can be used as above. The only real issue is with new user-defined PrimitiveTypes. There are LiteralSpecifications built in to UML 2 for the Boolean, Integer, String and UnlimitedNatural types used in the metamodel, but there is no way to add a literal construct for a user-defined PrimitiveType (since the LiteralSpecification superclass is abstract). However, it is not entirely clear how one would allow for such user-defined literals in any case, since the current literal metaclasses refer circularly back to the pre-defined types (e.g., LiteralBoolean has a value attribute of type Boolean), which wouldn't be useful in the case of a user-defined type. The best expediency for defining literals for user-defined PrimitiveTypes is probably to just have the modeler also define function that takes a String representation and constructs a corresponding value of the new PrimitiveType. -- Ed -------------------------------------------------------------------------------- From: Juergen Boldt [mailto:juergen@omg.org] Sent: Thursday, June 15, 2006 3:50 PM To: issues@omg.org; uml2-rtf@omg.org Subject: issue 9823 -- UML 2 RTF issue From: webmaster@omg.org Date: 12 Jun 2006 09:22:51 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Sebastien Gerard Company: CEA-List mailFrom: sebastien.gerard@cea.fr Notification: Yes Specification: UML2.1 Section: 7 FormalNumber: ptc/2006-04-02 Version: 2.1 RevisionDate: 02/04/2006 Page: 31 Nature: Enhancement Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description In UML2, it is possible to describe user defined datatypes and propertis may typed by this typed. But, nothing has been defined in the UML2 specifcation to be abble to describe values (of slots for example) which has to be conform to a datatype. One could add a new metaclass (for example, DataTypeValueSpecification inheriting from ValueSpecification) in the Expression package to be abble to denote datatype values. And to define the underlying notation. Juergen Boldt Director, Member Services 140 Kendrick St Building A Suite 300 Needham, MA 02494 USA tel: +1 781 444 0404 x 132 fax: +1 781 444 0320 email: juergen@omg.org www.omg.org