Rational Rhapsody properties Adding customized properties You can add your own properties to existing metaclasses. You can add properties for special annotations, specification numbers, part numbers, traceability information, and any kind of comment. For example, you might require that each class be assigned a safety property and a serial number. To add a custom property: 1. Open the site.prp file in the Properties directory. 2. Under the appropriate subject and metaclass, add the new property. Make sure to put in the correct number of end statements.
Adding comments to the properties files Although Rational Rhapsody does not have a formal way to add comments to the property files, you can add comments by creating your own properties. To add comments to a properties file: 1. Create new subjects, for example: 2. Create a new metaclass named Comments under each subject. 3. To each metaclass, add a new property of type String or MultiLine that contains the comment text. If you place this information on top of your site .prp , you benefit in the following ways: Љ You can add comments in the file header to document why you made changes.
Љ Access from inside Rational Rhapsody via the Property tab to get an overview of the version and changes inside your site properties files. However, you must keep the comments and content in sync manually. Љ Gain the ability to bring site settings into the Reporter documentation. Note Do not use the String comment ( "" ) inside the assigned strings of the comment properties. Rational Rhapsody 189 Subject .PRP File Subject SiteComment site.prp Subject SiteCPPComment siteC++.prp Subject SiteCComment siteC.prp