2.22 Relation

The Relation element specifies a relation to which a role or inheritance is bound.

The following are the parent elements and attributes of the Relation element.

Parent elements

Inheritance

Role

Attributes

Relation.Name

Relation.RelationEnd

The following is the XML Schema definition of the Relation element.          

 <xsd:complexType name="RelationType">
   <xsd:attribute name="Name" type="NonEmptyString" use="required" />
   <xsd:attribute name="RelationEnd" use="optional">
     <xsd:simpleType>
       <xsd:restriction base="xsd:string">
         <xsd:enumeration value="Source" />
         <xsd:enumeration value="Target" />
       </xsd:restriction>
     </xsd:simpleType>
   </xsd:attribute>
 </xsd:complexType>