Relationship Flags

The Flags property of a relationship type defines the nature of the relationship: whether the relationship is one between a seed and an extract entity, for example, or between extract entities or legacy entities. A relationship can have multiple flags. The FolderIncludesDbSchema relationship, for example, has the flags GROUPING and PRODUCES.

The relationship flag also determines how the product behaves when one of the entities in the relationship is invalidated, modified, or deleted. In a relationship between a seed and an extract entity, for example, deleting the seed requires deleting the extract. The table below shows the flags for a relationship type.

Flag Description
GROUPING A relationship between a folder entity, which identifies an CA project, and a legacy entity, FolderIncludesCobol, for example.
GENERATES A relationship between a legacy entity and a generated entity, CopybookGeneratesTargetXml, for example. If the legacy entity is modified or deleted, the generated entity is deleted.
LINKS Future use.
PRODUCES A relationship between a seed and an extract entity, CobolDefinesProgram, for example. If the seed entity is modified or deleted, the extract entity is deleted.
REFERS

A relationship between extract entities, ProgramCallsProgramEntry, for example. If the left entity is invalidated or deleted, the right entity is deleted.

USES A relationship between legacy entities, CobolIncludesCopybook, for example. If the right entity is modified or deleted, the left entity is invalidated, and every entity with a relationship of type PRODUCES with the left entity is deleted.