Properties

Every model element in Rhapsody has a set of properties associated with it which can be accessed through the features window of Rhapsody.
These properties can be used in your generation rules by specifying which properties you would like to have for which model element type. The location for specifying these properties is in a file called Properties.ini that should be located in the same subdirectory as your deployed launch configuration. See Deployment.

The syntax for each line in the file is :
{rhapsodyMetaClass}.{propertyName}

Lines starting with a '#' are ignored (= comment).

Some examples :
Class.CG.Class.Concurrency
Class.CG.Class.FileName
Actor.CG.Class.Concurrency
Attribute.CG.Attribute.IsConst

Wildcards can be used as well. The format is {rhapsodyMetaClass}.{Optional Category}.{Optional Metatype}.

Some examples:
Class..
Actor.CG.
Actor..Class

The 1st example above returns all properties available on a class. The 2nd example returns all properties in the CG category for an actor. The 3rd example returns all properties for an actor with the metatype of the property specified as "Class" in all categories. Note that 2 periods must exist when using this format.

By default, every class and package will have 2 properties added that indicate the filenames that Rhapsody expects to be used for their souce code files. The properties are called "RHP.SpecificationFilename" and "RHP.ImplementationFilename".

In development mode, you can choose the properties file to use when you select the "Rhapsody Application with Properties" or "Rhapsody On-Demand With Properties" readers.