About this task
Rational Rhapsody data source
schema structure:
- A class has attributes
- Each attribute has a type
- Each type has its own attributes, which also have types
With this schema, you can generate an
IBM Rational Publishing Engine document
that displays:
- The attributes of the class
- For each class attribute, its type, and then the attributes of
that type
- For those attributes, their types
Rational Publishing Engine allows
drilling into the class, the class attributes, and the types of those
attributes. Then the Rational Publishing Engine schema
starts referring to nested elements and nested elements do not have
types that can be drilled into.
The schema defines the relation, which represents a Classifier. Classifier is
the base type for all of the possible types an attribute can have.
In
Rational Publishing Engine,
the CAST can be applied only to the last segment of the query. Query
examples:
- Correct: Packages/Packages/NestedElements/ModelElement(Class)
- Incorrect: Packages/Packages/NestedElements/ModelElement(Class)/Attributes
To make the second query example valid, you must split
it in two queries:
- $1 - Packages/Packages/NestedElements/ModelElement(Class)
- $2 - $1/Attributes