Information Catalog Manager Administration Guide

RELTYPE

Identifies the type of relationship that to add or delete and the object types of the objects involved in the relationship.

This tag is required immediately following these tags:

:ACTION.RELATION(ADD)
:ACTION.RELATION(DELETE)

Syntax



:RELTYPE.TYPE(CONTAIN | CONTACT | ATTACHMENT | LINK)
                   SOURCETYPE(source_type) TARGETYPE(target_type)

Context

Figure 68. Using the RELTYPE tag when adding relationships

:ACTION.RELATION(ADD)
:RELTYPE.TYPE() SOURCETYPE() TARGETYPE()
:INSTANCE.SOURCEKEY(UUI_short_name()...) TARGETKEY(UUI_short_name()...)

Figure 69. Using the RELTYPE tag when deleting relationships

:ACTION.RELATION(DELETE)
:RELTYPE.TYPE() SOURCETYPE() TARGETYPE()
:INSTANCE.SOURCEKEY(UUI_short_name()...) TARGETKEY(UUI_short_name()...)

Keywords

TYPE
Specifies the type of relationship.

Required keyword.

Valid values are:

ATTACHMENT
Attachment relationship: target object is attached to the source object.

CONTACT
Contact relationship: Source object is associated with the target Contact object.

CONTAIN
Contains relationship: source object contains the target object.

LINK
Link relationship: source object is linked with the target object.

SOURCETYPE
Identifies the source object type.

Required keyword.

source_type
The source object type name source_type corresponds to the type value for the TYPE keyword of the OBJECT tag. The maximum length for source_type is 8 characters. This value is not case sensitive; you can specify this value with uppercase or lowercase characters.

For an Attachment relationship, source_type is a non-Attachment object-type name.

For a Contains relationship, source_type is the container object type name.

For a Contact or link relationship source_type is the Grouping or Elemental object type name.

TARGETYPE
Identifies the target object type.

Required keyword.

target_type
The target object type name. target_type corresponds to the type value for the TYPE keyword on the OBJECT tag. The maximum length for target_type is 8 characters. This value is not case sensitive; you can specify this value with uppercase or lowercase characters.

For an Attachment relationship, target_type is the Attachment object-type name.

For a Contains relationship, target_type is the contained object type name.

For a Contact relationship, target_type is the Contact object-type name.

For a link relationship, target_type is a Grouping or Elemental object type name.


[ Top of Page | Previous Page | Next Page ]