Rational Developer for System z

Generalization with Generalization stereotype applied

This topic shows relationships with the Generalization stereotype applied.

The stereotype has a property called type that can be set to one of the following values:

Figure 1 shows that the generalization stereotype is applied.

Figure 1. Generalization stereotype applied to COBOL program
This diagram shows a program named SERVICE and data objects named PARENT, CHILD, and GRANDCHILD.

Figure 2

Figure 2. Window for setting the type property
The figure shows that the stereotype has type properties.

By default, if group all is selected it behaves as the standard relationship.

Figure 3. The groupAll selection
01 GRANDCHILD .
   05 PARENT .
      10 ATTR1 PIC X(32).
      10 ATTR2 PIC X(32).
   05 CHILD .
      10 ATTR5 PIC X(32).
      10 ATTR6 PIC X(32).
   05 GRANDCHILD .
      10 ATTR7 PIC X(32).
Figure 4. The groupParents selection
01 GRANDCHILD .
   05 PARENT .
      10 ATTR1 PIC X(32).
      10 ATTR2 PIC X(32).
   05 CHILD .
      10 ATTR5 PIC X(32).
      10 ATTR6 PIC X(32).
   05 ATTR7 PIC X(32).
Figure 5. The flatten selection
01 GRANDCHILD .
   05 PARENT-ATTR1 PIC X(32).
   05 PARENT-ATTR2 PIC X(32).
   05 CHILD-ATTR5 PIC X(32).
   05 CHILD-ATTR6 PIC X(32).
   05 ATTR7 PIC X(32).

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)