[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents a relationship type definition in the root class type’s relationship hierarchy of the type projection to which the object template may be applied.

Schema Hierarchy

ManagementPack
  Templates
    Templates
      Object (ObjectTemplate)

Syntax

Xml
<Object Path=”RelationshipID” SeedRole=”Source/Target” TypeConstraint=”ClassTypeID”>
   <Property Path=””>…</Property>
   <Object Path=”RelationshipID” SeedRole=”Source/Target” TypeConstraint=”ClassTypeID >…</Object>
</Object>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the Object element.

Attributes

Attribute Description

Path

Required attribute. Represents the property name to which the default value is to be applied.

SeedRole

Required attribute. Defines the direction of the relationship traversal.

TypeConstraint

Optional attribute. Defines the class type to which to constrain the relationship.

Child Elements

Element Description

Property (ObjectTemplate)

Optional element. Represents the property name/value pair for the class type or type projection to which the object template can be applied.

Object (ObjectTemplate)

Optional element. Represents a RelationshipType definition in the seed class type’s relationship hierarchy of the type projection to which the object template can be applied.

Parent Elements

Element Description

Templates

Represents an object template definition in a management pack

Remarks

The SeedRole attribute is not enforced by the current 1.1 Schema. Its presence is, however, enforced by the system.

If the value of SeedRole is “Source”, then the relationship will be traversed from source to target; if “Target”, then the relationship will be traversed from target to source.

See Also

Reference

Templates