Issue 6923: Class InfrastructureLibrary::Core::Basic::Property (uml2-rtf) Source: (, ) Nature: Clarification Severity: Minor Summary: Class InfrastructureLibrary::Core::Basic::Property contains an attribute named 'default' of type 'String'. If initial values should be provided for a Property instance, then there is no possibility to evaluate the string without a schema. I'm not sure about the intension of this default property, especially for MOF (it seems to be useable only for visualization in UML). Proposed resolution: If evaluation should be processable by tools (e.g. code generators), then the type of 'default' must be changed to class "Type" or a schema for evaluation should be provided. Resolution: Revised Text: Actions taken: January 19, 2004: received issue February 18, 2005: moved from infrastructure August 23, 2006: closed issue Discussion: Property defaults in Basic and Constructs (and therefore EMOF and CMOF) can only be specified for primitive types, so only String is needed. UML2 Kernel supports more complex default values through defaultValue:ValueSpecification. In Kernel::Property:/default is derived from defaultValue. Disposition: Closed, no change End of Annotations:===== m: webmaster@omg.org Date: 19 Jan 2004 11:57:06 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Michael Soden Company: Fraunhofer FOKUS, Germany mailFrom: soden@fokus.fraunhofer.de Notification: No Specification: UML2.0 Infra Section: 10.2.4 FormalNumber: ptc/03-09-15 Version: 2.0 RevisionDate: Nov/7/2003 Page: 99 Nature: Clarification Severity: Minor HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 Description Class InfrastructureLibrary::Core::Basic::Property contains an attribute named 'default' of type 'String'. If initial values should be provided for a Property instance, then there is no possibility to evaluate the string without a schema. I'm not sure about the intension of this default property, especially for MOF (it seems to be useable only for visualization in UML). Proposed resolution: If evaluation should be processable by tools (e.g. code generators), then the type of 'default' must be changed to class "Type" or a schema for evaluation should be provided.