Issue 9308: Constant Interface Definitions Invalid (swradio-rtf) Source: PrismTech (Mr. Gerald Lee Bickle, jerry.bickle@prismtechusa.com) Nature: Uncategorized Issue Severity: Summary: Define a constant property to clearly show the intent of property. Add a Constant property stereotype definition to the interface and Port Stereotypes. Move the constant defs type sections in executabledevice and filesystem interface to attributes section and use stereotype constant for them. Add transformation rule too to section 10 PSM. Resolution: Revised Text: In section 8.1.4 Interface and Port Stereotypes, Table 8-3 - Interface & Port Stereotypes Add row to table in alphabetical order by name. " Constant Property N/A N/A Static is true Represents a static property that is visible. " In the UML profile for SWRadio, add Constant in Interface and Port package of the UML profile, which is an extension of UML Property. In section 8.1.6.1.2 ExecutableDevice, Types and Exceptions noheader section Remove the Following items "? PRIORITY_ID : String = "PRIORITY" The PRIORITY_ID is the identifier for the ExecutableDevice's execute options parameters. The value for a priority option parameter shall be an unsigned long. ? STACK_SIZE_ID = "STACK_SIZE" The STACK_SIZE_ID is the identifier for the ExecutableDevice's execute options parameter. The value for a stack size option parameter shall be an unsigned long. ? CREATE_THREAD_REQUEST = "CREATE_THREAD" The CREATE_THREAD_REQUEST is the identifier for the ExecutableDevice's execute options parameter. The value for create thread request option shall be an unsigned long that indicates the thread ID to be collocated with. A zero valid indicates no thread ID collocation is indicated. A non-zero indicates the thread ID to be collocated with. ? RUNTIME_REQUEST = "RUNTIME_REQUEST" The RUNTIME_REQUEST is the identifier for the ExecutableDevice's execute options parameter. The value for runtime request option shall be a string of the runtime name to be executed. ? RUNTIME_OPTIONS = "RUNTIME_OPTIONS" The RUNTIME_OPTIONS is the identifier for the ExecutableDevice's execute options parameter. The value for runtime options option shall be a Base-Types::Properties. Each ID/value pair in the Properties represents a runtime option. The id indicates the option name and the value is the option value." In section 8.1.6.1.2 ExecutableDevice, Add the following Attributes noheader section after the Description noheader section "Attributes "? <<constant>>PRIORITY_ID : String = "PRIORITY" The PRIORITY_ID is the identifier for the ExecutableDevice's execute options parameters. The value for a priority option parameter shall be an unsigned long. ? <<constant>>STACK_SIZE_ID: String = "STACK_SIZE" The STACK_SIZE_ID is the identifier for the ExecutableDevice's execute options parameter. The value for a stack size option parameter shall be an unsigned long. ? <<constant>>CREATE_THREAD_REQUEST: String = "CREATE_THREAD" The CREATE_THREAD_REQUEST is the identifier for the ExecutableDevice's execute options parameter. The value for create thread request option shall be an unsigned long that indicates the thread ID to be collocated with. A zero valid indicates no thread ID collocation is indicated. A non-zero indicates the thread ID to be collocated with. ? <<constant>>RUNTIME_REQUEST: String = "RUNTIME_REQUEST" The RUNTIME_REQUEST is the identifier for the ExecutableDevice's execute options parameter. The value for runtime request option shall be a string of the runtime name to be executed. ? <<constant>>RUNTIME_OPTIONS: String = "RUNTIME_OPTIONS" The RUNTIME_OPTIONS is the identifier for the ExecutableDevice's execute options parameter. The value for runtime options option shall be a Base-Types::Properties. Each ID/value pair in the Properties represents a runtime option. The id indicates the option name and the value is the option value." In the UML profile for SWRadio, add Constant properties in the ExecutableDevice interface as stated above. In section 8.3.1.4.3 FileSystem, Types and Exceptions noheader section Remove the Following items "? SIZE : constant String = "SIZE" Property name for file system's total size. ? AVAILABLE_SPACE : constant String := "AVAILABLE_SPACE" Property name for file system's available unused space ? CREATED_TIME_ID : constant String = "CREATED_TIME". The CREATED_TIME_ID is the identifier for the created time file property. A created time property indicates the time the file was created. ? MODIFIED_TIME_ID : constant String ="MODIFIED_TIME" The MODIFIED_TIME_ID is the identifier for the modified time file property. The modified time property is the time the file data was last modified. ? LAST_ACCESS_TIME_ID : constant String = "LAST_ACCESS_TIME" The LAST_ACCESS_TIME_ID is the identifier for the last access time file property. The last access time property is the time the file was last access (e.g. read)." In section 8.3.1.4.3 FileSystem Add the following Attributes noheader section after the Description noheader section "Attributes ? <<constant>>SIZE : String = "SIZE" Property name for file system's total size. ? <<constant>>AVAILABLE_SPACE : String := "AVAILABLE_SPACE" Property name for file system's available unused space. ? <<constant>>CREATED_TIME_ID : String = "CREATED_TIME". The CREATED_TIME_ID is the identifier for the created time file property. A created time property indicates the time the file was created. ? <<constant>>MODIFIED_TIME_ID : String ="MODIFIED_TIME" The MODIFIED_TIME_ID is the identifier for the modified time file property. The modified time property is the time the file data was last modified. ? <<constant>>LAST_ACCESS_TIME_ID : String = "LAST_ACCESS_TIME" The LAST_ACCESS_TIME_ID is the identifier for the last access time file property. The last access time property is the time the file was last access (e.g. read). In the UML profile for SWRadio, add Constant properties in the FileSystem interface as stated above. Add the following text "UML attributes with constant stereotype map to CORBA constants in CORBA interfaces." in section 10 Platform Specific Model (PSM) to end of the list of "The rule set for transforming UML packages, interfaces, types, and exceptions into CORBA constructs are as follows:". This change may be section 9 in the break out volume spec. Actions taken: January 25, 2006: received issue April 19, 2007: closed issue Discussion: Resolution: Add a Constant property stereotype definition to the interface and Port Stereotypes. Move the constant defs type sections in executabledevice and filesystem interface to attributes section and use stereotype constant for them. Add transformation rule too to section 10 PSM. Note for the break out specs section 10 is probably section 9. End of Annotations:===== erver-Uuid: 241911D6-425B-44B9-A073-E3FE0F8FC774 Subject: PIM and PSM SWRadio Spec Issue Date: Wed, 25 Jan 2006 12:09:10 -0500 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: PIM and PSM SWRadio Spec Issue thread-index: AcYh0g7IAIV/UXAJRYWUXcBvoaTIDQ== From: "Jerry Bickle" To: issues@omg.org cc: swradio-rtf@omg.org X-OriginalArrivalTime: 25 Jan 2006 17:09:14.0281 (UTC) FILETIME=[113EB990:01C621D2] X-WSS-ID: 6FC96F3032K20777358-01-01 Issue Constant Interface Definitions Invalid. Define a constant property to clearly show the intent of property. Add a Constant property stereotype definition to the interface and Port Stereotypes. Move the constant defs type sections in executabledevice and filesystem interface to attributes section and use stereotype constant for them. Add transformation rule too to section 10 PSM. ------------------------------------------ Jerry Bickle Chief Scientist, SDR Products 6511 Constitution Drive Fort Wayne, IN 46804 1 260-436-7168 (Work) 1 260-436-6708 (Fax) 1 260-249-8162 (Mobile) www.prismtech.com